body {
        font-family: "Noto Sans Thai", sans-serif;
        font-optical-sizing: auto;
        font-weight: normal;
        font-style: normal;
        font-variation-settings:
          "wdth" 100;
}
p {
   font-family: "Noto Sans Thai", sans-serif;
}
span {
    font-family: "Merriweather", serif;
}
:root{
  --c1: #0A2240;
  --c2: #0B315D;
  --c3: #011429;
}
.bg-navy{
    background-color: var(--c-base);
}
.bg-lightGray{
    background-color: #efeff2;
}
.text-indent50{
    text-indent: 50px;
}
.rounded10{
    border-radius: 10px;
}
.rounded20{
    border-radius: 20px;
}
.rounded30{
    border-radius: 30px;
}
.rounded40{
    border-radius: 40px;
}
.text-green{
    color: var(--c-text);
}
.text-red{
    color: var(--c-red);
}
.btn-navy{
    background-color: var(--c-base);
    color:white;
}
.btn-navy:hover,.btn-navy:focus,.btn-navy:active{
    background-color: var(--c-base);
    box-shadow: inset 0px 0px 20px 20px rgba(0, 0, 0, .3);
    color:white;
}
.btn-green{
    background-color: #4cae4f;
    color:white;
}
.btn-green:hover,.btn-green:focus,.btn-green:active{
    background-color: #4cae4f;
    box-shadow: inset 0px 0px 20px 20px rgba(0, 0, 0, .3);
    color:white;
}
.fs-12{
    font-size: 12px;
}

.border_file {
    border-radius: 25px;
    border: dashed 2px #1d2243;
    padding: 20px;
}

  .border_file .form{
    width:100%;
    height:250px;
    position:relative;
    overflow:hidden;
    border-radius:10px;
  }
  
  .border_file input{
    display:inline-block;  border-radius:5px;
  
    width: 100%;
    height:100%;  
    position:absolute;
    z-index: 99;
    opacity: 0;
    cursor:pointer;
  }
  
  .border_file input::-webkit-file-upload-button {
    visibility: hidden;
  }
  
  .border_file span{
    display:flex;
    width:100%;
    height:100%;
    position:absolute;
    background-color: #ffffff;
    top:0;
    left:0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius:10px;
    color:#84a9ac;
  }
  
  .border_file .form::after{
    content:"";
    position:absolute;
    display: inline-block;
    width:100%;
    height:100%;
    left:-100%;
    transform:skewX(35deg);
    animation: slide 1.5s infinite;
  }
  
  .border_file .fa-cloud-upload-alt{
    animation: upDown 1.2s infinite;
    color: #1d2243;
  }
  
  .border_file span h3{
    font-size: 16px;
    margin-top: 15px;
    color: #1d2243;
  }

  
  .border_Take {
    border-radius: 25px;
    border: dashed 2px #1d2243;
    padding: 20px;
}

  .border_Take .form{
    width:100%;
    height:250px;
    position:relative;
    overflow:hidden;
    border-radius:10px;
  }
  
  .border_Take input{
    display:inline-block;  border-radius:5px;
  
    width: 100%;
    height:100%;  
    position:absolute;
    z-index: 99;
    opacity: 0;
    cursor:pointer;
  }
  
  .border_Take input::-webkit-file-upload-button {
    visibility: hidden;
  }
  
  .border_Take span{
    display:flex;
    width:100%;
    height:100%;
    position:absolute;
    background-color: #ffffff;
    top:0;
    left:0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius:10px;
    color:#84a9ac;
  }
  
  .border_Take .form::after{
    content:"";
    position:absolute;
    display: inline-block;
    width:100%;
    height:100%;
    left:-100%;
    transform:skewX(35deg);
    animation: slide 1.5s infinite;
  }
  
  .border_Take .fa-camera{
    animation: upDown 1.2s infinite;
    color: #1d2243;
    font-size: 70px;
  }
  
  .border_Take span h3{
    font-size: 16px;
    margin-top: 15px;
    color: #1d2243;
  }

  .button_chioce .btn-navy {
    background-color: var(--c-base);
    color: #e2d89f;
    font-size: 35px !important;
    font-weight: 600 !important;
    padding: 18px;
    border-radius: 150px;
}

.Text_NameDetail {
    padding-top: 50px;
}
  
.Camera_scan {
    height: 350px;
    width: 100%;
    background-color: #1d2243;
}

