@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* เพิ่มฟอนต์ Saira และ Poppins */
@import url('https://fonts.googleapis.com/css2?family=Saira:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Typography - กำหนดฟอนต์ตามภาษา */
.detail p {
    margin-bottom: 0 !important;
}

html[lang="th"] body:not([class*="swal2"]),
html[lang="th"] ul:not([class*="swal2"]),
html[lang="th"] li:not([class*="swal2"]),
html[lang="th"] p:not([class*="swal2"]),
html[lang="th"] a:not([class*="swal2"]),
html[lang="th"] label:not([class*="swal2"]),
html[lang="th"] input:not([class*="swal2"]),
html[lang="th"] button:not([class*="swal2"]),
html[lang="th"] span:not([class*="swal2"]) {
  font-family: 'Prompt', sans-serif ;
  font-size: 12px;
}

/* กำหนดเฉพาะ font-family สำหรับ swal2 */
html[lang="th"] [class*="swal2"] {
  font-family: 'Prompt', sans-serif !important;
}

/* เพิ่ม Notiflix สำหรับภาษาไทย */
html[lang="th"] #NotiflixConfirmWrap *,
html[lang="th"] #NotiflixReportWrap *,
html[lang="th"] #NotiflixNotifyWrap *,
html[lang="th"] [id*="Notiflix"] * {
  font-family: 'Prompt', sans-serif !important;
}

/* ภาษาอังกฤษ - ใช้ Poppins */
html[lang="en"] body:not([class*="swal2"]),
html[lang="en"] ul:not([class*="swal2"]),
html[lang="en"] li:not([class*="swal2"]),
html[lang="en"] p:not([class*="swal2"]),
html[lang="en"] a:not([class*="swal2"]),
html[lang="en"] label:not([class*="swal2"]),
html[lang="en"] input:not([class*="swal2"]),
html[lang="en"] button:not([class*="swal2"]),
html[lang="en"] span:not([class*="swal2"]) {
  font-family: 'Poppins', sans-serif ;
   font-size: 12px;
}

/* กำหนดเฉพาะ font-family สำหรับ swal2 */
html[lang="en"] [class*="swal2"] {
  font-family: 'Poppins', sans-serif !important;
}

/* เพิ่ม Notiflix สำหรับภาษาอังกฤษ */
html[lang="en"] #NotiflixConfirmWrap *,
html[lang="en"] #NotiflixReportWrap *,
html[lang="en"] #NotiflixNotifyWrap *,
html[lang="en"] [id*="Notiflix"] * {
  font-family: 'Poppins', sans-serif !important;
}

/* Headings - ไทย (ใช้ Prompt) */
html[lang="th"] .h1,
html[lang="th"] h1 {
  font-family: 'Prompt', sans-serif !important;
  font-size: 48px !important;
  /* font-weight: 200 !important; */
}

html[lang="th"] .h2,
html[lang="th"] h2 {
  font-family: 'Prompt', sans-serif !important;
background: linear-gradient(
    to top,
    #2c333b 0%,  
    #444c55 30%, 
    #8f98a2 65%,
    #dfe3e6 100% 
  );
  -webkit-background-clip: text;
  color: transparent;

}
html[lang="th"] .h4,
html[lang="th"] h4,
html[lang="th"] .h3,
html[lang="th"] h3 {
  font-family: 'Prompt', sans-serif !important;
background: linear-gradient(
    to top,
    #2c333b 0%,  
    #444c55 30%, 
    #8f98a2 65%,
    #dfe3e6 100% 
  );
  -webkit-background-clip: text;
  color: transparent;
}


html[lang="th"] .h5,
html[lang="th"] h5,
html[lang="th"] .h6,
html[lang="th"] h6 {
  font-family: 'Prompt', sans-serif !important;
 
}
/* Headings - อังกฤษ (ใช้ Saira) */
html[lang="en"] .h1,
html[lang="en"] h1 {
  font-family: 'Saira', sans-serif !important;
  font-size: 48px !important;
  /* font-weight: 200 !important; */
}

html[lang="en"] .h2,
html[lang="en"] h2 {
  font-family: 'Saira', sans-serif !important;
  /* font-size: 30px !important; */
 background: linear-gradient(
    to top,
    #2c333b 0%,  
    #444c55 30%, 
    #8f98a2 65%,
    #dfe3e6 100% 
  );
  -webkit-background-clip: text;
  color: transparent;
}

html[lang="en"] .h3,
html[lang="en"] h3 {
  font-family: 'Saira', sans-serif !important;
  /* font-size: 22px !important;
   */
   background: linear-gradient(
    to top,
    #2c333b 0%,  
    #444c55 30%, 
    #8f98a2 65%,
    #dfe3e6 100% 
  );
  -webkit-background-clip: text;
  color: transparent;
      font-weight: bold;
}

html[lang="en"] .h4,
html[lang="en"] h4,
html[lang="en"] .h5,
html[lang="en"] h5,
html[lang="en"] .h6,
html[lang="en"] h6 {
  font-family: 'Saira', sans-serif !important;
 
}

/* ยกเว้น password input */
input[type="password"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* ยกเว้น icon fonts */
/* ยกเว้น icon fonts - ต้องใช้ font-family ของ icon เอง */
.flag-icon,
.flag-icon * {
  font-family: inherit !important;
}

/* label {
    font-weight: bold !important;
} */
.bi,
[class^="bi-"],
[class*=" bi-"],
i.bi,
i[class^="bi-"],
i[class*=" bi-"] {
  font-family: 'bootstrap-icons' !important;
}

.fa,
.fas,
.far,
.fal,
.fab,
[class^="fa-"],
[class*=" fa-"],
i.fa,
i.fas,
i.far,
i.fal,
i.fab,
i[class^="fa-"],
i[class*=" fa-"] {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome' !important;
  font-weight: 900 !important;
}

/* สำหรับ Font Awesome 6 */
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
}



/* General */
.logo {
  font-weight: 500 !important;
}

.text-warning {
  color: #ede861 !important;
}

.text-muted {
  color: #bcbcbc !important;
}

.text-success {
  color: #59ab6e !important;
}

.text-light {
  color: #cfd6e1 !important;
}

.bg-dark {
  background-color: #212934 !important;
}

.bg-light {
  background-color: rgb(208 206 206 / 20%) !important;
}

.bg-black {
  background-color: #1d242d !important;
}

.bg-success {
  background-color: #59ab6e !important;
}

.btn-success {
  background-color: #59ab6e !important;
  border-color: #56ae6c !important;
}

.pagination .page-link:hover {
  color: #000;
}

.pagination .page-link:hover,
.pagination .page-link.active {
  background-color: #69bb7e;
  color: #fff;
}

@media only screen and (max-width: 768px) {

  html[lang="th"] body,
  html[lang="th"] ul,
  html[lang="th"] li,
  html[lang="th"] p,
  html[lang="th"] a,
  html[lang="th"] label,
  html[lang="th"] input,
  html[lang="th"] div:not([class*="swal2"]) {
    font-size: 12px !important;
  }

  html[lang="en"] body,
  html[lang="en"] ul,
  html[lang="en"] li,
  html[lang="en"] p,
  html[lang="en"] a,
  html[lang="en"] label,
  html[lang="en"] input,
  html[lang="en"] div:not([class*="swal2"]) {
    /* ← เพิ่ม :not() */
    font-size: 12px !important;
  }

  .h1 {
    font-size: 48px !important;
  }

  .h2 {
    font-size: 30px !important;
  }

  .h3 {
    font-size: 16px !important;
  }

  .h4 {
    font-size: 16px !important;
  }

  .form-control {
    font-size: 11px !important;
  }


}

/* Nav */
#templatemo_nav_top {
  min-height: 40px;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #000000;
}

