.product-sort {
  background-color: rgb(230, 231, 231);
  padding: 15px 0;
}

.product-sort .btn-default {
  border: 2px solid #fff;
  margin-right: 5px;
}

.product-sort .btn-default.btn-active {
  border-color: var(--blue);
}

.page-filter {
  float: left;
  padding-top: 6px;
  margin-right: 18%;
  cursor: pointer;
}

.page-filter.filter-show {
  color: var(--blue);
}

.page-filter img {
  width: 22px;
  margin-right: 10px;
}

.filter-refresh {
    display: inline-block;
    font-size: 15px;
    font-family: 'LINESeedSansTH_Bold';
    float: left;
    padding-top: 6px;
}

.filter-refresh img {
    width: 16px;
    margin-right: 17px;
}

.product-lists {
  display: flex;
  flex-wrap: wrap;
}

.product-card {
  box-shadow: 0px 5px 5px rgba(0,0,0,0.1);
  border-radius: 7px;
  overflow: hidden;
  padding-top: 35px;
  margin-bottom: 20px;
  background-color: #fff;
  width: 23%;
  position: relative;
  margin: 0px 1% 20px;
}

.product-card .tag {
  position: absolute;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  left: 15px;
  top: 10px;
}

.product-card .tag-code {
  position: absolute;
  background-color: var(--blue);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  right: 15px;
  top: 10px;
}

.product-card .detail {
  color: #000;
  padding: 15px 10px 10px;
  background-color: #fff;
  text-align: center;
}

.product-card .detail .title {
  text-align: center;
  font-size: 14px;
  margin-bottom: 6px;
  font-family: 'LINESeedSansTH_Bold';
  color: #000;
}

.product-card .detail .price {
  font-family: 'LINESeedSansTH_Bold';
}

.product-card .detail .down {
  background-color: rgb(255,229,229);
  color: #000;
  padding: 5px;
  border-radius: 50px;
  margin: 9px 0px;
  font-size: 12px;
}

.product-card .detail .down span {
  color: rgb(255, 0, 0);
  text-decoration: underline;
}

.product-card .detail .btn {
  border-radius: 50px;
  width: 100%;
  background-color: var(--blue);
  border: none;
  font-family: 'LINESeedSansTH_Bold';
}

.product-img {
  text-align: center;
}

.product-img img {
  width: auto;
  max-width: 100%;
  max-height: 150px;
}

.product-detail {
  display: table;
  width: 100%;
}

.product-detail-col {
  display: table-cell;
  width: 50%;
}

.product-slider {
  background-color: #fff;
}

.lSSlideOuter .lSPager.lSGallery li {
    border: 1px solid #e7e7e7;
    border-radius: 10px;
}

.product-detail-col {
  text-align: center;
}

.product-detail-col-right {
    background-color: rgb(242,242,242);
    font-size: 16px;
    padding: 20px 0px;
}

.name-list {
  padding: 20px 0px;
}

.name-list .name {
    font-size: 18px;
    font-family: 'LINESeedSansTH_Bold';
    margin-bottom: 15px;
}

.name-list .price {
    color: var(--blue);
    font-family: 'LINESeedSansTH_Bold';
    margin-bottom: 10px;
    font-size: 18px;
}

.name-list .down {
    font-size: 15px;
    color: #000;
    font-family: 'LINESeedSansTH';
    margin-top: 10px;
}

.name-list .down span {
  font-family: 'LINESeedSansTH_Bold';
}

.stock-list {
    padding: 20px;
    border: 1px solid #ccc;
    border-left: 0px;
    border-right: 0px;
    color: var(--blue);
    font-family: 'LINESeedSansTH_Bold';
    background-color: rgb(246,247,247);
}

.price-list {
  text-align: left;
  padding: 20px 10%;
}

.price-list .price {
    float: right;
    margin-top: 7px;
    font-family: 'LINESeedSansTH_Bold';
}

.value-button {
    width: 30px;
    height: 30px;
    font-size: 23px;
    border-radius: 50px;
    border: 1px solid #ccc;
    background-color: rgb(254,254,254);
    vertical-align: middle;
    line-height: 1.2;
}

.quantity-field {
  display: inline-block;
}