.show_welcome h4 {
    color: #e2d89f;
    font-size: 36px !important;
    font-weight: 600 !important;
    padding: 10px;
}

#footer {
    background: radial-gradient(circle at 30% 30%, var(--c2) 0%, var(--c1) 30%, var(--c3) 100%);
    padding: 10px 50px 10px 50px;
    color: white;
}

.social-groud a {
  border: 1px solid #ffffff;
  border-radius: 5px;
  padding: 3px 6px 3px 8px;
  margin-right: 8px;
  color: #ffffff;
  text-decoration: none;
}

.page_poliry a {
  color: #ffffff;
  text-decoration: none;
  text-align: right;
}

.page_menu a {
  color: #ffffff;
  text-decoration: none;
}



/*-----------------------------------------
   HEADER
-------------------------------------------*/

.site-header {
  width: 100%;
  padding: 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9997;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(10, 34, 64, 0.97);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  padding: 6px 0;
}

.header-container {
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  width: 150px;
  transition: width 0.3s ease;
}

.site-header.scrolled .logo img {
  width: 120px;
}

/* Right controls group */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- Desktop Menu ---------------- */

.main-menu ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  transition: 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
  background: #ffffff55;
}

/* Buttons */
.search-btn {
  background: #ffffff3b;
  border: none;
  padding: 8px 13px;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* Close button (mobile only) */
.menu-close {
  display: none;
}

/* ---------------- Mobile Slide Menu ---------------- */
@media (max-width: 768px) {

  .logo img {
    width: 110px;
  }

  .header-container {
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  /* ⭐ เปลี่ยนจาก right → transform */
  .main-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #0a2240;
    padding: 60px 25px;
    transform: translateX(100%);   /* 🔥 สำคัญ */
    transition: transform 0.4s ease;
    z-index: 10000;
    pointer-events: auto;
  }

  .main-menu.active {
    transform: translateX(0);      /* 🔥 */
  }

  .main-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .main-menu a {
    display: block;
    font-size: 18px;
    padding: 14px;
    border-radius: 8px;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  /* ---------------- Overlay ---------------- */
  .menu-overlay {
    display: block;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
    pointer-events: none;        /* ⭐ ไม่บังคลิก */
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;        /* ⭐ รับคลิกเฉพาะพื้นหลัง */
  }
}


/* ---------------- Popup Search ---------------- */

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  text-align: center;
}

.popup-content input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

.search-submit {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  font-size: 18px;
  background: #0a2240;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}





/*-----------------------------------------
    Slide Banner
-------------------------------------------*/
.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Slide background */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #0C407A;
  position: relative;
}

/* กรอบสไลด์ยึดอัตราส่วนตามขนาดแนะนำ 1920x900 (= 46.875vw)
   รูปที่อัปโหลดขนาดอื่นจะถูกครอบให้เต็มกรอบนี้โดยไม่บิดเบี้ยว
   และรูปที่ขนาดตรงตามแนะนำจะแสดงเต็มภาพโดยไม่ถูกตัดส่วนใด */
.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: clamp(520px, 46.875vw, 100vh);
    object-fit: cover;
}

/* กล่องรวมปุ่ม */
.slide-buttons {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    gap: 10px;
}

