body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  color: black;
  font-family: "Kanit", sans-serif;
}
b,
strong {
  font-weight: 600;
}
a {
  color: #000;
  text-decoration: none;
}
a:focus,
a:hover {
  color: #edc006;
}
table.tborder {
    padding: 0;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    border-collapse: collapse;
    border-spacing: 0;
    /* border: 2px solid #c6c6c6; */
    /* border-radius: 10px; */
}
table.tborder td {
    border: 1px solid #c6c6c6;
    padding: 0.5rem;
}

table.tborder tr:nth-child(even) {
  background-color: #f2f2f2; /* สีเทาอ่อน */
}
.card-body {
  padding: 3%;
}
.card {
  margin: 5% 0 0 0;
  border-radius: 10px;
}

.promotion-all .card .card-img-top {
  height: 10rem;
  object-fit: cover;
  object-position: top;
}
.promotion-all .card .card-body {
  height: 4.5vw;
}
.promotion-all .card .card-body .title h2,
.promotion-all .card .card-body .title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  padding: 0;
  font-size: 1.05vw;
  font-weight: 400;
  text-decoration: none;
  color: black;
  text-align: start;
}

.video-all .card .card-img-top,
.newsact-all .card .card-img-top,
.knowledge-all .card .card-img-top,
.portfolio-all .card .card-img-top {
  min-height: 9vw;
  object-fit: cover;
  object-position: center;
}
.video-all .card .card-body,
.newsact-all .card .card-body,
.knowledge-all .card .card-body,
.portfolio-all .card .card-body {
  height: 4.5vw;
}
.video-all .card .card-body .title,
.newsact-all .card .card-body .title,
.knowledge-all .card .card-body .title,
.portfolio-all .card .card-body .title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  padding: 0;
  font-size: 1.05vw;
  font-weight: 400;
  text-decoration: none;
  color: black;
  text-align: start;
}

.BG-grey {
  background-color: #1c1c1c;
}
.BG-white {
  background-color: #ffffff;
}
.BG-port {
  background-color: black;
}
.slide-banner {
  padding-top: 5%;
  position: relative;
}
.banner-prev {
  position: absolute;
  top: 50%;
  left: 2%;
}
.banner-next {
  position: absolute;
  top: 50%;
  right: 2%;
}
.banner-prev i,
.banner-next i {
  color: rgb(255, 255, 255);
  font-size: 1.57vw;
}
.owl-theme.slide-banner .owl-dots {
  position: absolute;
  bottom: 6%;
  width: 100%;
}
.home-intro {
  padding: 0 0 4% 0;
}
.home-intro .title {
  font-size: 2.45vw;
  font-weight: 600;
  color: #edc006;
  text-align: center;
  padding: 0 0 2% 0;
}
.home-intro .subtitle {
  font-size: 1.57vw;
  font-weight: 400;
  color: #353535;
  text-align: center;
}
.home-intro .subtitle span {
  font-size: 1.83vw;
  font-weight: 500;
  color: #353535;
}

