/* =========================================================
   GamesBay cart, clean custom classic cart
========================================================= */

body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart table.shop_table,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .woocommerce-cart-form:not(.gb-cart-form),
body.woocommerce-cart .woocommerce-notices-wrapper:empty{
  display: none !important;
}

body.woocommerce-cart #primary,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .woocommerce{
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .site-content .col-full{
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.gb-cart-summary__label,
.gb-cart-summary__value {
  font-weight: 700 !important;
}
.gb-cart-page{
  padding: 54px 0 54px;
}

.gb-cart-page.is-loading{
  opacity: .55;
  pointer-events: none;
}

.gb-cart-title{
  margin: 0 0 28px !important;
  font-size: 26px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  color: var(--gb-text, #111827) !important;
}

.gb-cart-form{
  margin: 0 !important;
}

.gb-cart-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
}

.gb-cart-items{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gb-cart-item{
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(17,24,39,.14);
}

.gb-cart-item:last-of-type{
  border-bottom: 1px solid rgba(17,24,39,.14);
}

.gb-cart-item__media{
  width: 132px;
  height: 132px;
  overflow: hidden;
  background: #f4f4f4;
}

.gb-cart-item__image-link{
  display: block;
  width: 100%;
  height: 100%;
}

.gb-cart-item__img,
.gb-cart-item__media img{
  display: block !important;
  width: 132px !important;
  height: 132px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.gb-cart-item__content{
  min-width: 0;
}

.gb-cart-item__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.gb-cart-item__main{
  min-width: 0;
}

.gb-cart-item__name{
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
  color: #121212bf;
}

.gb-cart-item__name a,
.gb-cart-item__name a:visited{
  color: #121212 !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}

.gb-cart-item__price{
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gb-primary, #1cbcff);
}

.gb-cart-item__price .woocommerce-Price-amount,
.gb-cart-item__price .woocommerce-Price-amount bdi{
  color: var(--gb-primary, #1cbcff) !important;
  font-weight: 700 !important;
}

.gb-cart-item__variant{
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(17,24,39,.65);
}

.gb-cart-item__remove{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #121212 !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.gb-cart-item__remove svg{
  width: 18px;
  height: 18px;
  display: block;
}

.gb-cart-item__bottom{
  margin-top: 12px;
}

.gb-cart-qty{
  display: inline-flex;
  align-items: center;
  height: 46px;
  border: 1px solid rgba(17,24,39,.18);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.gb-cart-qty .quantity{
  margin: 0 !important;
}

.gb-cart-qty__btn{
  width: 42px !important;
  height: 46px !important;
  min-width: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(17,24,39,.70) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gb-cart-qty__btn:hover{
  background: rgba(17,24,39,.04) !important;
  color: #111827 !important;
}

.gb-cart-qty input.qty,
.gb-cart-qty__input{
  width: 52px !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 0 !important;
  border-left: 1px solid rgba(17,24,39,.12) !important;
  border-right: 1px solid rgba(17,24,39,.12) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

.gb-cart-qty input.qty::-webkit-outer-spin-button,
.gb-cart-qty input.qty::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.gb-cart-update{
  display: none !important;
}

.gb-cart-summary{
  padding: 0;
  background: transparent;
}

.gb-cart-summary::before{
  content: "";
  display: block;
  height: 1px;
  background: rgba(17,24,39,.14);
  margin-bottom: 34px;
}

.gb-cart-summary__line{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(17,24,39,.14);
}

.gb-cart-summary__label{
  font-size: 22px;
  line-height: 1.2;
  color: #111827;
  font-weight: 400;
}

.gb-cart-summary__value{
  font-size: 22px;
  line-height: 1.2;
  color: #111827;
  font-weight: 700;
  white-space: nowrap;
}

.gb-cart-summary__value .woocommerce-Price-amount,
.gb-cart-summary__value .woocommerce-Price-amount bdi{
  color: #c3aed6 !important;
  font-weight: 700 !important;
}

.gb-cart-summary__note{
  margin: 14px 0 22px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(17,24,39,.62);
}

.gb-cart-summary__checkout{
  margin-top: 0;
}

.gb-cart-checkout,
.gb-cart-checkout:visited,
.gb-cart-checkout:hover,
.gb-cart-checkout:active{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: #c3aed6 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.gb-cart-checkout:hover{
  background: #ab8ec5 !important;
}

/* Empty cart */
.gb-cart-page--empty{
  padding: 70px 0;
}

.gb-empty-cart{
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.gb-empty-cart__title{
  margin: 0 0 12px !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.gb-empty-cart__text{
  margin: 0 0 24px;
  color: rgba(17,24,39,.68);
  font-size: 15px;
}

.gb-empty-cart__btn{
  min-width: 260px !important;
}

/* Mobile */
@media (max-width: 989px){
  .gb-cart-page{
    padding: 32px 0 44px;
  }

  .gb-cart-title{
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }

  .gb-cart-layout{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gb-cart-summary::before{
    margin-bottom: 24px;
  }
}

@media (max-width: 640px){
  .gb-cart-item{
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .gb-cart-item__media{
    width: 92px;
    height: 92px;
  }

  .gb-cart-item__img,
  .gb-cart-item__media img{
    width: 92px !important;
    height: 92px !important;
  }

  .gb-cart-item__name{
    font-size: 14px;
  }

  .gb-cart-item__price{
    font-size: 14px;
  }

  .gb-cart-item__variant{
    font-size: 12px;
  }

  .gb-cart-qty{
    height: 42px;
  }

  .gb-cart-qty__btn{
    width: 38px !important;
    height: 42px !important;
    min-width: 38px !important;
  }

  .gb-cart-qty input.qty,
  .gb-cart-qty__input{
    width: 46px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  .gb-cart-summary__label,
  .gb-cart-summary__value{
    font-size: 20px;
  }
}

/* Applied coupon line inside custom cart summary */
.gb-cart-coupons{
  display: grid;
  gap: 6px;
}

.gb-cart-coupon{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(17,24,39,.70);
}

.gb-cart-coupon__label{
  color: rgba(17,24,39,.70);
}

.gb-cart-coupon__code{
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
}

.gb-cart-coupon__amount,
.gb-cart-coupon__amount .woocommerce-Price-amount,
.gb-cart-coupon__amount .woocommerce-Price-amount bdi{
  color: #111827 !important;
  font-weight: 700 !important;
}

.gb-cart-coupon__remove,
.gb-cart-coupon__remove:visited{
  color: #111827 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

/* =========================================================
   Cart page: remove Storefront default page header
   ========================================================= */
.gb-empty-cart-recs .attachment-woocommerce_thumbnail{
    margin: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05) !important;
    
}
body.woocommerce-cart .entry-header,
body.woocommerce-cart header.entry-header,
body.woocommerce-cart .page-header{
  display: none !important;
}

body.woocommerce-cart .entry-content{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.woocommerce-cart #primary,
body.woocommerce-cart #main,
body.woocommerce-cart .site-main{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.gb-empty-cart-recs {
  margin: 52px auto 0 !important;
  padding: 0 20px !important;
}

.gb-empty-cart-recs__inner {
  max-width: 1180px !important;
  margin: 0 auto !important;
}

.gb-empty-cart-recs__title {
  margin: 0 0 22px !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: var(--gb-text, #121212) !important;
}

.gb-empty-cart-recs ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gb-empty-cart-recs ul.products::before,
.gb-empty-cart-recs ul.products::after {
  display: none !important;
}

.gb-empty-cart-recs ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 989px) {
  .gb-empty-cart-recs {
    margin-top: 38px !important;
    padding: 0 !important;
  }

  .gb-empty-cart-recs__title {
    font-size: 24px !important;
    margin-bottom: 18px !important;
  }

  .gb-empty-cart-recs ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }
}