/* ----------------------- BODY ---------------------- */

body {
  background-color: white;
  margin: 0;
  border: 0;
  font-family: "Noto Sans Thai", sans-serif;
  /*   font-size: 1.15vw; */
  font-size: 20px;
  color: black;
  font-weight: 400;
}
img {
  width: auto;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: unset;
}
dl,
ol,
ul {
  list-style-position: outside;
  padding-left: 1rem;
}
a:hover,
button:hover {
  transition: 0.3s ease-in-out;
}
strong {
  font-weight: 500;
}
.form-check-input:focus {
  box-shadow: none;
}
.form-control::placeholder {
  font-size: 16px;
  font-weight: 300;
}
.form-check-input:checked {
  background-color: #f3c527;
  border-color: #f3c527;
}

input,
select,
.form-control {
  border-radius: 0;
  border: 1px #d6d6d6 solid;
  height: 40px;
  padding: 0 0.5rem;
}

select {
  appearance: none; /* ปิดไอคอนของ browser */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white;
  border: 1px solid #ccc;
  width: 100%;
}

.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  font-family: FontAwesome;
  content: "\f107";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
  font-size: #c9c8c7;
}
textarea,
option,
.form-select {
  border-radius: 0;
  border: 1px #d6d6d6 solid;
}

input[type="radio"],
input[type="checkbox"],
.form-check-input[type="checkbox"] {
  border: 1px #d6d6d6 solid;
  width: 25px;
  height: 25px;
  border-radius: 0;
  margin-right: 0.5rem;
  margin-top: 0;
}
.goverlay {
  background: rgb(0 0 0 / 60%) !important;
}
/* ----------------------- COLOR & TEXT---------------------- */
.gray {
  color: #5d5d5d;
}
.darygray {
  color: #5d5d5d;
}
.red {
  color: #eb0028;
}
.BG-lightred {
  background-color: #e13131;
}
.BG-white {
  background-color: white;
}
.BG-teal {
  background-color: #21b3a0;
}
.BG-purple {
  background-color: #2e368f;
}
.BG-hotpink {
  background-color: #e93b71;
}
.BG-lightgray {
  background-color: #f6f6f6;
}
.BG-lightgreen {
  background-color: #e4e4e4;
}
.text-title {
  font-size: 30px;
  font-weight: 500;
}
.text-subtitle {
  font-size: 1.25vw;
  font-weight: 400;
}
.text-caption {
  font-size: 0.95vw;
}
.text-small {
  font-size: 0.73vw;
}
.text-bold {
  font-weight: 400;
}

/* ----------------------- BUTTON ---------------------- */
.btn {
  font-size: 20px;
  font-family: "Mitr", sans-serif;
  width: 220px;
  height: 55px;
  border-radius: 50px;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:hover {
  transition: 0.3s ease-in-out;
}
.btn.btn-buy {
  background-color: #eb0028;
  border: 1px #ffffff00 solid;
}
.btn.btn-buy:hover {
  border: 1px #eb0028 solid;
  background-color: unset;
  color: #eb0028;
}
.btn.btn-out {
  background-color: #000000;
  border: 1px #ffffff00 solid;
}

.btn.btn-register {
  background-color: #ffc603;
  border: 1px #ffffff00 solid;
}
.btn.btn-register:hover {
  border: 1px #ffc603 solid;
  background-color: white;
  color: #ffc603;
}
.btn.btn-viewmore {
  background-color: #eb0028;
  border: 1px #ffffff00 solid;
  margin-top: 1rem;
}
.btn.btn-viewmore:hover {
  border: 1px #eb0028 solid;
  background-color: unset;
  color: #eb0028;
}
.btn.btn-inform {
  background-color: #eb0028;
  border: 1px #ffffff00 solid;
}
.btn.btn-inform:hover {
  border: 1px #eb0028 solid;
  background-color: unset;
  color: #eb0028;
}
.btn.btn-login-submit {
  background-color: #eb0028;
  border: 1px #ffffff00 solid;
}

.btn.btn-login-submit:hover,
.btn.cart-btn:hover {
  border: 1px #eb0028 solid;
  background-color: unset;
  color: #eb0028;
}
.btn.btn-social {
  background-color: white;
  border: 1px #d9d9d9 solid;
  color: black;
}
.btn.btn-social:hover {
  border-color: #d2e3fc;
  background-color: #f8faff;
}
.btn.btn-border {
  background-color: white;
  border: 1px #eb0028 solid;
  color: #eb0028;
}
.btn.btn-border:hover {
  background-color: #eb0028;
  border: 1px #eb0028 solid;
  color: white;
}
.btn.cart-btn {
  width: 100%;
  margin: 0;
  background-color: #eb0028;
}
/* ----------------------- ALL PADDING ---------------------- */
.center {
  text-align: center;
}
.top50 {
  padding: 50px;
}
section {
  padding: 50px 0;
}

/* ----------------------- SCROLL BAR ---------------------- */
/* ::-webkit-scrollbar {
  width: 15px;
  padding: 1rem;
} */
::-webkit-scrollbar-track {
  background: #f6f6f6;
}
::-webkit-scrollbar-thumb {
  background: #a0a0a0;
}
::-webkit-scrollbar-thumb:hover {
  background: #858585;
}

/* ----------------------- PDPA  ---------------------- */
.PDPA .PDPA-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 3rem;
  background: rgba(0, 0, 0, 0.836);
  color: #ffffff;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  gap: 1rem;
  opacity: 1;
  visibility: visible;
  text-align: center;
  width: 100%;
}
.PDPA .PDPA-container.hide {
  opacity: 0;
  visibility: hidden;
}