#templatemo_nav_top * {
  font-size: 18px !important;
  font-weight: 300 !important;
}

#templatemo_main_nav a {
  color: #FFFFFF;
  font-weight: lighter;
}

#templatemo_main_nav a:hover {
  color: #FFFFFF;
}

#templatemo_main_nav .navbar .nav-icon {
  margin-right: 20px;
}

/* Hero Carousel */
#template-mo-zay-hero-carousel {
  background: #ffffff !important;
}

/* Accordion */
.templatemo-accordion a {
  color: #000;
}

.templatemo-accordion a:hover {
  color: #333d4a;
}

/* Shop */
.shop-top-menu a:hover {
  color: #69bb7e !important;
}

/* Product */
.product-wap {
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.10);
}

.product-wap .product-color-dot.color-dot-red {
  background: #f71515;
}

.product-wap .product-color-dot.color-dot-blue {
  background: #6db4fe;
}

.product-wap .product-color-dot.color-dot-black {
  background: #000000;
}

.product-wap .product-color-dot.color-dot-light {
  background: #e0e0e0;
}

.product-wap .product-color-dot.color-dot-green {
  background: #0bff7e;
}

.card.product-wap .card .product-overlay {
  background: rgba(0, 0, 0, .2);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
}

.card.product-wap:hover .card .product-overlay {
  visibility: visible;
  opacity: 1;
}