/* ปุ่มหลัก */
.btn-slide {
    padding: 10px 40px;
    background: #C9A646;
    color: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

/* ปุ่มรองแบบขอบ */
.btn-outline {
    padding: 10px 40px;
    background: #0C407A;
    color: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 00;
    text-decoration: none;
    transition: 0.3s;
}

.btn-slide:hover {
    opacity: 0.8;
}


/* ตัวเลขด้านขวา */
.slide-index {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index:3;
  color: rgba(255,255,255,0.75);
  font-family: sans-serif;
  text-align: center;
}

.slide-index .idx {
  display:block;
  font-weight:500;
  font-size:22px;
  opacity:.3;
  transition: .3s;
  padding: 5px;
}

.slide-index .idx.active {
  opacity:1;
  color:#fff;
  font-size:30px;
}

/* Responsive */
@media (max-width:900px) {
  .slide-desc { text-align:center; }
  .slide-index { display:none; }
}

@media (max-width: 576px) {
  .slide-buttons {
    left: 16px;
    bottom: 20px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .btn-slide,
  .btn-outline {
    padding: 8px 20px;
    font-size: 13px;
  }
}





/* Section about */

#Sec_about {
  padding: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.Title_about span {
  font-size: 20px;
  color: #0C407A;
  text-transform: uppercase;
}

.Subtitle_about p {
  font-size: 36px;
  color: #C9A646;
}


.Subtitle_about span {
  font-size: 36px;
  color: #C9A646;
}

.Dep_about p {
  font-size: 18px;
  max-width: 990px;   /* จำกัดความกว้างของข้อความ */
  margin: 0 auto;      /* จัดข้อความให้อยู่กึ่งกลาง */
  padding: 0 60px;     /* เว้นซ้าย-ขวาเท่ากันทุกจอ */
  line-height: 1.8;    /* อ่านง่ายขึ้น */
}

.Image_aboutleft {
  overflow: hidden; /* กันรูปไม่ให้ล้นออก */
  display: block;
}

.Image_aboutleft img {
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  padding-left: 130px;

  transition: transform 0.6s ease; /* ทำให้ซูมเนียน */
}

.Image_aboutleft img:hover {
  transform: scale(1.1); /* ซูมเข้าตอน hover */
}

.Image_aboutright {
  overflow: hidden; 
  display: block;
}

.Image_aboutright img {
  max-width: 100%;
  height: 600px;
  object-fit: cover;
  padding-left: 80px;
  transition: transform 0.6s ease;
}

.Image_aboutright img:hover {
  transform: scale(1.1);  /* ซูมเข้า */
}

.Button_about a {
  padding-right: 25px;
  text-decoration: none;
  color: #2E2E2E;
}

.Button_about i {
  border: 1px solid #C9A646;
  border-radius: 200px;
  color: #C9A646;
  padding: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg); /* เอียงขึ้นขวา */
}

.Button_about i:hover {
  border: 1px solid #C9A646;
  background-color: #C9A646;
  border-radius: 200px;
  color: #ffffff;
  padding: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg); /* เอียงขึ้นขวา */
}



.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;

}

.marquee-inner {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 50s linear infinite;
    font-size: 50pt;
    font-weight: 500;
    color: #d7a73952;
    padding-top: 50px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* เลื่อนจนสุดซ้าย */
  }
}





/* Section slogan */

#Sec_slogan {
  padding: 80px 0;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ส่วนที่ทำให้เกิด Parallax */
}

#Sec_slogan p {
  color: white;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
}

#Sec_slogan span {
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 45px;
  background: linear-gradient(to right, #F2E3BA, #C9A646, #C9A646);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}



/* Section slogan */
#Sec_products {
  background: linear-gradient(to right, #0A2240, #0B315D, #011429);
  padding-top: 50px;
  padding-bottom: 50px;
}

#Sec_products .Box_textproducts {
  padding-left: 80px;
}

.Title_products span {
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
}

.Sub_products span {
  font-size: 36px;
  color: #ffffff;
}



/* พื้นหลังไล่สี */
.product-section-bg {
  padding: 10px 0;
}

/* ปรับขนาด Owl ให้เต็ม width */
.owl-carousel .owl-stage {
  display: flex;
}

/* การ์ดสินค้า */
.product-card {
  padding: 20px 0 20px;
  border-radius: 10px;
  text-align: left;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  border-radius: 5px;
  height: 400px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 20px;
  margin: 0px;
  color: #fff;
}

.product-card p {
  margin: 0px;
  color: #ddd;
  
}

.arrow-btn {
  margin-left: 15px;
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: #fff;
  color: #011429;
}

.Button_products a {
  padding-right: 25px;
  text-decoration: none;
  color: #ffffff;
}

.Button_products i {
  border: 1px solid #ffffff;
  border-radius: 200px;
  color: #ffffff;
  padding: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg); /* เอียงขึ้นขวา */
}

.Button_products i:hover {
  border: 1px solid #ffffff;
  background-color: #ffffff;
  border-radius: 200px;
  color: #000000;
  padding: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg); /* เอียงขึ้นขวา */
}

.marquee2 {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;

}

.marquee-inner2 {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 50s linear infinite;
    font-size: 50pt;
    font-weight: 500;
    color: #ffffff5e;
    padding-top: 50px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* เลื่อนจนสุดซ้าย */
  }
}




/* Section Sec_News */
#Sec_News {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 50px;
    padding-right: 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#Sec_News a {
  text-decoration: none;
}

