body {
  font-weight: 300;
  line-height: 1.2;
}
.v-h{
  height: 3.2em;overflow: hidden;margin-bottom:4px;
}
.card .card-body {
  /* font-family: "Sarabun", Helvetica, Arial, sans-serif !important; */
  padding: 1.5rem;
}
.bg-gradient-primary {
    background-image: linear-gradient(195deg, #ffe242 0%, rgb(255 198 66) 100%) !important;
}
.bg-facebook {
    background-image: linear-gradient(195deg, #0866ff 0%, #0866ff 100%) !important;
}
.shadow-primary {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px #cdcdcd !important;
}

.cd__main{
   position: relative;
   width: 360px !important;
   height: 720px;
   border: 2px solid #bbb;
}
/* end demo only */
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  bottom: -1px;
  right: 0;
  z-index: 1000;
  will-change: transform;
  transform: translateZ(0);
  display: flex;
  height: 55px;
  box-shadow: 0 -1px 2px -2px #333;
  background-color: #ffffff;
}
.mobile-bottom-nav__item {
  flex-grow: 1;
  text-align: center;
  /* font-size: 12px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mobile-bottom-nav__item--active {
  color: #005eb7;
}
.mobile-bottom-nav__item-content {
  display: flex;
  flex-direction: column;
  font-size: 8pt !important;
}
.bag{
  position: absolute;
    width: 18px;
    height: 19px;
    margin: 50px 0px 70px 30px;
    border-radius: 100px;
    font-size: 9pt;
}
/*product_detail*/
.product-detail {
      max-width: 600px;
      margin: auto;
    }

    .product-image {
      max-width: 100%;
      height: auto;
    }

    .center-content {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

/**/
.card-img {
  margin: 0px 60px 0px 95px;
}

/**/
.button-center {
  margin: 0px 35px 0px 65px;
}
.bt1 {
  color: #f9cf09 !important;
  border: #f9cf09 solid 0.5px !important;
}

.bt1:hover {
  color: rgb(236, 236, 236) !important;
  background-color:rgb(187, 6, 6) !important;
}
.bt2{
  background-color: #f9cf09 !important;
}

/*รีวิว*/
.rate {
  
  float: left;
  height: 46px;
  padding: 10 10px;
}
.rate:not(:checked) > input {
  position: relative;
  top:-9999px;
}
.rate:not(:checked) > label {
  float:right;
  width:1em;
  overflow:hidden;
  white-space:nowrap;
  cursor:pointer;
  font-size:30px;
  color:#ccc;
}
.rate:not(:checked) > label:before {
  content: '★ ';
}
.rate > input:checked ~ label {
  color: #f9cf09;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #f9cf09;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #f9cf09;
}
.bg-yellow{
  background: #f3d528;
}
/* Modified from: https://github.com/mukulkant/Star-rating-using-pure-css */

.form-control {
  border: 1px solid #d2d6da !important;
  border-radius: 0.375rem !important;
}
.input-group-text {
  padding: 0.5rem !important;
}

.payment-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.payment-item img {
  width: 100px;
  height: 110px;
  margin-right: 20px;
}

.payment-item-details {
  flex-grow: 1;
}

.price {
  display: flex;
  justify-content: flex-end;
}
.form-control {
  padding: 0.5rem !important;
}
.form-check:not(.form-switch) .form-check-input[type="radio"]:after {
  background-image: linear-gradient(195deg, #f9cf09 0%, #fbe200 100%), var(--bs-gradient) !important;
}
.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked, .form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
  border-color: #eb5300 !important;
}
.dis{
  position: absolute;
    background: #d01818;
    height: 50px;
    color: #ffff;
    width: 45px;
    padding: 4px;
    border-radius: 0px 0px 15px 15px;
    right: 0px;
    text-align: center;
    font-size: 9pt;
    border-bottom: 5px solid transparent;
}
.text-right{
  text-align: right;
}