

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+Thai:wght@100..900&display=swap');

html { font-size: 100%;}

body {font-family: "Noto Sans Thai","Inter", sans-serif; color: #333;  background-color: #FFF; margin: 0; padding: 0; font-size: 1rem; font-size: 100%;}

.logo{height: 120px;}

@media (max-width: 575.98px) {

.logo {  height: 75px;}

}

/*##################### TOPMENU ####################*/

.topmenu .navbar-nav { /*margin: 0 auto;*/ display: flex; justify-content: center; }

.topmenu .navbar-nav .nav-item {  margin-right: 4rem; }

.topmenu .navbar-nav .nav-item:first-child, .topmenu .navbar-nav .nav-item:first-child .nav-link.active { padding-left: 0 !important;}

@media (min-width: 991px) and (max-width: 1999.98px) {

  .topmenu .navbar-nav .nav-item {  margin-right: 2rem; }

}

@media (min-width: 1200px) {

  .topmenu .navbar-nav .nav-item {  margin-right: 4rem; }

}

.topmenu .nav-link,.topmenu .dropdown-item { color: #160B8B; font-size: 1.125rem; font-weight: 500; text-decoration: none;}

.topmenu .nav-link.active { color: #0066FF; }



/* Dropdown styles */

.dropdown-menu { margin-top: 0; border: none; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; display: none; margin-top: -6px; margin-left: -1px; }



/* Level 2 shows on hover of Level 1 */

.dropdown:hover > .dropdown-menu { display: block; animation: fadeIn 0.3s; }

/* Level 3 shows only after Level 2 is shown */

.dropdown-submenu:hover > .dropdown-menu { display: block; animation: fadeIn 0.3s; }



/* ปรับแต่งเมนูที่เปิดด้วยการคลิก */

.dropdown-menu.show {

  display: block;

}



/* ป้องกันการปิดเมนูเมื่อ hover ออก */

@media (min-width: 992px) {

  .dropdown-menu.show { pointer-events: auto;  }

  

  /* ปรับตำแหน่งเมนูย่อย */

  .dropdown-submenu > .dropdown-menu.show { top: 0; left: 100%; margin-top: -6px;  margin-left: -1px; }

  

  /* ปรับตำแหน่งเมนูสำหรับมือถือ */

  .dropdown-menu[data-bs-popper] { margin-top: 0; }

}



@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }



/* Default - all dropdown toggles point down */

.dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; }



/* Desktop - make nested dropdowns point right */

@media (min-width: 992px) {

  /* Point right dropdown toggles */

  .dropdown-menu .dropdown-toggle::after { border-top: 0.3em solid transparent; border-right: 0; border-bottom: 0.3em solid transparent; border-left: 0.3em solid; float: right; margin-left: 0; margin-top: 8px; }



  /* "สินค้า" menu pointing down */

  #productsDropdown.dropdown-toggle::after { border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; float: none; margin-left: 0.255em; }

}



/* Search popup */

.search-icon { cursor: pointer; padding: 8px 10px; color: #6c757d; transition: color 0.2s; }

.search-icon:hover { color: #0d6efd; }

.search-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1050; align-items: center; justify-content: center; }

.search-modal.active { display: flex; animation: fadeIn 0.3s; }

.search-box { background: white; padding: 2rem; border-radius: 8px; width: 90%; max-width: 600px; position: relative; }

.search-box .form-control { height: 50px; font-size: 1.2rem; padding: 10px 20px; }

.search-box .btn { height: 50px; font-size: 1.2rem; }

.close-search { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #6c757d; }



/* Language selector */

.language-selector .btn { border: none; padding: 8px 10px; background: transparent; }

.language-selector .dropdown-menu { min-width: 120px; }

.flag-icon { height: 20px; margin-right: 5px; object-fit: cover; }



/* Responsive adjustments */

@media (max-width: 991.98px) {

  .navbar-nav { flex-direction: column; }

  .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; box-shadow: none; }

  .dropdown-submenu > .dropdown-menu { position: static; left: auto; margin-left: 15px; }

}



/*##################### Carousel #####################*/

.carousel-container {  margin-top: 10px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(13,34,61,0.9) 120%); }

.carousel-item { position: relative;}

.carousel-item img { height: 500px; overflow: hidden; object-fit: cover; object-position: bottom; display: block; width: 100%;}

.carousel-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 80%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(13,34,61,0.1) 100%); z-index: 1;}

.carousel-caption { z-index: 2; position: absolute; bottom: 40px; left: 40px; right: 40px; text-align: left; color: white;}

.caption-slide {font-size: 2rem; font-weight: 300; text-align: center;}

.carousel-control-prev-icon,