.Title_news span {
  font-size: 20px;
  color: #0C407A;
  text-transform: uppercase;
}

.Subtitle_news p {
  font-size: 36px;
  color: #C9A646;
}

.Subtitle_news span {
  font-size: 36px;
  color: #C9A646;
}

.Date_news {
  font-size: 14px;
  color: #C9A646;
}

.Name_news {
  font-size: 20px;
  color: #0B315D;
  font-weight: 600;
}

.Detail_news {
  font-size: 16px;
  color: #000000;
  padding-right: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.Show_newsone img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.Show_newstwo img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  padding-top: 50px;
}

.vm-divider {
  width: 80px;
  height: 110px;
  margin: 20px auto;           /* จัดกึ่งกลาง */
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-divider .vm-line {
  width: 3px;
  height: 70%;
  background-color: #c9a24d;   /* เส้นสีทอง */
}



/*-----------------------------------------
    PAGE ABOUT US
-------------------------------------------*/

#Sec_aboutpage {
  padding: 50px;
}

#Sec_aboutpage .Title_about {
  font-size: 36px;
  color: #C9A646;
  font-weight: 500;
}

#Sec_aboutpage .Subtitle_aboutpage p {
  font-size: 36px;
  color: #0C407A;  
  font-weight: 500;
}

#Sec_aboutpage .Image_Showpageabout img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.Box_detailabout .Title_vision {
  font-size: 36px;
  color: #C9A646;
  text-transform: uppercase;
  font-weight: 600;
}

.Box_detailabout .Detail_vision {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 60px;
  line-height: 1.8;
}

.Box_detailabout .Title_misson {
  font-size: 36px;
  color: #C9A646;
  text-transform: uppercase;
  font-weight: 600;
}

.Box_detailabout .Detail_misson {
  font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 60px;
    line-height: 1.8;
}

#Sec_aboutpage .Image_aboutusshow img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

#Sec_whatmake {
  padding: 30px;
  height: auto;
}

#Sec_whatmake .Box_imageaccoundion img {
  width: 100%;
  object-fit: cover;
  height: 650px;
}

#Sec_whatmake .Title_what {
  font-size: 20px;
  color: #C9A646;
  text-transform: uppercase;
}

#Sec_whatmake .Subtitle_what {
  font-size: 36px;
  color: #0C407A;
  text-transform: uppercase;
  font-weight: 600;
}

#Sec_whatmake .Subthai_what {
  font-size: 36px;
  color: #0C407A;
}




.faq-section {
  max-width: 900px;
  margin: auto;
  padding: 10px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-title {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 0;
  font-size: 22px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-title .icon {
  font-size: 26px;
  font-weight: 300;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content p {
  padding: 0 0 20px;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* เปิดอยู่ */
.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-item.active .icon {
  content: "−";
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .faq-title {
    font-size: 18px;
    padding: 18px 0;
  }

  .faq-content p {
    font-size: 15px;
  }
}


#Sec_tabtwo {
  padding: 50px;

}

.tab-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.tab-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #c9a24d;
  cursor: pointer;
  padding-bottom: 8px;
  position: relative;
}

.tab-btn.active {
  color: #c9a24d;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c9a24d;
}

/* CONTENT */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f3f3;
}

.tab-text {
  padding: 40px;
}

.tab-text h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #0C407A;
  font-weight: 600;
}

.tab-text ul {
  padding-left: 20px;
}

.tab-text li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .tab-header {
    gap: 20px;
    flex-wrap: wrap;
  }

  .tab-grid {
    grid-template-columns: 1fr;
  }

  .tab-text {
    padding: 25px;
  }

  .tab-btn {
    font-size: 14px;
  }
}


#Sec_topbanner {
  padding: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 350px;
  display: flex;
  justify-content: center;  /* กลางแนวนอน */
  align-items: center;      /* กลางแนวตั้ง */
}

.Box_topbanner {
  text-align: center;
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  padding-top: 50px;
}

.Box_topbanner .breadcrumb {
  display: flex;
  justify-content: center;   /* จัดกึ่งกลางแนวนอน */
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.breadcrumb {
  font-size: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #c9a24d; /* สีทองแบบหรู */
}

.breadcrumb .separator {
  color: #ffffff;
}

.breadcrumb .current {
  color: #ffffff;
  font-weight: 500;
  font-family: "Noto Sans Thai", sans-serif;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 13px;
    flex-wrap: wrap;
  }
}