.PDPA .PDPA-container a:hover {
  transition: 0.3s ease-in-out;
}
.PDPA .PDPA-container .PDPA-text {
  font-size: 15px;
  color: white;
  margin-top: 1rem;
}
.PDPA .PDPA-container .PDPA-text a {
  font-size: 15px;
  color: #ffffff;
  text-decoration: underline;
  font-weight: 500;
}
.PDPA .PDPA-container .agree {
  text-align: center;
}
.PDPA .agree button {
  background: #eb0028;
  color: rgb(255, 255, 255);
  border: 1px #eb0028 solid;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  border-radius: 20px;
  font-size: 1rem;
  font-size: 15px;
}
.PDPA .agree button:hover {
  background: #f3c32700;
  transition: 0.3s ease-in-out;
  color: #ffffff;
  border: 1px #ffffff solid;
}

/* ----------------------- HOME POP-UP ---------------------- */
.popup {
  padding: 0;
}
.popup .popup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  position: fixed;
  z-index: 1020;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.popup .popup-container.hide {
  display: none;
}
.popup .popup-container a:hover {
  transition: 0.3s ease-in-out;
}
.popup .popup-container .pad {
  width: 700px;
}
.popup .slide-popup .item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup .slide-popup .item img {
  width: auto;
  border-radius: 9px 9px 0 0;
}
.popup .slide-popup .item .close-btn {
  position: absolute;
  top: 0.75rem;
  right: 4rem;
  cursor: pointer;
}
.popup .slide-popup .item .close-btn i {
  font-size: 1.25vw;
  color: black;
}
.popup .slide-popup .item .tab {
  display: flex;
  border-radius: 0 0 9px 9px;
  align-items: center;
}
.popup .slide-popup .item .tab .box {
  width: 100%;
  text-align: center;
  cursor: pointer;

  padding: 0.75rem 0;
  border-radius: 0 0 9px 0;
}
.popup .slide-popup .item .tab .box.left {
  border-right: 1px #d9d9d9 solid;
  border-radius: 0 0 0 9px;
}
.popup .slide-popup .item .tab .box.one-btn {
  border-radius: 0 0 9px 9px;
}
.popup .slide-popup .item .tab .box a {
  color: white !important;
}

.slide-popup .owl-dots .owl-dot.active span,
.slide-popup .owl-dots .owl-dot:hover span {
  background: #00b050;
}
.slide-popup .owl-dots .owl-dot span {
  background: white;
}
.slide-popup .owl-nav button.owl-next {
  position: absolute;
  top: 3rem;
  right: 8%;
  width: 50px;
  height: 70%;
}
.slide-popup .owl-nav button.owl-prev {
  position: absolute;
  top: 3rem;
  left: 8%;
  width: 50px;
  height: 70%;
}
.slide-popup .owl-nav button.owl-next i,
.slide-popup .owl-nav button.owl-prev i {
  font-size: 1.05vw;
  color: black;
}