.carousel-control-next-icon { border-radius: 50%; padding: 15px; }

.carousel-indicators {margin-bottom: 2rem;}

.carousel-indicators button, .carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; background-color: #9F9F9F; border: none; margin: 0 6px; opacity: 0.7; transition: background-color 0.3s ease, opacity 0.3s ease; cursor: pointer; box-sizing: content-box !important; flex: 0 1 auto !important; }

.carousel-indicators button.active, .carousel-indicators [data-bs-target].active { background-color: #FFF; opacity: 1; }

@media (max-width: 575.98px) {

  .carousel-item img { height: 350px;}

  .caption-slide { font-size: 1.5rem;}

}

.bg-gray{ background-color: #f2f2f2; text-align: center;}

.lead {font-size: 1.375rem; font-weight: 400;}

.bti-name-en{ font-family: "Inter"; color: #160B8B; font-size: 2.25rem; font-weight: 600; word-break: break-all;}

.bti-name-th{ font-family: "Noto Sans Thai"; color: #000000; font-size: 1.5rem; font-weight: 500;}

.line01{border: 3px solid #EC2A33; width: 100px; margin: 0 auto 10px auto; border-radius: 10px;}

.btn-about{padding: 5px 0px; width: 200px; color: #FFF; font-family: "Inter"; font-size: 1.125rem; font-weight: 500; background: #160B8B; border-radius: 23px;}

.btn-about:hover{ background: #0066FF; color: #FFF; text-decoration: none;}

@media (max-width: 575.98px) {

  .bti-name-en{ font-size: 1.8rem;}

}

/*##################### Products #####################*/

.section-title {font-family: "Noto Sans Thai"; font-size: 1.5rem; font-weight: 500; text-align: left; margin-bottom: 30px;font-weight: bold; color: #111; border-bottom: 2px solid #111; padding-bottom:5px;}

.thumbnail-card { transition: transform 0.3s; }

.thumbnail-card:hover{transform: scale(1.03); }

.thumbnail-card img {border-radius: 8px;}

.thumbnail-title {font-family: "Noto Sans Thai"; font-size: 1.3125rem; font-weight: 600; color: #000; margin-top: 20px;}

.thumbnail-desc{font-family: "Noto Sans Thai"; color:#A0A0A0;font-size: 1rem; margin-top: 5px; height: 73px;}

.btn-readmore{font: 1rem "Noto Sans Thai"; color: #111; font-weight:400; border:1px solid #160B8B; border-radius: 23px; text-decoration: none; padding:2px 15px;}

.btn-readmore:hover{color: #0066FF; background-color: #f2f2f2;border:1px solid #0066FF;}

@media (max-width: 575.98px) {

  .thumbnail-card {text-align: center;  }

}

/*##################### Promotion #####################*/

.promotion-item { position: relative; overflow: hidden; border-radius: 8px; transition: transform 0.2s; }

.promotion-item:hover{transform: translateY(-5px);}

.image-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.6) 100%); z-index: 1;}

.promotion-item img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: bottom; }

.overlay-text { position: absolute; bottom: 18px; left: 60px; color: white; font-weight: 500; font-size: 1.2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.6); z-index:2;}

@media (max-width: 575.98px) {

  .overlay-text{left: 10px; }

  .promotion-item{ height: 250px; }

  .promotion-item.banner-promotion-01{ height: 325px; object-fit: contain;  }

} 

/*##################### Recommended Products & Best Sellers #####################*/

.recommended-card {height: 360px; position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); transition: transform 0.2s; }

.recommended-card:hover {transform: translateY(-5px); }

.recommended-card img { width: 100%; height: 100%; display: block; object-fit: cover;}

.best-sellers-item .recommended-overlay {height: 20%; background: linear-gradient(180deg, rgba(112,112,112,100%) 0%, rgba(112,112,112,1) 100%); display: flex; align-items: center; }

.best-sellers-item img { object-position: bottom;}

.recommended-overlay  { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 25%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.8) 100%); z-index: 1;

 color: white;  padding: 10px 15px; font-weight: 500;  font-size: 1.2rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.6);}

.arrow-icon { position: absolute;  right: 15px;  bottom: 20px; height: auto !important; width: 30px !important; color: white; }



@media (max-width: 1025px) {

  .recommended-card { height: 300px; }

  .recommended-overlay { height:40%;}

}



@media (max-width: 767.98px) {

  .recommended-card { height: 300px; }

  .recommended-overlay { height:30%;}

}

@media (max-width: 575.98px) {

  .recommended-card { height: 250px; }

  .recommended-overlay {  height: 30%;}

}

@media (max-width: 380px) {

  .recommended-card { height: 250px; }

  .recommended-overlay {  height: 40%;}

}



/*##################### Our Customers #####################*/

.bg-our-customers{background-color: #160B8B;}

.section-title2 {font-family: "Noto Sans Thai"; font-size: 1.5rem; font-weight: 500; text-align: left; margin-bottom: 30px; font-weight: bold; color: #FFF; border-bottom: 2px solid #FFF; padding-bottom:5px;}

.customers-logo { width: 120px; height: 120px; max-height: 120px; overflow: hidden; border-radius: 50%; background-color: #fff; text-align: center; display: flex; align-items: center; justify-content: center; margin: 0 auto; box-shadow: 0 0 8px rgba(0,0,0,0.05); margin-bottom: 8px; }

.customers-logo img { width: 80%; height: 80%; object-fit: contain; object-position: center;}

.bg-our-customers .carousel-control-prev,

.bg-our-customers .carousel-control-next { width: 5%;}

.bg-our-customers .carousel-control-prev { left: -30px; }

.bg-our-customers .carousel-control-next { right: -30px; }

@media (max-width: 575.98px) {

.bg-our-customers .carousel-control-prev { left: 3px; }

.bg-our-customers .carousel-control-next { right: 3px; }

}

@media (min-width: 575px) and (max-width: 607px) {

.bg-our-customers .carousel-control-prev { left: 0px; }

.bg-our-customers .carousel-control-next { right: 0px; }

}

/* Optional: เพิ่มพื้นหลังให้อ่านง่าย */

.bg-our-customers .carousel-icon-wrapper { background-color: rgba(0, 0, 0, 0.4); border-radius: 50%; padding:5px; display: inline-flex; align-items: center; justify-content: center;}



/*##################### line add #####################*/

.line-add {text-align: center;}

.line-add img {border-radius: 8px;}

.line-add p{font-family: "Noto Sans Thai"; font-size: 2.25rem; font-weight: 400;}

.line-add-bold {font-weight: 700; font-size: 2.625rem; color: #160B8B;}

@media (max-width: 575.98px) {

.line-add p {font-size: 1.8rem;}

.line-add-bold {font-size: 2rem;}

}

/*##################### Our Customers #####################*/

.bg-footer{background-color:#F2F2F2; color: #000; font-size: 1rem;}

.name-bottom {font-family: "Noto Sans Thai"; font-size: 1.3125rem; font-weight: 600; color: #160B8B; margin-top: 10px;}

.border-gray{border-color: #b8b8b8;}

.link-mail{ color: #000; text-decoration: none;}

.link-mail:hover{color: #160B8B;}

.link-menubottom li a{ color: #000; text-decoration: none;}

.link-menubottom li a:hover{color: #160B8B;}



@media (min-width: 767.98px) {

  .mt-desktop-120 { margin-top: 120px; }

}

.copyright{font-size: 0.875rem;}



/*##################### floating-icons LINE & PHONE #####################*/

.floating-icons { position: fixed; bottom:30px; right: 20px; display: flex; flex-direction: column; gap: 20px; z-index: 1000; }

.floating-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: all 0.3s ease; }

.floating-icon:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.floating-icon img { width: 55px; height: auto; }



/*##################### cookie consent #####################*/

.cookie-consent { position: fixed; bottom: 0px; left: 0; right: 0; background-color: #333333; color: #FFF; font-weight: 400; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; z-index: 9999; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); }

.cookie-consent p { margin: 0; padding: 0; flex: 1; min-width: 250px; font-size: 14px; line-height: 1.4; }

.cookie-consent a { color: #66CCFF; text-decoration: underline; font-weight: 400;}

.cookie-consent-buttons { display: flex; gap: 10px; margin-left: 20px; }

.cookie-consent-button { padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color 0.3s; }

.accept-button { background-color: #3E3E3E; color: white; border:1px solid #FFF; }

.accept-button:hover { background-color: #0066FF; }

.close-button { background-color: #757575; color: white; }

.close-button:hover { background-color: #616161; }

@media (max-width: 600px) {

  .cookie-consent { flex-direction: column; text-align: center; }

  .cookie-consent-buttons { margin-left: 0; margin-top: 15px; width: 100%; justify-content: center; }

}



/*##################### Breadcrumb #####################*/

.breadcrumb-item {font-size: 0.875rem !important;}



/*##################### CONTENT #####################*/

.page-title {font-family: "Noto Sans Thai"; font-size: 1.5rem; font-weight: 500; text-align: center; margin-bottom: 30px;font-weight: bold; color: #111; border-bottom: 2px solid #111; padding-bottom:5px;}

.img-about { aspect-ratio: 16/9; overflow: hidden;}

.img-about img { width: 100%;  height: 100%; object-fit: cover; display: block;}

.title1{font-family: "Noto Sans Thai"; font-size: 1.4rem; font-weight: 500; color: #000;}

.btn-about2{padding: 5px 20px; color: #FFF; font-family: "Inter"; font-size: 1.125rem; font-weight: 500; background: #160B8B; border-radius: 23px;}

.btn-about2:hover{ background: #0066FF; color: #FFF; text-decoration: none;}

.text-order {color: #160B8B; font-family: "Noto Sans Thai"; font-size: 2.25rem;}



.menu-category { text-decoration: none; color: #000; font-size: 1.125rem; font-weight: 600; cursor: pointer; transition: color 0.3s ease, text-decoration 0.3s ease; outline-offset: 2px; }

.menu-category a { margin-right: 30px; color: inherit; text-decoration: none; transition: color 0.3s ease, text-decoration 0.3s ease; cursor: pointer; }

.menu-category a:hover, .menu-category a:focus-visible { color: #0052CC;  text-decoration: none;  border-bottom: 2px solid #0052CC; padding-bottom: 0px;  outline: none; }

.menu-category a.active { color: #0052CC; font-weight: 600; text-decoration: none; border-bottom: 2px solid #0052CC; padding-bottom: 0px;}



/*##################### PRODUCTS #####################*/

.card-products { background-color: transparent; border: none; box-shadow: none; transition: box-shadow 0.3s ease, transform 0.2s ease; border-radius: 8px; padding: 0; }

.card-products img { border-radius: 8px; width: 100%; height: 253px; object-fit: cover; transition: transform 0.3s ease, box-shadow 0.3s ease; display: block; }

.card-text-products { padding: 12px 16px; text-align: left; }

.card-text-products p { color: #111; font-size: 1.125rem; font-weight: 600; margin: 8px 0; line-height: 1.4; }

.card-products:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);  transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease; }

.card-products a { text-decoration: none; color: inherit; }



.pagination .page-link { color: #2A29A4; border: 1px solid #2A29A4; font-weight: 400; margin: 0 10px; transition: all 0.2s ease; border-radius: 6px; }

.pagination .page-link:hover { background-color: #2A29A4; color: #fff; }

.pagination .page-item.active .page-link { background-color: #2A29A4; border-color: #2A29A4; color: #fff; }

.pagination .page-item.disabled .page-link { color: #ccc; pointer-events: none; background-color: #f8f9fa; border-color: #dee2e6; }



.img-products-detail{ border: 1px solid #a6a6a6; border-radius: 3px; background-color: #FFF; height: auto; max-height: 783px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease; }

.img-products-detail img { max-width: 100%; height: auto; border-radius: 3px;  display: inline-block;}

.product-title{font-family: "Noto Sans Thai";  color: #150101; font-size: 1.5rem; font-weight: 600; }

.product-title2{font-family: "Noto Sans Thai";  color: #150101; font-size: 1.1rem; font-weight: 600; }

.btn-request-quote { padding: 8px 30px;  color: #FFF; font-family: "Noto Sans Thai";  font-size: 1.125rem; font-weight: 500; background: #160B8B;  border-radius: 23px; transition: transform 0.2s ease-in-out;}

.btn-request-quote:hover{ background: #1d10b3; color: #FFF; text-decoration: none; transform: scale(1.05);}

.btn-line-official-account img{  transition: transform 0.2s ease-in-out;}

.btn-line-official-account:hover img{ transform: scale(1.05);}



/*##################### CONTACT #####################*/

.contact-title{font-family: "Noto Sans Thai";  color: #150101; font-size: 1.5rem; font-weight: 600; }

.card-contact{ border: 1px solid #a6a6a6; border-radius: 3px; background-color: #FFF; height: auto; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease; }

.card-contact iframe { width: 100%; height: 400px; border: none; border-radius: 3px; padding: 20px;}

.circle-icon {width: 40px; height: 40px; background-color: #160F8B; display: flex; align-items: center; justify-content: center;  color: #fff; font-size: 1rem;}

.contact-list a,.contact-list{color: #000;}

.contact-list a:hover{color: #0052CC;}

.btn-contact { padding: 10px 35px;  color: #FFF; font-family: "Noto Sans Thai";  font-size: 1.125rem; font-weight: 500; background: #160B8B;  border-radius: 23px; transition: transform 0.2s ease-in-out;}

.btn-contact:hover{ background: #1d10b3; color: #FFF; text-decoration: none; transform: scale(1.05);}





.small.text-muted,

.pagination-summary {

    display: none !important;

}