.BG-deal {
  background: linear-gradient(
    to bottom,
    rgb(0, 0, 0) 0%,
    rgb(0, 0, 0) 55%,
    rgb(0, 0, 0) 57%,
    rgb(255, 255, 255) 57%,
    rgb(255, 255, 255) 57%,
    rgb(255, 255, 255) 100%
  );
  padding: 3% 0 0 0;
}
.home-deal .heading,
.home-port .heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 0 3% 0;
}
.home-deal .heading .title,
.home-port .heading .title {
  font-size: 2.45vw;
  font-weight: 400;
  color: white;
}
.home-deal .heading .title span {
  font-size: 1.57vw;
  font-weight: 400;
  color: white;
  padding: 0 0 0 0vw;
}
.home-port .heading .title span {
  font-size: 1.57vw;
  font-weight: 400;
  color: white;
  padding: 0 0 0 1vw;
}
.viewall {
  display: flex;
}
.viewall a {
  text-decoration: none;
  font-size: 0.84vw;
  font-weight: 300;
  color: white;
}
.viewall span {
  font-size: 0.94vw;
  color: white;
}
.viewall a:hover,
.viewall a:hover span {
  color: #edc006;
  transform: translateX(10px);
  transition: 0.3s ease-in-out;
}
.owl-theme.slide-deal .owl-item img {
  border-radius: 12px;
}
.owl-theme.slide-deal .owl-dots .owl-dot.active span {
  background: #404040;
  width: 4.48vw;
  height: 6px;
}
.owl-theme.slide-deal .owl-dots .owl-dot span {
  background: #d9d9d9;
  width: 4.48vw;
  height: 6px;
}
.deal-prev i,
.deal-next i {
  color: #5d5d5d;
  font-size: 1.45vw;
}
.deal-prev {
  position: absolute;
  top: 35%;
  left: -2%;
  background-color: #f5f5f5;
  width: 1vw;
  height: 1vw;
  padding: 1.5%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deal-next {
  position: absolute;
  top: 35%;
  right: -2%;
  background-color: #f5f5f5;
  width: 1vw;
  height: 1vw;
  padding: 1.5%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product .title,
.home-brand .title {
  font-size: 2.45vw;
  font-weight: 500;
  text-align: center;
  padding: 3% 0;
}
.home-product .img {
  position: relative;
}
.home-product .img:hover {
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
}
.home-product .img img {
  width: 100%;
  border-radius: 8px;
}
.home-product .img .text {
  font-size: 1.57vw;
  font-weight: 300;
  color: white;
  position: absolute;
  bottom: 2%;
  left: 5%;
}
.gradient-black {
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 83%,
    rgba(0, 0, 0, 0.8183648459383753) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 83%,
    rgba(0, 0, 0, 0.8183648459383753) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 83%,
    rgba(0, 0, 0, 0.8183648459383753) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#000000",GradientType=1);
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 8px;
}
.BG-port {
  background-color: black;
  padding: 3% 0;
}
.home-port .port1 {
  /* background-color: yellow; */
  width: 100%;
  height: 100%;
}
.home-port img {
  width: 100%;
}
.home-port .title-port {
  color: #edc006;
  font-size: 1.38vw;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}
.home-port .detail-port {
  color: #ffffff;
  font-size: 0.84vw;
  font-weight: 300;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
}
.port-box a {
  text-decoration: none;
}
.port-box:hover {
  transform: translateX(20px);
  transition: 0.3s ease-in-out;
}
.home-brand .subtitle {
  font-size: 1.57vw;
  color: #404040;
  text-align: center;
  padding: 0 0 4% 0;
}
.brand {
  margin: 5% 0;
  text-align: center;
}
.brand img {
  width: 12vw;
}
.home-minibanner {
  padding: 4% 0 0 0;
}
.brand-padding {
  padding: 0 9%;
}

/* PRIVACY POLICY */
.privacy-policy .content {
  font-size: 1vw;
}
.privacy-policy .content .title {
  font-size: 1.25vw;
  font-weight: 500;
}
.privacy-policy .content .bold {
  font-weight: 500;
}
.privacy-policy {
  padding: 7% 0 3% 0;
}

.pagination {
  justify-content: center;
  padding: 3% 0 0 0;
}
.page-link {
  width: 3vw;
  height: 3vw;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.page-item {
  margin: 0 4px;
}
.pagination a,
.pagination i {
  text-decoration: none;
  color: #7d7d7d;
  font-size: 0.94vw;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 3px;
}
.page-item:hover a {
  color: #7d7d7d;
}
.page-item.actives a {
  background-color: rgba(0, 0, 0, 0.08) !important;
}

.banner-list .title {
  font-size: 2.45vw;

  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16% 0 8% 0;
  line-height: 160%;
}
.banner-list .title span {
  font-size: 1.57vw;
  color: white;
}
.search {
  padding: 7% 0 2% 0;
}
.search .box {
  border-bottom: 1px #cfcfcf solid;
  padding: 1rem 0;
}

.search .img img {
  width: 100%;
}
.search .title {
  font-size: 1.05vw;
  font-weight: 500;
}
.search .link {
  color: #edc006;
  font-size: 0.94vw;
}
.search .detail {
  color: #5d5d5d;
  font-size: 0.84vw;
  font-weight: 300;
}

@media (max-width: 991px) {
  .show-pc {
    display: none;
  }
  .show-mobile {
    display: block;
  }
  .banner-list .title {
    font-size: 36px;
    padding: 85px 0 30px 0;
  }
  .banner-list .title span {
    font-size: 30px;
  }
  .video-all .card .card-body,
  .promotion-all .card .card-body,
  .newsact-all .card .card-body,
  .knowledge-all .card .card-body,
  .portfolio-all .card .card-body {
    height: fit-content;
  }
  .video-all .card .card-body .title,
  .promotion-all .card .card-body .title,
  .newsact-all .card .card-body .title,
  .knowledge-all .card .card-body .title,
  .portfolio-all .card .card-body .title {
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    padding: 0;
  }
  .slide-banner {
    padding-top: 56px;
  }
  .banner-prev i,
  .banner-next i {
    font-size: 30px;
  }
  .owl-theme.slide-banner .owl-nav {
    margin: 0;
  }
  .owl-theme.slide-banner .owl-dots {
    bottom: 10%;
  }
  .home-intro .title {
    font-size: 30px;
  }
  .home-intro .subtitle {
    font-size: 16px;
    font-weight: 300;
    padding: 0 1% 5% 1%;
  }
  .home-intro .subtitle .Lbold {
    font-size: 18px;
    font-weight: 500;
  }
  .home-intro .subtitle .Sbold {
    font-size: 18px;
    font-weight: 500;
  }
  .home-deal .heading .title,
  .home-port .heading .title {
    font-size: 26px;
    padding: 0;
    font-weight: 500;
  }
  .home-deal .heading .title span,
  .home-port .heading .title span {
    font-size: 18px;
    font-weight: 300;
  }
  .owl-theme.slide-deal .owl-nav.disabled + .owl-dots {
    margin: 0;
  }
  .owl-theme.slide-deal .owl-dots .owl-dot.active span,
  .owl-theme.slide-deal .owl-dots .owl-dot span {
    height: 3px;
  }
  .home-deal .mb-deal img {
    width: 100%;
    border-radius: 12px;
  }
  .home-product {
    padding: 0 0 9% 0;
  }
  .home-product .title,
  .home-brand .title {
    font-size: 26px;
    font-weight: 500;
    padding: 9% 0 4% 0;
  }
  .home-product .img .text {
    font-size: 16px;
    bottom: 2%;
    left: 0;
    text-align: center;
    width: 100%;
  }
  .home-port .port1 {
    background-color: yellow;
    width: 100%;
    height: 42vw;
  }
  .home-port .title-port {
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    height: 14vw;
    padding: 3% 0 0 0;
  }
  .home-port img {
    border-radius: 6px;
  }
  .home-brand .subtitle span {
    font-size: 20px;
    padding: 0 0 7% 0;
  }
  .home-brand .subtitle {
    font-size: 18px;
    padding: 0 0 7% 0;
  }
  .home-brand .subtitle span {
    font-size: 20px;
  }
  .owl-theme.slide-mb-brand .item img {
    margin: 5% 0;
  }
  .search {
    padding: 75px 0 30px 0;
  }
  .search .title,
  .search .link {
    font-size: 18px;
  }
  .search .detail {
    font-size: 16px;
  }
}