/* ----------------------- BREADCRUMB ---------------------- */
.breadcrumb {
  margin: 0;
}
.breadcrumb .menu-link {
  font-size: 16px;
  padding: 1rem 0;
  width: 100%;
}
.breadcrumb .menu-link a,
.breadcrumb .menu-link .detail {
  font-size: 18px;
  color: black;
  text-decoration: none;
  padding: 0 0.5%;
}
.breadcrumb .menu-link i:hover,
.breadcrumb .menu-link a:hover,
.breadcrumb .menu-link .detail:hover {
  transition: 0.3s ease;
  color: #eb0028;
}

/* ----------------------- PRIVACY POLICY MODALS ---------------------- */
.privacy-policy label {
  font-size: 0.73vw;
  font-weight: 200;
  cursor: pointer;
}
.privacy-policy label span {
  font-size: 0.73vw;
  font-weight: 200;
  text-decoration: underline;
  color: #f3c527;
}
.privacy-policy .modal-title {
  font-size: 0.95vw;
  font-weight: 400;
}
.privacy-policy .modal-dialog {
  max-width: 800px;
}
.privacy-policy .modal-dialog-scrollable .modal-content {
  max-height: 90%;
  padding: 0;
}
.privacy-policy .modal-header,
.privacy-policy .modal-footer {
  display: flex;
  justify-content: center;
}
.privacy-policy .modal-footer .btn {
  margin: 0;
}

/* ----------------------- PAGINATION ---------------------- */
.pagination {
  justify-content: center;
  margin: 1rem 0;
}
.pagebox span {
  width: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.2rem;
}

.pagination .page-item {
  text-align: center;
  margin: 0 1%;
}
.page-link {
  color: black;
}
.pagination .page-item .page-link {
  width: 40px;
  height: 40px;
  font-size: 0.95vw;
  border-radius: 50px;
  display: grid;
  place-items: center;
  border: none;
  color: #eb0028;
}
.page-item.active .page-link {
  background-color: #eb0028;
  border-color: #eb0028;
  color: white;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 50px;
  border: 1px #eb0028 solid;
}
.page-item.disabled .page-link {
  color: #eb0028;
}
/* ---------------TEXT BUTTON VIDEO IN BANNER---------------- */
.banner-lg,
.banner-sm {
  padding: 0;
}
.banner-sm {
  position: relative;
  padding: 0;
}
.banner-sm .textbox .inner {
  display: flex;
  width: 1300px;
  max-width: 100%;
  padding: 0 1rem;
}
.banner-sm .buttonbox .inner {
  width: 1300px;
  max-width: 100%;
  padding: 0 1rem;
}

.banner-sm .textbox {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 50%;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  height: 5rem;
}
.banner-sm .textbox .inner .box {
  width: 33.33%;
  height: 30px;
}

.banner-sm .buttonbox {
  width: 100%;
  position: absolute;
  bottom: 25%;
  left: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  height: fit-content;
}

.banner-sm .buttonbox .inner .button {
  display: flex;
  justify-content: center;
  width: 100%;
}
.banner-sm .buttonbox .inner .button button {
  border-radius: 50px;
  border: none;
  padding: 0.5rem 2rem;
  align-items: center;
  box-shadow: 1px 1px 5px #00000070;
}
.banner-sm .buttonbox .inner .button button:hover {
  transform: scale(1.08);
  transition: 0.3s ease-in-out;
}