/*-----------------------------------------
    PAGE PRODUCTS
-------------------------------------------*/

#Sec_boxproduct {
  padding: 50px;
}

#Sec_boxproduct .Title_depproduct {
  font-size: 20px;
  color: #0C407A;  
}

#Sec_boxproduct .SubTitle_depproduct {
  font-size: 36px;
  color: #C9A646;
  font-weight: 500;
}

#Sec_boxproduct .Detail_depproduct {
  font-size: 18px;
  max-width: 550px;
  margin: 0 auto;
  padding: 0 60px;
  line-height: 1.8;
}


#Sec_boxproduct .product-tab-section {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

/* TAB MENU */
#Sec_boxproduct .product-tabs {
  text-align: center;
  margin-bottom: 40px;
}

#Sec_boxproduct .product-tabs span {
  margin: 0 10px;
  color: #c9a24d;
  font-size: 24px;
}

#Sec_boxproduct .tab-link {
  background: none;
  border: none;
  font-size: 22px;
  color: #222;
  cursor: pointer;
  position: relative;
}

#Sec_boxproduct .tab-link.active {
  color: #c9a24d;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* TAB CONTENT */
#Sec_boxproduct .tab-content {
  display: none;
}

#Sec_boxproduct .tab-content.active {
  display: block;
}

/* PRODUCT GRID */
#Sec_boxproduct .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

#Sec_boxproduct .product-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

#Sec_boxproduct .product-card-footer a {
  text-decoration: none;
}

#Sec_boxproduct .product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

#Sec_boxproduct .product-card-footer h3 {
  margin: 0;
  font-size: 18px;
  color: #1d2243;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ARROW */
#Sec_boxproduct .product-card .arrow {
  flex-shrink: 0;
  border: 1px solid #c9a24d;
  color: #c9a24d;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s;
}

#Sec_boxproduct .product-card:hover .arrow {
  border: 1px solid #c9a24d;
  color: #ffffff;
  background-color: #c9a24d;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  #Sec_boxproduct .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  #Sec_boxproduct .product-grid {
    grid-template-columns: 1fr;
  }

  #Sec_boxproduct .tab-link {
    font-size: 16px;
  }
}





/*-----------------------------------------
    PAGE PRODUCTS DETAIL
-------------------------------------------*/

#Sec_boxproductdetail {
  padding: 80px 0px 80px 0px;
  background: linear-gradient(to right, #FFFEFE, #E8E8E8);
height: 700px;
}

.amount p {
  font-size: 16px;
  color: #E69049;
  font-size: 14px;
  border: 1px solid #E69049;
  padding: 5px;
  border-radius: 50px;
  width: 30%;
  text-align: center;
}

/* ===== LAYOUT ===== */
.product-detail {
  max-width: 1200px;
  margin: auto;
}

.product-gallery {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  height: 350px;

}

/* ===== THUMBNAILS ===== */
.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-thumbs img {
  width: 100%;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: 0.3s;
  max-height: 100px;
  object-fit: cover;
}

.product-thumbs img:hover,
.product-thumbs img.active {
  border-color: #c9a24d;
}

/* ===== MAIN IMAGE ===== */
.product-main {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
  aspect-ratio: 4 / 5;      /* 🔥 ปรับสัดส่วนตามรูปสินค้า */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;      /* ไม่มีวันขาด */
  object-position: center;
  transition: transform 0.25s ease-out;
  will-change: transform;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    flex-direction: row;
    justify-content: center;
  }

  .product-thumbs img {
    width: 70px;
  }
}


.Title_name {
  color: #C9A646;
  font-size: 14px;
}

.Name_productsHead {
  font-size: 30px;
  color: #0C407A;
  font-weight: 600;
}

.Price_products span {
  font-size: 26px;
  font-weight: 600;
  color: #0C407A;
  font-family: "Noto Sans Thai", sans-serif;
}

.Price_products {
  font-size: 18px;
}

.Detail_Dep {
  font-size: 16px;
  margin: 0 auto;
  line-height: 1.8;
}

.Box_noteimg img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}

.Box_depnote {
  font-size: 16px;
  margin: 0 auto;
  padding-top: 5px;
}

.Box_nameber {
  color: #C9A646;
  font-size: 16px;
  font-weight: 500;
}

.Box_nameber span {
  color: #2E2E2E;
  font-size: 16px;
}