.quantity-field input {
    width: 70px;
    text-align: center;
    padding: 5px;
    vertical-align: middle;
    border-radius: 50px;
    border: 1px solid #ccc;
    font-family: 'LINESeedSansTH_Bold';
    color: var(--blue);
}

.button-list .btn {
    padding: 10px;
    width: 180px;
    margin: 0px 10px;
}

.product-description .cod {
    font-family: 'LINESeedSansTH_Bold';
    text-decoration: underline;
    padding: 30px 0px;
    text-align: center;
    font-size: 17px;
}

.product-description {
    padding: 10px 10%;
    text-align: left;
    font-size: 14px;
}

.product-description .title {
    font-size: 18px;
    font-family: 'LINESeedSansTH_Bold';
    margin-bottom: 20px;
}

#how-to-order,
#codition-popup {
  text-align: center;
  display: none;
}

.popup-backdrop {
  background: rgb(0 0 0 / 80%);
}

.popup-content {
  color: #fff;
}

.popup-content .title {
    text-align: left;
    font-size: 16px;
    font-family: 'LINESeedSansTH_Bold';
}

.popup-content .title span {
  font-size: 11px;
}

#how-to-order .btn {
  font-size: 12px;
  font-family: 'LINESeedSansTH';
}

.btn-transfer {
    width: 100%;
    margin: 20px 0px;
}

.btn-social {
    margin: 20px 0px 25px;
}

.btn-facebook {
    background-color: rgb(50, 84, 196);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-line {
    background-color: rgb(0, 220, 71);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-condition {
    width: 100%;
    background-color: rgb(55, 74, 76);
}

.popup hr {
  border-top: 2px solid var(--blue);
}

.close-popup img {
  width: 24px;
}

#codition-popup .popup-detail {
    background-color: #fff;
    padding: 20px;
    color: #000;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
}

#imglens {
  background-color: rgba( 233, 233, 233, 0.4 );
}

#imglens,
#imgresult {
  position: absolute;
  display: none;
  z-index: 1;
}

#imgresult {
  background-color: rgba( 255, 255, 255, 1 );
  box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#image-mobile-popup {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.swiper-hidden {
  display: none;
}

#swiper-imagelightbox {
  transform: translate(0, -30%);
  top: 30%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  color: #000;
  font-size: 25px;
}

#swiper-button-close {
  font-size: 22px;
  position: absolute;
  top: 6px;
  right: 16px;
  cursor: pointer;
  z-index: 1;
}

.swiper-overlay {
  background-color: rgba(255,255,255,0.7);
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
}

@media only screen and (max-width: 1199px) {
  .product-card {
    width: 31.3%;
  }
}

@media only screen and (max-width: 991px) {
  .product-card {
    width: 48%;
  }
}

@media only screen and (max-width: 767px) {
  .product-sort .btn-default {
      width: 30%;
  }

  .filter-refresh {
    display: none;
  }

  #products-page .left-menu {
    display: none;
  }

  #product-detail-page .container {
    padding: 0px;
  }

  .product-detail {
    display: block;
  }

  .product-detail-col {
    display: block;
    width: 100%;
  }

  .name-list {
    padding: 10px 10px;
  }

  .name-list .name {
    font-size: 15px;
    width: 60%;
    text-align: left;
    display: inline-block;
    vertical-align: top;
  }

  .name-list .price {
    width: 38%;
    display: inline-block;
    text-align: right;
  }

  .name-list .down {
    font-size: 11px;
  }

  .quantity-field input {
    padding: 2px 7px;
    box-shadow: none;
  }

  .stock-list {
    padding: 10px;
  }

  .price-list {
      padding: 10px;
  }

  .button-list {
    padding: 20px 0px;
    background-color: #f6f7f7;
    border: 1px solid #ccc;
    border-left: 0px;
    border-right: 0px;
  }

  .button-list .btn {
      padding: 7px 10px;
      width: 45%;
      margin: 0px 2px;
  }

  .product-description {
    padding: 10px;
  }

  .product-description .cod {
    padding: 10px 10px 30px;
  }

  .product-description .title {
    font-size: 16px;
  }

  #imglens,
  #imgresult {
    display: none !important;
  }
}