/* -----------------------BANNER---------------------- */
.home-banner {
  padding: 0 0 30px 0;
}
.home-banner-3 {
  padding: 1.5rem 0;
}
.home-banner-3 img {
  border-radius: 13px;
}
.home-banner-3 .right {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.home-banner-3 .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-banner-3 .box img {
  width: 48%;
}
.home-banner-3 .layout-3-4 img {
  width: 100%;
}
.slide-home {
  z-index: auto;
}

/* -----------------------INDEX---------------------- */
/* .home-title {
  font-size: 34px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3%;
  position: relative;
  display: flex;
  align-items: center;
}
.home-title .title {
  width: fit-content;
  font-size: 36px;
  font-weight: 600;
  margin-right: 0.25rem;
}
.home-title .subtitle {
  font-size: 30px;
  font-weight: 300;
  padding: 0 1%;
}
.home-title .subtitle .text {
  fon t-size: 30px;
}*/
.home-title {
  text-align: center;
}
.title {
  font-family: "Mitr", sans-serif;
  line-height: 1.25;
}
.home-title h2 {
  font-size: 56px;
  font-weight: 500;
  color: #eb0028;
  margin: 0;
  font-family: "Mitr", sans-serif;
}
.home-title h3 {
  font-size: 36px;
  font-weight: 500;
  color: #eb0028;
  margin: 0;
  font-family: "Mitr", sans-serif;
}
.home-viewall {
  border-radius: 0;
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 120px;
  border-radius: 50px;

  font-weight: 300;
}
.home-viewall a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-viewall a {
  font-size: 16px;
  color: #585858;
}
.home-viewall i {
  font-size: 16px;
  color: #eb0028;
}
.home-viewall:hover {
  background: #e9e9e9;
  transition: 0.3s ease-in-out;
}
.home-viewall:hover i,
.home-viewall:hover a {
  color: rgb(0, 0, 0);
  transition: 0.3s ease-in-out;
}

/* -----------------------SHOP BY (include_home_lifestyle.php)---------------------- */
.home-lifestyle .slide-homeshop .owl-item.active.center .homeshop-list {
  transform: scale(1.3);
}
.home-lifestyle .slide-homeshop .item a {
  color: black;
}
.home-lifestyle .slide-homeshop .item .homeshop-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
}
.home-lifestyle .slide-homeshop .item .homeshop-list .img {
  margin-bottom: 0.5rem;
}
.home-lifestyle .slide-homeshop .item .homeshop-list:hover img {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}
.home-lifestyle .slide-homeshop .item .homeshop-list .text {
  font-size: 0.95vw;
  text-align: center;
}

/* --------------------- OUR BRAND---------------------- */
.home-ourbrand {
  position: relative;
}
.home-ourbrand h3 {
  margin-bottom: 0.5rem;
}
.float-ele-1-1 {
  position: absolute;
  right: 0;
  top: 0;
  animation: bounce 2s infinite ease-in-out;
}
.float-ele-1-2 {
  position: absolute;
  right: 0;
  top: 7%;
  animation: bounce 2.5s infinite ease-in-out;
}
.float-ele-2-1 {
  position: absolute;
  left: 2%;
  bottom: 12%;
  animation: bounce 2s infinite ease-in-out;
}
.float-ele-2-2 {
  position: absolute;
  left: 9%;
  bottom: -4%;
  animation: bounce 2.5s infinite ease-in-out;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.home-ourbrand-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3rem 0;
}
.home-ourbrand-set .subbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.home-ourbrand-set .box {
  position: relative;
  display: block;
  color: black;
}