/* ===== Video products Detail ===== */

.video-btn {
  text-decoration: none;
  color: #c9a24d;
  background: #c9a24d00;
  font-size: 16px;
  font-weight: 500;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-box {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-box iframe {
  width: 100%;
  height: 100%;
}

.video-box .close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.fa-play-circle:before {
    content: "\f144";
    font-size: 24px;
    margin-top: 5px;
}




/*-----------------------------------------
    PAGE PROMOTION
-------------------------------------------*/

#Sec_promotionpage {
  padding: 80px 0px 80px 0px;
}

.Title_promotion span {
    font-size: 20px;
    color: #0C407A;
    text-transform: uppercase;
}

.Subtitle_promotion p {
    font-size: 36px;
    color: #C9A646;
    text-align: center;
    font-weight: 500;
}

.Show_promotionimg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 30px;
  margin-bottom: 30px;
}

#Sec_pagenesshow a {
  text-decoration: none;
}




/*-----------------------------------------
    PAGR NEWS
-------------------------------------------*/

#Sec_pagenesshow {
  padding: 70px 0px 70px 0px;
  background: linear-gradient(to right, #FFFEFE, #E8E8E8);
}

/* ---------------- News Card ---------------- */

.news-card {
  width: 100%;
  overflow: hidden;
  transition: 0.3s ease;
}

/* Image */
.news-image {
  position: relative;
}

.news-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* Badge */
.news-badge {
    position: absolute;
    bottom: -1px;
    background: #c9a24d;
    color: #fff;
    font-size: 13px;
    padding: 5px 29px;
    border-radius: 0px 20px 0px 0px;
    font-family: "Noto Sans Thai", sans-serif;
}

/* Content */
.news-content {
    padding: 18px 0px 24px;
}

.news-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  color: #0a2240;
  margin: 6px 0 10px;
  line-height: 1.4;
}

.news-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .news-image img {
    height: 220px;
  }

  .news-title {
    font-size: 18px;
  }
}



/*-----------------------------------------
    PAGE NEWS DETAIL
-------------------------------------------*/

#Sec_pagedetailshow {
  padding: 70px 0px 70px 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.Title_newsdetail span {
  font-size: 16px;
  color: #D7A739;
  text-transform: uppercase;
}

#Sec_pagedetailshow .news-badge {
    position: relative;
    bottom: -1px;
    background: #E69049;
    color: #fff;
    font-size: 13px;
    padding: 5px 29px;
    border-radius: 20px 20px 20px 20px;
    font-family: "Noto Sans Thai", sans-serif;
}

#Sec_pagedetailshow .News_head p {
    font-size: 30px;
    color: #0C407A;
    font-weight: 600;
    padding-top: 20px;
}


/* ---------------- Gallery Grid ---------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.35s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ---------------- Lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.15);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 991px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 220px;
  }
}







/*-----------------------------------------
    PGAE CONTACT US
-------------------------------------------*/
.Detail_contactus {
  padding: 60px;
}

.Title_contactusspan {
    font-size: 20px;
    color: #0C407A;
    text-transform: uppercase;
}

.Subtitle_contactus {
  font-size: 36px;
  color: #C9A646;
}

.Clock_date p {
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

.Icon_Address i {
    color: white;
    background-color: #D7A739;
    border-radius: 5px;
    padding: 5px;
    width: 7%;
    text-align: center;
    margin-right: 5px;
}

/* ===== IMAGE RIGHT SIDE ===== */
.contact-image {
  position: relative;
  width: 100%;
  height: 100%;
  background: #061726;          /* พื้นหลังโทนเข้ม */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px;
}

.contact-image img {
  width: 100%;
  height: auto;
  object-fit: contain;          /* ❗ ไม่ตัดภาพ */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact-image {
    padding: 30px;
  }

  .contact-image img {
    max-width: 420px;
  }
}

@media (max-width: 576px) {
  .contact-image {
    padding: 20px;
  }

  .contact-image img {
    max-width: 100%;
  }
}


 

.map-box {
  margin-top: 25px;
}

.map-text {
    font-size: 26px;
    color: #1c3552;
    margin-bottom: 15px;
    font-weight: 600;
}

.map-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTONS */
.map-btn-group a {
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-primary {
  background: #0f2f4f;
  color: #fff;
}

.btn-gold {
  background: #c9a24d;
  color: #fff;
}

.map-btn-group a:hover {
  opacity: 0.85;
}

/* POPUP */
.map-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.map-popup.show {
  display: flex;
}

.map-popup-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #fff;
  padding: 15px;
}

.map-popup-inner img {
  width: 100%;
  height: 600px;
  display: block;
  object-fit: cover;
}

/* CLOSE */
.map-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 576px) {
  .map-btn-group {
    flex-direction: column;
  }

  .map-btn-group a {
    width: 100%;
  }
}

