.payBar .form-inline{
  margin:0;
  border-left:1px solid #eee;
  border-right:1px solid #eee;
}
.payBar .thePrice{
  margin:0;
}
.payBar{
  display:flex;
  border-top:1px solid #eee;
  padding: 0;
  border-radius: 0;
  flex-flow: row wrap;
  justify-content: space-around;
  margin-bottom: 0;
  background: #fff;
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 92px;
  transform: translateY(0);
}

#buynow{
  padding: 0;
}
#buynow .btn{
  width: 100%;
  height: 36px;
  font-size: 14px;
}
.product-price{
  margin: 0;
  line-height: 34px;
  font-size: 14px;
}
.payBar .form-inline .form-control{
  display: inline-block;
  border: none;
  background-color: transparent;
  box-shadow: none;
  width: auto;
}
.product{
  display: flex;
  flex-flow: row wrap;
}
.product-image,.product-description{
  padding: 0;
}
.product-store{
  width: fit-content;
  border-bottom: 1px solid #000;
  margin-bottom: 2rem;
}
.product-description{
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
}
.product-image{
  border-bottom:1px solid #eee;
  min-height: 50vh;
}
.product-text{
  padding: 2rem;
  padding-bottom: calc(75px + 2rem);
  display: flex;
  flex-flow: column nowrap;
}
.paybox{
  position: relative;
}
.product-stock{
  padding: 1rem;
  position: absolute;
  top: -106px;
  right: 15px;
}
#BtnBuy a{
  background-color: #000;
  color: #fff;
}
#BtnBuy a:hover{
  background-color: #fff;
  color: #000;
}
#BtnBuy.no-available a{
  background-color: #000;
  color: #fff;
  cursor: default;
}
#BtnBuy.no-available a:hover{
  background-color: #000;
  color: #fff !important;
}
#BtnBuy .add-remove-product{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
#BtnBuy .add-remove-product a{
  width: 49%;
}
.bought-product{
  font-size: 2rem;
  margin-bottom: 0;
  transform: translateY(-30px);
}
.product .jp-volume-bar{
  width: calc(85% - 20px);
}
.product .jp-volume-max{
  left: calc(85% - 15px);
}
.product ul li{
  font-size: 16px;
}
.product .extra-info{
  font-size: 14px;
}
@media (min-width: 647px){
  .payBar{
    bottom: 75px;
  }
}
@media (min-width: 768px){
  /* fix the height at 100vh minus header and footer height*/
  .payBar label{
    margin-bottom: 0;
    vertical-align: middle;
  }
  .product-image{
    border-right:1px solid #eee;
    height: calc(100vh - 99px);
  }
  .product{
    height: calc(100vh - 99px);
    overflow: hidden;
  }
  .product-text{
    overflow-y: auto;
    height: calc(100vh - 99px - 37px);
    padding: 2rem 10%;
  }
  .product-stock{
    top: -36px;
  }
  .payBar{
    position: relative;
    left: 0;
    bottom: 0;
    transform: translateY(-35px);
  }
}
@media (min-width: 992px){
  .product-image{
    height: calc(100vh - 102px);
  }
  .product{
    height: calc(100vh - 102px);
  }
  .product-text{
    height: calc(100vh - 102px - 37px);
  }
  .paybox{
    height: 36px;
  }
  .payBar{
    transform: translateY(0);
  }
}
@media (min-width: 1298px){
  .product-image{
    height: calc(100vh - 85px);
  }
  .product{
    height: calc(100vh - 85px);
  }
  .product-text{
    height: calc(100vh - 85px - 37px);
  }
}