.card.product-wap a {
  color: #000;
}

#carousel-related-product .slick-slide:focus {
  outline: none !important;
}

#carousel-related-product .slick-dots li button:before {
  font-size: 15px;
  margin-top: 20px;
}

/* Brand */
.brand-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: .5s;
}

.brand-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Carousel Hero */
#template-mo-zay-hero-carousel .carousel-indicators li {
  display: none;
  margin-top: -50px;
  background-color: #59ab6e;
}

#template-mo-zay-hero-carousel .carousel-control-next i,
#template-mo-zay-hero-carousel .carousel-control-prev i {
  color: #C0C0C0 !important;
  font-size: 2.8em !important;
}

/* Carousel Brand */
.tempaltemo-carousel .h1 {
  font-size: .5em !important;
  color: #000 !important;
}

/* Services */
.services-icon-wap {
  transition: .3s;
}

.services-icon-wap:hover,
.services-icon-wap:hover i {
  color: #fff;
}

.services-icon-wap:hover {
  background: #69bb7e;
}

/* Contact map */
.leaflet-control a,
.leaflet-control {
  font-size: 10px !important;
}

.form-control {
  border: 1px solid #e8e8e8;
}

/* Footer */
#tempaltemo_footer a {
  color: #000000;
}

#tempaltemo_footer a:hover {
  color: #e9bb59;
}

#tempaltemo_footer ul.footer-link-list li {
  padding-top: 10px;
}

#tempaltemo_footer ul.footer-icons li {
  width: 2.6em;
  height: 2.6em;
  line-height: 2.6em;
}

#tempaltemo_footer ul.footer-icons li:hover {
  background-color: #cfd6e1;
  transition: .5s;
}

#tempaltemo_footer ul.footer-icons li:hover i {
  color: #212934;
  transition: .5s;
}

#tempaltemo_footer .border-light {
  border-color: #2d343f !important;
}

/*
// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap
*/
/* Small devices (landscape phones, 576px and up)*/
.product-wap .h3,
.product-wap li,
.product-wap i,
.product-wap p {
  font-size: 12px !important;
}

.product-wap .product-color-dot {
  width: 6px;
  height: 6px;
}

@media (min-width: 576px) {
  .tempaltemo-carousel .h1 {
    font-size: 1em !important;
  }
}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  #templatemo_main_nav .navbar-nav {
    max-width: 450px;
  }
  
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  #templatemo_main_nav .navbar-nav {
    max-width: 550px;
  }

  #template-mo-zay-hero-carousel .carousel-item {
    /* min-height: 30rem !important; */
  }

  .product-wap .h3,
  .product-wap li,
  .product-wap i,
  .product-wap p {
    font-size: 18px !important;
  }

  .product-wap .product-color-dot {
    width: 12px;
    height: 12px;
  }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}