.home-ourbrand-set .productname {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
}
.home-ourbrand-set .productname-main {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}
.home-ourbrand-set .productname-sub {
  font-size: 0.95vw;
}
.home-ourbrand-set .floatarrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}
.home-ourbrand-set .floatarrow img {
  width: 2.5vw;
}
.home-ourbrand-set .box:hover .floatarrow {
  transform: translateX(8px);
  transition: 0.3s ease-in-out;
}
.home-ourbrand-set .image-container {
  position: relative;
}
.home-ourbrand-set .image-container-hover {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.home-ourbrand-set .box:hover .image-container-hover {
  opacity: 1;
  transition: 0.5s ease-in-out;
}
.home-ourbrand-set .viewmore-hover {
  position: absolute;
  right: 3.5rem;
  bottom: 1.25rem;
  transform: translateX(30px);
  opacity: 0;
}
.home-ourbrand-set .box:hover .viewmore-hover {
  transform: translateX(0px);
  opacity: 1;
  transition: 0.5s ease-in-out;
}
/* --------------------- OUR BRAND---------------------- */
.home-intro-news {
  background-image: url("../images/BG-home-about_3.jpg");
  background-repeat: no-repeat;
  background-position: left top -10%;
  background-color: white;
  background-size: contain;
  padding: 0 0 50px 0;
}
.home-intro-news .home-intro-img {
  height: 100%;
  display: flex;
  align-items: center;
}
.home-intro-news .home-intro-text {
  /*   padding-right: 85px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-intro-title {
  position: relative;
  width: fit-content;
}
/* .home-intro-title::after {
  position: absolute;
  right: -9.9vw;
  bottom: 1vw;
  height: 3.6vw;
  width: 10.1vw;
  content: "";
  background-image: url(../images/img-after-title-1.png);
  background-size: contain;
  background-repeat: no-repeat;
} */
.home-intro-subtitle {
  font-size: 36px;
  font-weight: 500;
  color: #00953a;
  margin-bottom: 1rem;
}
.home-intro-quote {
  display: flex;
  justify-content: center;
  padding: 6rem 0 3rem 0;
}
.home-intro-quote-text {
  font-size: 26px;
  position: relative;
  text-align: center;
}
.home-intro-quote-text::after {
  content: "";
  background-image: url("../images/quote-left-btm.png");
  width: 1.35vw;
  height: 1vw;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: -4%;
  bottom: -16%;
}
.home-intro-quote-text::before {
  content: "";
  background-image: url(../images/quote-right-top.png);
  width: 1.35vw;
  height: 1vw;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -4%;
  top: -16%;
}

.home-intro2 {
  padding: 50px 0 70px 0;
}
.home-intro2-title.en {
  font-size: 26px;
}
.home-intro2-title {
  font-size: 36px;
  text-align: center;
  font-weight: 400;
  color: #eb0028;
  margin-bottom: 1rem;
}
.home-intro2-detail {
  /*  font-size: 22px; */
  font-size: 20px;
  text-align: center;
}
.home-intro2-img-std {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  flex-wrap: wrap;
}
.home-intro2-img-std img {
  /*  height: 40%; */
  height: 5.25vw;
}
.blog-flex-std {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.blog-flex-std .home-intro2-img-std {
  height: auto;
  justify-content: center;
}
.blog-flex-std .home-intro2-img-std img {
  margin: 0 1%;
}
.blog-flex-std .home-intro2-img-std img:hover {
  transform: scale(1.2);
  /*  transition: 0.3s ease-in-out; */
}
/* --------------------- PRODUCT SLIDE (OFFCANVAS)---------------------- */
.slide-addtocart .home-product .card {
  width: auto;
  padding: 0;
}

/* --------------------- PRODUCT SLIDE (BEST SELLER / NEW ARRIVAL / RECOMMENDED)---------------------- */
.product-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
/* ---------------------EXCLUSIVE BRAND (include_home_exclusivebrand.php)---------------------- */
.home-exclusivebrand .home-title {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.home-exclusivebrand-quote-text {
  font-size: 26px;
  text-align: center;
  margin-bottom: 70px;
  line-height: 1.5;
}
.home-exclusivebrand .home-title h3 {
  position: relative;
  width: fit-content;
}
.home-exclusivebrand .home-title h3::after {
  /*   position: absolute;
  right: -13.2rem;
  bottom: -0.25rem;
  content: url(../images/img-after-title-2.png.png); */
  position: absolute;
  right: -11vw;
  bottom: 0vw;
  height: 4vw;
  width: 11.2vw;
  content: "";
  background-image: url(../images/img-after-title-2_2.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.slide-exclusivebrand a {
  display: flex;
  justify-content: center;
}
.slide-exclusivebrand .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.slide-exclusivebrand .brand img {
  /*   height: 95px; */
  height: 5vw;
  width: auto;
}
.slide-exclusivebrand .brand:hover img {
  transform: scale(1.03);
  transition: 0.3s ease-in-out;
}

/* --------------------- ALL CATEGORY (include_home_productcategories.php) กรอบสีเทา ---------------------- */
.home-all-category .box {
  font-weight: 400;
  background-color: #f2f2f2;
  border: 1px #f2f2f2 solid;
  /*   width: 200px; */
  height: 160px;
  margin: 0.5rem;
  border-radius: 15px;
  padding: 1rem;
}
.home-all-category .box:hover {
  transition: 0.3s ease-in-out;
  background-color: unset;
  background-image: linear-gradient(#f1faf9, #dff3f1);
  border: 1px #21b3a0 solid;
}
.home-all-category .box img {
  width: 50px;
  margin-bottom: 0.5rem;
}
.home-all-category .box a {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: black;
}
.home-all-category .box .title {
  text-align: center;
  height: 3rem;
}

.home-all-category .box:hover img {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}

/* --------------------- PRODUCT CATEGORY (include_home_product_list.php) สไลด์ title ---------------------- */
.home-product-category .center {
  display: flex;
  justify-content: center;
}
.home-product-category .width {
  width: 94%;
}
.home-product-category .heading {
  height: 50px;
  display: flex;
  align-items: center;
  font-weight: 400;
  border-bottom: 2px #ffffff solid;
  cursor: pointer;
  position: relative;
  background-color: #f2f2f2;
  padding: 0 1rem;
  border-radius: 50px;
  margin-right: 1rem;
}
.home-product-category .heading img {
  width: 20px;
  margin-right: 0.5rem;
}
.home-product-category .heading-active,
.home-product-category .heading:hover {
  background-color: #ff6a00;
  color: white;
  transition: 0.3s ease-in-out;
}
.home-product-category .heading img.img {
  display: block;
}
.home-product-category .heading img.imghover {
  display: none;
}
.home-product-category .heading-active img.img,
.home-product-category .heading:hover img.img {
  display: none;
}
.home-product-category .heading-active img.imghover,
.home-product-category .heading:hover img.imghover {
  display: block;
}

.home-product-category .content {
  margin-top: 2.5rem;
}
.home-product-category .content .box {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.home-product-category .home-product .card {
  margin-bottom: 3rem;
  width: 90%;
}

/* --------------------- KNOWLEDGE (include_home_blog.php)---------------------- */

.home-knowledge {
  position: relative;
  padding: 50px 0 0 0;
}
.home-knowledge h3 {
  padding-bottom: 0.5rem;
}
.float-ele-3-1 {
  position: absolute;
  right: 0;
  top: -6%;
  animation: bounce 2s infinite ease-in-out;
}
.float-ele-3-2 {
  position: absolute;
  right: 0;
  top: 6%;
  animation: bounce 2.5s infinite ease-in-out;
}
.float-ele-4-1 {
  position: absolute;
  left: 0;
  bottom: 6%;
  animation: bounce 2s infinite ease-in-out;
}
.float-ele-4-2 {
  position: absolute;
  left: 4%;
  bottom: 16%;
  animation: bounce 2.5s infinite ease-in-out;
}
.home-knowledge .heading-bar {
  text-align: center;
  font-size: 1.05vw;
  font-weight: 400;
  margin: 20px 0 50px 0;
}
.home-knowledge .head {
  font-size: 24px;
  color: #c9c8c7;
  text-decoration: none;
  cursor: pointer;
  margin: 0 3%;
}
.home-knowledge .head-active,
.home-knowledge .head:hover {
  color: #00953a;
  text-decoration: underline;
}
/* .home-knowledge .head-active::after,
.home-knowledge .head:hover::after {
  content: "";
  background-color: #eb0028;
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s ease-in-out;
} */
.home-knowledge-pad {
  padding: 0 3rem;
}
.home-knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-knowledge .card {
  border: none;
  border-radius: 15px;
  color: black;
  box-shadow: 0 0 10px #00000025;
  overflow: hidden;
  position: relative;
  /*   margin-bottom: 1.5rem; */
}
.home-knowledge .card::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 0;
  background-color: #eb0028;
  left: 0;
  bottom: 0;
}
.home-knowledge .card:hover::after {
  width: 100%;
  transition: 0.3s ease-in-out;
}

.home-knowledge .card-body {
  padding: 1rem;
}

.card-body-genre {
  color: #eb0028;
}
.home-knowledge-hilight {
  padding-right: 5%;
}
.home-knowledge-hilight,
.home-knowledge-hilight .card {
  height: 100%;
}
.home-knowledge-hilight .card-body-genre {
  font-size: 22px;
}
.home-knowledge-grid .card-body-genre {
  font-size: 16px;
}
.home-knowledge-hilight .card-body-detail {
  font-size: 22px;
  height: 3.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}
.home-knowledge-grid .card-body-detail {
  font-size: 16px;
  height: 2.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

/* --------------------- OTHERS ---------------------- */
.prev-icon {
  float: left;
}
.next-icon {
  float: right;
}
.month-filter-holder {
  text-align: center;
  margin: 10px 10px 25px;
}
.month-data.active {
  height: auto;
}
.month-list {
  display: inline-block;
  vertical-align: top;
}
.month-list .month-filter {
  display: inline-block;
  vertical-align: top;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 0 3px;
  cursor: pointer;
}
.month-list .month-filter.active {
  background-color: #ccc;
}
.month-data-holder {
  padding: 15px;
}
.month-data {
  height: 0;
  overflow: hidden;
}
.modal-dialog {
  max-width: 800px;
}

.show-pc {
  display: block;
}
.show-mobile {
  display: none;
}

@media (max-width: 991px) {
  /* ----------------------- FESTIVE ---------------------- */
  /*   body,
  .BG-festive-exclusive,
  .BG-festive-category,
  .BG-festive-whyshop {
    background-image: unset;
  }
  .festive-icon {
    right: -1.5rem;
    top: -1rem;
  } */
  body {
    font-size: 16px;
  }
  .show-pc {
    display: none;
  }
  .show-mobile {
    display: block;
  }

  /* ----------------------- BANNER ---------------------- */
  .home-banner {
    padding: 0;
  }
  section {
    padding: 25px 0;
  }
  /* ----------------------- TEXT ---------------------- */
  .home-title h2 {
    font-size: 56px;
  }
  .text-title {
    font-size: 1.25vw;
  }
  .text-subtitle {
    font-size: 16px;
  }
  .text-caption {
    font-size: 16px;
  }
  .number-counting .minus,
  .number-counting .plus {
    top: 23%;
  }
  .btn {
    font-size: 16px;
    width: 180px;
    height: 45px;
  }
  .breadcrumb .menu-link {
    padding: 0;
    height: 1.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
  }
  .breadcrumb .menu-link a,
  .breadcrumb .menu-link .detail {
    font-size: 16px;
    padding: 0 0.25rem;
  }
  .tbmobile tr {
    display: flex;
    flex-direction: column;
  }
  .tbmobile td {
    width: 100% !important;
  }
  /* ----------------------- PAD ---------------------- */
  .container-md {
    padding: 0 0 0 1rem;
  }
  .title.container-md {
    padding: 0 1rem;
  }

  .home-exclusivebrand .container-md,
  .home-banner-2 .container-md,
  .home-banner-3 .container-md,
  .home-knowledge .container-md {
    padding: 0 1rem;
  }
  /* ----------------------- POP-UP ---------------------- */

  .popup .slide-popup .item img {
    width: 100%;
  }
  .popup .popup-container .pad {
    width: 100%;
  }
  .slide-popup .owl-nav button.owl-prev {
    height: 67%;
  }
  .slide-popup .owl-nav button.owl-next {
    height: 67%;
  }
  .PDPA {
    padding: 0;
  }
  .PDPA .PDPA-container {
    padding: 1rem 2rem 1rem 2rem;
    flex-direction: column;
  }
  .PDPA .PDPA-container .PDPA-text,
  .PDPA .PDPA-container .PDPA-text a,
  .PDPA .agree button {
    font-size: 10px;
    margin: 0;
  }

  /* ----------------------- BANNER WITH TEXT ---------------------- */

  .banner-sm .textbox {
    bottom: 4rem;
  }

  .banner-sm .textbox .inner .box {
    width: 100%;
  }

  .banner-sm .buttonbox {
    bottom: 2rem;
  }

  .banner-sm .buttonbox .inner .button button {
    padding: 0.35rem 1rem;
  }
  .banner-sm .textbox .inner,
  .banner-sm .buttonbox .inner {
    padding: 0 4%;
  }

  /* ----------------------- INDEX ---------------------- */
  .home-title h3,
  .home-ourbrand h3,
  .home-intro-subtitle,
  .home-intro2-title {
    font-size: 28px;
    line-height: 1.5;
  }
  .home-intro2-title.en {
    font-size: 22px;
  }
  .home-title.noborder {
    border-left: none;
    padding: 0;
    align-items: center;
  }
  .home-title .title {
    font-size: 1.05vw;
    text-align: start;
  }

  .home-title .subtitle {
    border-left: none;
    padding: 0 0.35rem 0 0;
    font-size: 18px;
    display: flex;
  }
  .home-viewall {
    height: 35px;
    top: 0;
    width: 80px;
  }
  .home-viewall a {
    font-weight: 400;
  }
  .home-viewall a,
  .home-viewall i {
    font-size: 12px;
  }
  /* --------------------- OUR BRAND---------------------- */
  .home-ourbrand-set {
    grid-template-columns: 1fr;
    padding: 1rem 0 0 0;
  }
  .home-ourbrand-set .productname {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
  }
  .home-ourbrand-set .productname-main {
    font-size: 22px;
  }
  .home-ourbrand-set .productname-sub {
    font-size: 12px;
  }
  .home-ourbrand-set .floatarrow {
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .home-ourbrand-set .floatarrow img {
    width: 35px;
  }
  .home-ourbrand-set .viewmore-hover {
    right: 3rem;
    bottom: 0.75rem;
    font-size: 14px;
  }
  /* --------------------- INTRO---------------------- */
  .home-intro-title::after {
    right: -136px;
    height: 50px;
    width: 140px;
  }
  .home-intro-BG-MB {
    background-image: url(../images/BG-home-about-MB_3.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
  }
  /*   .home-intro-news-BG-MB {
    background-image: url("../images/BG-home-about-MB_3.jpg");
    padding: 0 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
  } */
  .home-intro-news {
    background-image: unset !important;
    background-position: bottom;
  }
  .home-intro-news .home-intro-text {
    padding: 0 0 3rem 0;
  }
  .home-intro-quote-text {
    font-size: 20px;
  }
  .home-intro-quote-text::after {
    left: 0;
    bottom: -2rem;
    width: 20px;
    height: 19px;
  }
  .home-intro-quote-text::before {
    right: 0;
    top: -2rem;
    width: 20px;
    height: 19px;
  }
  .home-intro-quote {
    padding: 50px 0 0 0;
  }
  .home-intro2 {
    padding: 50px 0 100px 0;
  }
  .home-intro2-detail {
    font-size: 16px;
  }
  .home-intro2-img-std {
    justify-content: center;
    align-content: normal;
    margin-top: 1rem;
    height: auto;
  }
  .home-intro2-img-std img {
    margin: 0.5rem;
    height: 70px;
  }
  /* ---------------------EXCLUSIVE BRAND (include_home_exclusivebrand.php)---------------------- */
  .home-exclusivebrand-quote-text {
    font-size: 20px;
    margin-bottom: 1rem;
  }
  .home-exclusivebrand .home-title h3::after {
    right: 0;
    top: -55px;
    height: 57px;
    width: 160px;
  }
  .slide-exclusivebrand .brand img {
    height: 65px;
  }
  /* --------------------- KNOWLEDGE (include_home_blog.php)---------------------- */
  .home-knowledge-pad {
    padding: 0;
  }
  .home-knowledge-hilight {
    height: unset;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  /* ---------------------ALL CATEGORY (include_home_productcategories.php) กรอบสีเทา---------------------- */
  .home-all-category .slide-product-category-box .item {
    width: 200px;
  }
  .home-all-category .box {
    width: auto;
    height: 125px;
    margin: 0;
  }
  .home-all-category .box img {
    width: 40px;
    margin-bottom: 0.5rem;
  }

  .home-product-category .home-product .card {
    width: 150px;
  }
  .home-knowledge .heading-bar {
    margin: 1rem 0;
  }
  .home-knowledge .head {
    font-size: 20px;
  }
  .home-knowledge-hilight .card-body-genre {
    font-size: 16px;
  }
  .home-knowledge-hilight .card-body-detail {
    font-size: 16px;
    height: 3rem;
  }
  .home-knowledge-grid .card-body-genre {
    font-size: 12px;
  }
  .home-knowledge-grid .card-body-detail {
    font-size: 12px;
    height: 2.25rem;
  }
}
@media (min-width: 1920px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1420px;
  }
}
@media (min-width: 3000px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 2700px;
  }
  .home-intro-news {
    background-position: left top 140%;
    background-color: white;
    background-size: cover;
  }
  .aboutus-image-intro-grid img,
  .aboutus-quote img {
    width: 100%;
  }
  .aboutus .footer-aboutus {
    bottom: -4%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .home-intro-news-BG-MB {
    padding: 0 4rem;
  }
  .home-ourbrand-set {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .home-intro-news {
    background-position: left top 44%;
  }
}
@media (min-width: 1440px) and (max-width: 1600px) {
  .home-intro-news {
    background-position: left top 35%;
  }
}
@media (min-width: 1400px) and (max-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1160px;
  }
}
@media (max-width: 450px) {
  .show-mobile_s {
    display: block;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
}
@media (min-width: 450) and (max-width: 768px) {
  .show-mobile_m {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .show-tablet_s {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .show-tablet_m {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
  .home-intro-quote-text::after {
    left: 0;
  }
  .home-intro-quote-text::before {
    right: 0;
  }
  .home-intro-news {
    background-position: left bottom 20rem;
  }
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .show-pc_s {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
}
@media (min-width: 1440px) and (max-width: 1600px) {
  .show-pc_m {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_l {
    display: none;
  }
}
@media (min-width: 1600px) {
  .show-pc_l {
    display: block;
  }
  .show-mobile_s {
    display: none;
  }
  .show-mobile_m {
    display: none;
  }
  .show-tablet_s {
    display: none;
  }
  .show-tablet_m {
    display: none;
  }
  .show-pc_s {
    display: none;
  }
  .show-pc_m {
    display: none;
  }
}