hr.new1 {
  border-top: 1px solid #D9D9D9;
  margin-top: 30px;
}







/*-----------------------------------------
    RESPONSIVE
-------------------------------------------*/
@media screen and (max-width:767px){
    .banner-mobile{
        display: block;
    }
    .banner-tablet{
        display: none;
    }
    .banner-desktop{
        display: none;
    }
    .hero-swiper {
      width: 100%;
      height: 100%;
      min-height: 300px;
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    .swiper-backface-hidden .swiper-slide {
      height: 300px;
      object-fit: cover;
    }
    #Sec_about {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 30px 20px;
    }
    .Subtitle_about p {
      font-size: 26px;
      color: #C9A646;
    }
    .Subtitle_about span {
      font-size: 26px;
      color: #C9A646;
    }
    .Dep_about p {
      font-size: 18px;
      width: 100%;
      margin: 0 auto;
      padding: 0 0px;
      line-height: 1.8;
    }
    .Image_aboutleft img {
      max-width: 100%;
      height: 300px;
      object-fit: cover;
      padding-left: 0px;
      transition: transform 0.6s ease;
    }
    .Image_aboutright img {
      max-width: 100%;
      height: 300px;
      object-fit: cover;
      padding-left: 0px;
      transition: transform 0.6s ease;
      margin-top: 30px;
    }
    .marquee-inner {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 50s linear infinite;
      font-size: 30pt;
      font-weight: 500;
      color: #d7a73952;
      padding-top: 50px;
    }
    #Sec_slogan span {
      font-family: "Noto Sans Thai", sans-serif;
      font-size: 26px;
      background: linear-gradient(to right, #F2E3BA, #C9A646, #C9A646);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 600;
    }
    #Sec_slogan {
      padding: 40px 16px;
      height: auto;
      min-height: 40vh;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: scroll;
    }
    #Sec_slogan p {
      color: white;
      text-align: center;
      font-size: 22px;
      font-weight: 500;
    }
    #Sec_products .Box_textproducts {
      padding-left: 0px;
    }
    #Sec_products {
      padding-left: 20px;
      padding-right: 20px;
    }
    .marquee-inner2 {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 50s linear infinite;
      font-size: 30pt;
      font-weight: 500;
      color: #ffffff5e;
      padding-top: 50px;
    }
    #Sec_News {
      padding-top: 50px;
      padding-bottom: 80px;
      padding-left: 20px;
      padding-right: 20px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .Subtitle_news p {
      font-size: 26px;
      color: #C9A646;
    }
    .Subtitle_news span {
      font-size: 26px;
      color: #C9A646;
    }
    .Show_newsone img {
      height: 220px;
      object-fit: cover;
      width: 100%;
    }
    .Show_newsone {
      margin-bottom: 24px;
    }
    #footer {
      background: radial-gradient(circle at 30% 30%, var(--c2) 0%, var(--c1) 30%, var(--c3) 100%);
      padding: 10px 20px 10px 20px;
      color: white;
    }
    .Noti_note p {
      text-align: center;
      font-size: 10px;
    }
    .page_poliry p {
      text-align: center;
      font-size: 10px;
      padding-top: 5px;
    }
    #Sec_aboutpage {
      padding: 40px 20px;
    }
    #Sec_aboutpage .Title_about {
    font-size: 26px;
    color: #C9A646;
    font-weight: 500;
}
#Sec_aboutpage .Subtitle_aboutpage p {
    font-size: 26px;
    color: #0C407A;
    font-weight: 500;
}

#Sec_aboutpage .Image_Showpageabout img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}
.Box_detailabout .Detail_vision {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
    line-height: 1.8;
}
.Box_detailabout .Title_vision {
    font-size: 26px;
    color: #C9A646;
    text-transform: uppercase;
    font-weight: 600;
}

.Box_detailabout .Title_misson {
    font-size: 26px;
    color: #C9A646;
    text-transform: uppercase;
    font-weight: 600;
}

.vm-divider {
    width: 80px;
    height: 70px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Sec_aboutpage .Image_aboutusshow img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 20px;
}

#Sec_whatmake .Box_imageaccoundion img {
    width: 100%;
    object-fit: cover;
    height: 300px;
    margin-bottom: 20px;
}

#Sec_whatmake .Subtitle_what {
    font-size: 22px;
    color: #0C407A;
    text-transform: uppercase;
    font-weight: 600;
}

#Sec_whatmake .Subthai_what {
    font-size: 22px;
    color: #0C407A;
}

#Sec_tabtwo {
    padding: 20px;
}

.tab-section {
    max-width: 1200px;
    margin: auto;
    padding: 10px 10px;
}

#Sec_whatmake {
    padding: 20px;
    height: auto;
}

#Sec_boxproduct {
    padding: 40px 20px;
}

#Sec_boxproduct .SubTitle_depproduct {
    font-size: 26px;
    color: #C9A646;
    font-weight: 500;
}

#Sec_boxproduct .Detail_depproduct {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
    line-height: 1.8;
}

#Sec_boxproduct .product-tab-section {
    max-width: 1200px;
    margin: auto;
    padding: 10px 10px;
}

#Sec_boxproductdetail {
    padding: 60px 20px 80px 20px;
    background: linear-gradient(to right, #FFFEFE, #E8E8E8);
    height: auto;
}

.product-main {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.product-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.Box_detailpageshow {
  padding-top: 90px;
}

#Sec_promotionpage {
    padding: 60px 20px 80px 20px;
}


#Sec_promotionpage .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-0 * var(--bs-gutter-y));
    margin-right: calc(-.0 * var(--bs-gutter-x));
    margin-left: calc(-.0 * var(--bs-gutter-x));
}

.Show_promotionimg img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 10px;
}

#Sec_pagenesshow {
    padding: 60px 20px 70px 20px;
    background: linear-gradient(to right, #FFFEFE, #E8E8E8);
}

#Sec_pagedetailshow {
    padding: 60px 20px 70px 20px;
}

#Sec_pagedetailshow  {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.Detail_contactus {
    padding: 30px 20px;
}

.Subtitle_contactus {
    font-size: 26px;
    color: #C9A646;
}

.map-popup-inner img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
}








}

@media screen and (min-width:768px) and (max-width:1279px){
    .banner-mobile{
        display: none;
    }
    .banner-tablet{
        display: block;
    }
    .banner-desktop{
        display: none;
    }
}

/* Tablet home section fixes (Bootstrap md = 768-991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .Image_aboutleft img {
    padding-left: 0;
    height: 350px;
  }
  .Image_aboutright img {
    padding-left: 0;
    height: 400px;
    margin-top: 24px;
  }
  .Button_about {
    text-align: left !important;
  }
  #Sec_slogan {
    height: auto;
    min-height: 45vh;
    padding: 60px 20px;
    background-attachment: scroll;
  }
  #Sec_slogan p {
    font-size: 20px;
  }
  #Sec_slogan span {
    font-size: 32px;
  }
  #Sec_products .Box_textproducts {
    padding-left: 20px;
    padding-bottom: 30px;
  }
  #Sec_News {
    padding: 60px 30px;
  }
  .Subtitle_about p,
  .Subtitle_about span {
    font-size: 28px;
  }
  .Show_newsone img {
    height: 280px;
  }
}
@media screen and (min-width:1280px){
    .banner-mobile{
        display: none;
    }
    .banner-tablet{
        display: none;
    }
    .banner-desktop{
        display: block;
    }
}
@media screen and (min-width:320px) and (max-width:374px){

}
@media screen and (min-width:375px) and (max-width:413px){

}
@media screen and (min-width:414px) and (max-width:424px){

}
@media screen and (min-width:425px) and (max-width:767px){

}
@media screen and (min-width:768px) and (max-width:1023px){

}
@media screen and (min-width:1024px) and (max-width:1279px){

}
@media screen and (min-width:1280px) and (max-width:1359px){

}
@media screen and (min-width:1360px) and (max-width:1439px){

}
@media screen and (min-width:1440px) and (max-width:1599px){

}
@media screen and (min-width:1600px) and (max-width:1919px){

}
@media screen and (min-width:1920px) and (max-width:2559px){

}
@media screen and (min-width:2560px) {

}