body {
    color: #000 !important;
    font-family: 'Sarabun', sans-serif;
     
 
}
button,
a.btn {
    font-family: 'Prompt', sans-serif !important;
}

#accordion-3 ,button {
    font-family: 'Prompt', sans-serif !important;
}
.banner_font p.fs-24 {
    font-weight: normal !important;
}
.banner_font,
.header,
.hero-title,
h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    font-family: 'Prompt', sans-serif;
}


p:not(.banner_font p),
span:not(.banner_font span) {
  font-family: 'Sarabun', sans-serif !important;
  /* font-size: 1rem !important; */
  line-height: 1.6 !important;
  /* color: #111 !important; */
}


/* .accordion-wrapper .card-header {
   
    padding: .55rem 1.4rem .65rem;
} */


.accordion-wrapper .card-body {
    font-family: 'Sarabun', sans-serif !important;
    /* line-height: 1.6 !important; */
    padding-top: 0 !important;
    padding-bottom: 1.2rem !important;
    margin-top: -0.3rem !important;   /* ดึงขึ้นไปใกล้ header */
}


.navbar-stick {
  padding: 0.5rem 0;
   background-color:#fffef8 !important ;
}

.logo-banner img {
  max-height: 80px;
  height: auto;
  display: inline-block;
  padding: 0; /* หรือลบนี่ออกก็ได้เลย */
}

td:first-child {
  font-weight: bold;
}

@media (max-width: 767.98px) {
  .logo-banner img {
    max-width: 100px;
  }
}


.offcanvas-nav .navbar-nav,
.offcanvas-nav .navbar-nav .nav-link,
.offcanvas-nav .navbar-nav .dropdown-item {
  /* font-size: 18px !important; */
} 
.content-wrapper.bg-google section {
  background-color: #fffef8 !important;
}

/* header{

   background-color: #fffef8 !important;
} */

.bg-google{
  background-color: #fffef8 !important;
}


/* ปกติ (ยังไม่ scroll) */
.navbar.navbar-light.fixed .btn:not(.btn-expand):not(.btn-gradient) {
    background: #000;         /* สีดำ */
    border-color: #000;
    color: #fff;              /* ตัวอักษรขาว */
}

/* ตอน scroll แล้ว (คลาส .scrolled จะถูกเพิ่มเข้าไปที่ navbar) */
.navbar.scrolled .btn:not(.btn-expand):not(.btn-gradient) {
    background: #0d6efd;      /* Bootstrap primary น้ำเงิน */
    border-color: #0d6efd;
    color: #fff;
}



.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #000;
    --bs-btn-disabled-border-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
}

.banner_google h1{
     
    font-weight:inherit;

}


.banner_google .h1-google{
   
  font-weight:900;
}

.icon-dark{
    background-color: #000;
    color: #fff;
}

.footer.bg-dark, footer.bg-dark {
    background: #000 !important;
}


.card-body {
  flex: 1 1 auto;
   padding: 0.5rem 0.75rem;
  color: var(--bs-card-color);
}

.switcher-button {
  left: 0;
}
.pricing-switcher-active ~ .switcher-button {
  left: 30px; /* ปรับตามขนาดสวิตช์ */
}
@media (max-width: 767px) {
  .price-plan-n .row > div {
    margin-bottom: 2rem;
  }
}

.promo-text {
  color: #e63946;
  font-weight: bold;
}

.table-wrapper {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid #000;
  background-color: #fff;
}

.table-price-ss{
  
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;

   } 
     .table-price-zoho{
  
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;

   } 

   .table-price-s{
  
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;

   } 
    .table-price-ss-note{
  
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;

   } 

      .table-price-s-note{
  
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;

   } 

.table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table th,
.table td {
  border: 1px solid #ccc;
  /* padding: 0.4rem 0.5rem; */
   padding: 0.5rem 1rem; /* ปรับ padding บนล่าง 0.5rem, ซ้ายขวา 1rem */
  font-size: 0.9rem;
  line-height: 1.25;
  vertical-align: middle;
}

.table thead th {
  background-color: #fff;
  color: #000 !important;
  padding: 1.0rem 0.75rem;
  border-bottom: 2px solid #000 !important;
  /* border-left: none !important; */
  border-right: none !important;
}

.domain .table thead th {
    background-color: #fff;
    color: #000 !important;
    padding: 1.0rem 0.75rem;
    border-bottom: 3px solid #000 !important;
    border-left: none !important;
    border-right: none !important;
}

.domain table, th, td {
  border: none;
  border-collapse: collapse; /* ลบช่องว่างระหว่างเส้น */
     border-left: none !important;
    border-right: none !important;
}


.table tbody td {
  color: #000;
  font-size: 16px;
}

.text-decoration-line-through {
  text-decoration: line-through !important ;
}


.note-text {
  font-size: 1rem !important ;
  line-height: 1.7;
}
.note-red{
  color: #ef0320 !important;
}

.text-red{
color: #ef0320 !important;


}

.note-text p {
  line-height: 1.6;
}

ul.list-unstyled li {
  margin-bottom: 0.25rem;
}

/* ปรับขนาดใหญ่ขึ้น */
.switch-lg .form-check-input {
  width: 3.5rem;
  height: 2rem;
}

/* ปรับสี toggle เป็นดำ */
.black-switch:checked {
  background-color: #000; /* สีดำ */
  border-color: #000;
}

.black-switch {
  background-color: #ccc; /* สีก่อนเปิด */
  border-color: #ccc;
}

.black-switch:focus {
  box-shadow: none;
}

/* ปรับสีวงกลมภายใน toggle */
.black-switch::before {
  background-color: white;
  width: 1.2rem;
  height: 1.2rem;
  top: 0.4rem;
  left: 0.4rem;
}

/* ปรับตำแหน่งเมื่อเปิด */
.black-switch:checked::before {
  transform: translateX(1.5rem);
}

.icon_div{
   width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e6efff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .uil-check{
  color: #3366ff;
} */
td {
  vertical-align: middle;
}

.icon_div {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #dededf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
}

.uil-check {
  font-size: 14px;
  color: #000;
  line-height: 1;
  font-weight: 600;
}


.icon_div1 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fae3e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
}

.uil-times {
  color: #000; 
  font-size: 14px; 
  background-color: transparent !important;
  font-weight: 600;
}

.card.google ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card.google ul li {
  font-size: 0.7rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
}



.card.google {
  box-shadow: none !important;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.icon-row {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.divider-line {
  border: none;
  border-top: 1px solid #ccc;
   margin: 0.4rem 0;
  width: 90%; /* ไม่เต็มความกว้าง */
}


.icon-group {
  max-width: 100%;           /* ไม่ให้ล้น */
  overflow-wrap: break-word; /* เผื่อลิงก์หรือชื่อไฟล์ยาว */
  row-gap: 0.5rem;
  column-gap: 0.5rem;
  justify-content: center;
}

.icon-group img {
  display: block;
  margin-bottom: 0;
  max-height: 100%;
  object-fit: contain;
}

.price-hide {
  display: none;
}
/* .icon-group img {
  flex-shrink: 0;
  width: 24px;
  height: auto;
} */

/* .promo-box {
  background: #fff4f4;
  border-left: 6px solid #f2545b;
  padding: 1.5rem;
  border-radius: 0.5rem;
} */

.pricing-switcher {
  width: 50%;
  height: 40px;
  cursor: pointer;
  z-index: 2;
}

.pricing-switchers {
    position: relative;
    display: flex
;
    align-items: center;
    justify-content: space-between;
}

.switcher-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
  z-index: 1;
  pointer-events: none; /* ✅ เพื่อให้คลิกทะลุปุ่มได้ */
}

.switcher-button.move-right {
  left: calc(100% - 38px); /* ขยับไปทางขวา */
}
th {
  width: 260px;
  max-width: 260px;
}

/* th.off-th{
   width: revert-layer !important;
} */

.support figure img {

  max-width: 60px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.btn.btn-circle.bg-black {
  background-color: #000 !important;
  color: #fff;
}

.accordion-item {
  box-shadow: none !important;       /* เอาเงาออก */
  border: 1px solid #000 !important; /* เปลี่ยน border เป็นสีดำ */
}


.service figure img {
  max-width: 100%;
  width: 500px; /* หรือ 100% สำหรับ responsive */
  height: auto;
}


@media (max-width: 767.98px) {
  .trusted-card {
    /* top: 10px !important;           */
    right: -16px !important;       
    transform: scale(0.9) !important;
  }
}

.trusted-card {
  height: 120px; /* ✅ เพิ่มความสูงตรงนี้ */
  display: flex;
  flex-direction: column;
  justify-content: center; /* จัดข้อความให้อยู่กลางแนวตั้ง */
  align-items: center;

  top: -40px;
  right: 10px;
  background-color: #000;
  border-radius: 12px;
  z-index: 5;
  width: 190px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.trusted-card small {
  font-size: 13px;
  opacity: 0.85;
}

.trusted-card strong {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}


.img-shift-left {
  display: block;
  margin-left: -8px;
}





.google-icon-wrapper {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

.google-icon-wrapper img {
  display: inline-block !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.price-t{
  font-size: 25px !important;
}

/* .subbody b {
  font-weight: 300 !important;
} */




.subhead {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.6;
  
}

.subhead b {
  font-weight: 700;
}

.subbody {
  font-weight: 400;
  font-size: 1.1rem;
  
  max-width: 600px;
  line-height: 1.8;
}

.red-no{
    /* color: #ef0320 !important; */

}

.icon-32 {
  width: 50px;
  height: auto;
}

#quotation {
    background-color: #000 !important;
    color: #fff !important;
    text-align: center !important;
    padding: 30px 10px !important; /* ลด padding */
}

.quo-fff {
    color: #fff !important;
    font-size: 1.6rem !important; /* ปรับให้เล็กลง */
    margin-bottom: 1rem !important;
}

#quotation h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.1rem !important;
}

#quotation .btn-quote {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}


#quotation .btn-quote {
  display: inline-block;
  padding: 8px 24px;        /* 🔽 ลด padding รอบปุ่ม */
  font-size: 1rem;          /* 🔽 ลดขนาดตัวอักษรนิดหน่อย */
  font-weight: 500;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}


#domain .rounded-table {
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem; 
}

#domain  .table td, .table th {
  vertical-align: middle;
  padding: 0.5rem;
}


#domain  th:last-child,
#domain  td:last-child {
  border-left: 1px solid #ccc !important;
}



.custom-table-wrapper{
  width: 100%;
  max-width: 500px;
}



.bg-dark {
  background-color: #000 !important;
}

.card {
    box-shadow: none;
    border: 1px solid #000;
    color: inherit;
}



.my-card {
  border-top: 2px solid red;
  border-right: 2px solid green;
  border-bottom: 2px solid blue;
  border-left: 2px solid orange;
}

.text-nowrap {
  white-space: nowrap;
}

.card.zoho {
  min-width: 100%;
}

@media (max-width: 768px) {
  table td:first-child,
  table th:first-child {
    white-space: normal !important;
    /* word-break: break-word; */
    max-width: 200px;
  }
}

@media (max-width: 1200px) {
  .table-wrapper {
    width: 100% !important ;
    /* padding: 0 1rem; */
  }
  .custom-scrollbar {
  overflow-x: scroll !important; /* บังคับให้ scrollbar แสดง */
  -ms-overflow-style: auto;      /* IE 10+ */
  scrollbar-width: auto;         /* Firefox */
  scrollbar-color: #888 #eee;    /* Firefox */
}

/* Chrome, Edge, Safari */
.custom-scrollbar::-webkit-scrollbar {
  height: 12px;                  /* ความสูงของแถบ */
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #eee;              /* สีพื้นหลังแถบ */
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #888;        /* สีของ scrollbar */
  border-radius: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;              /* สีเมื่อ hover */
}
.table-responsive.custom-scrollbar {
  overflow-x: scroll !important;
}
}
.card-header button {
  color: #000 !important;       /* สีดำ */
  background-color: transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: none !important;
}

.card-header button:hover,
.card-header button:focus {
  color: #000 !important;       /* ยังเป็นสีดำเมื่อ hover */
  background-color: transparent !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}


.accordion-wrapper .card-header button:before {
    font-family: Unicons;
    position: absolute;
    left: 1.2rem;
    content: "\e932";            /* ลูกศรขึ้น */
    font-size: 1.5rem;           /* 🔼 ขยายขนาด */
    font-weight: 400;
    width: 1.5rem;
        margin-top: -0.5rem;
    margin-left: -.3rem;
    display: inline-block;
    color: #000;                 /* ✅ เปลี่ยนเป็นสีดำ */
}

.accordion-wrapper .card-header button.collapsed:before {
    content: "\e92d";            /* ลูกศรลง */
    color: #000 !important;      /* ✅ บังคับสีดำ */
    font-size: 1.5rem;           /* 🔼 ขยายขนาด */
}


@media (max-width: 767.98px) {
  .why_google .row {
    /* flex-direction: column !important;        */
  }

  .why_google .col-img,
  .why_google .col-text {
    text-align: center !important;
    width: 100% !important;
  }

  .why_google img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 1rem !important;
  }
}

/* @media (max-width: 1199.98px) and (min-width: 992px) {
  .pricing-wrapper .card {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
} */


.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

 @media (max-width: 991.98px) {
    .navbar-expand-lg .dropdown-header {
        /* padding-left: 1rem;
        padding-right: 1rem;
        margin-top: .5rem; */
        color: var(--bs-dropdown-header-color) !important;
    }
}
.nav-link.active {
 color: #000 !important;
font-weight: 600;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-shadow: none;
 
}
li > a.dropdown-item {
    padding-left: 2rem !important;
   
}
/* ทำให้ icon dropdown (caret หรือ chevron) เป็นสีดำด้วย */
.nav-link.active .dropdown-toggle::after {
  border-top-color: #000 !important; /* สำหรับ Bootstrap default caret */
}
.dropdown-header {
    /* text-decoration: underline; */
    /* text-underline-offset: 2px;  */
  
    font-weight: 900 !important;    

}

.product .dropdown-item {
     line-height:  1.18;  
} 

/* ถ้าใช้ icon svg หรือ fontawesome */
.nav-link.active i,
.nav-link.active svg {
  color: #000 !important; /* ให้ icon เป็นดำ */
  fill: #000 !important;   /* สำหรับ svg */
}
.screenshots-padding1 {
    padding-left: 8px !important;
    padding-right: 0 !important;
    padding-top: 14px !important;
    position: relative !important;
}

@media (max-width: 1024px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrapper table {
    table-layout: auto;
    width: auto;
    min-width: 100%;
    border-collapse: collapse;
  }

  /* ✅ ใช้แยก td กับ th เพื่อไม่ให้หัวโดนบีบ */
  .table td {
    padding: 0.4rem 0.5rem;
    vertical-align: middle;
    white-space: normal;
    /* word-break: break-word; */
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
  }

  .table th {
    padding: 0.5rem 0.6rem;
    white-space: nowrap;               /* ✅ ป้องกันบรรทัดละตัวอักษร */
    word-break: normal;                /* ✅ ไม่ให้ตัดคำในหัว */
    font-weight: 600;
    text-align: center;
    min-width: 100px;                  /* ✅ เพิ่มความกว้างขั้นต่ำให้หัวอ่านได้ */
  }

  .table td:first-child,
  .table th:first-child {
    text-align: left;
    min-width: 240px !important;
  }

  .icon_div i {
    font-size: 0.85rem;
  }
}





    .banner-image {
  max-width: 100%;
  height: auto;
}
@media (min-width: 992px) {
  .banner-image {
    max-width: 480px; /* ปรับได้ */
  }
}


.app-box {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.app-box img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-right: 1rem;
}

.app-text {
  line-height: 1.2;
}

.app-text .app-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.app-text .app-desc {
  font-size: 0.875rem;
  color: #444;
}

.app-card {
  display: flex;
  align-items: center;
  background-color: transparent;      /* ปกติไม่มีพื้นหลัง */
  border-radius: 12px;
  padding: 1rem;
  color: #000;
  text-decoration: none;
  border: 1px solid transparent;      /* ไม่มีกรอบตอนปกติ */
  height: 100%;
  width: 100%;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  background-color: #f5f5f5;
  border-color: #ddd;
  /* transform: translateY(-2px); */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.app-card img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.app-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
}

.app-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.app-desc {
  font-size: 0.85rem;
  color: #333;
}


/* ซ่อน Swiper container จนโหลดเสร็จ */
.swiper-container {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
body.loaded .swiper-container {
  visibility: visible;
  opacity: 1;
}

/* ป้องกัน layout shift ตอนภาพโหลด */
.swiper-slide {
  min-height: 300px; /* ปรับตามอัตราส่วนภาพจริง */
  box-sizing: border-box;
}
.swiper-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* ป้องกันสไลด์ตก */
}

/* ปิด transition ทุกอย่างชั่วคราวตอนโหลด */
html.loading *, body.loading * {
  transition: none !important;
  animation: none !important;
}

.card-title-wrapper {
  min-height: 56px;  /* หรือมากกว่านี้ตามต้องการ */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.card-desc-box {
  border-top: 1px solid #ccc;
  min-height: 160px; /* ความสูงรวมของคำอธิบาย+icon */
}

.desc-text {
  max-width: 280px;
  margin: 0 auto;
  text-align: left;
}

.divider-line {
  border-top: 1px solid #ccc;
  width: 100%;
}

@media (min-width: 768px) {
 #domain  table.table {
    min-width: 100%;
  }
}


 .img-h-40 {
    height: 40px;
  }

  .max-700 {
  max-width: 700px;
}

.w-10{
  width: 40% !important ;
}


.breadcrumb-section {
  background-color: #fdfdf8; /* หรือสีพื้นของคุณ */
 
}

.breadcrumb {
  font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #111 !important;
  font-weight: 600;
}

.breadcrumb-item.active {
  color: #555 !important;
  font-weight: 500;
}


s{
  font-size: 0.75rem;
}

blockquote.icon:before {
    content: "\201d";
    position: absolute;
    top: -3.5rem;
    left: -2.9rem;
    /* color: rgba(52, 63, 82, .2); */
    font-size: 10rem;
    line-height: 1;
    z-index: 1;
}

.custom-gap {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}


.service.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.content-wrapper.bg-google section.bg-black1.bg-trusted {
    background-color: #000 !important;
}

.logo-item { padding:10px; }

@media (min-width: 1200px) {
  .logo-item { width: 20%; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .logo-item { width: 33.333%; }
}

@media (max-width: 767.98px) {
  .logo-item { width: 50%; }
}

.text-sm {
    font-size: 0.85em;
    color: inherit;
}

.table_thb {
    border-collapse: collapse;
}
.table_thb {
    border-collapse: collapse;
}

.table_thb td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.table_thb td:last-child {
    text-align: right;    /* ✅ บังคับชิดขวา */
    padding-right: 1rem;  /* ✅ ระยะห่าง */
}

.table_thb td .text-decoration-line-through,
.table_thb td .price-t {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.table_thb td .price-t {
    font-size: 25px;
    font-weight: bold;
}

.table_thb td .price-t::after {
    content: " THB";
    font-size: 14px;
    margin-left: 4px;
    color: #111 !important;
}

.table_thb td .text-decoration-line-through {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-bottom: 2px;
}

/* กัน collapse เวลาไม่มีราคาขีด */
.table_thb td .text-decoration-line-through:empty::before {
    content: "\00a0";
}

.table_thb td:first-child {
    text-align: left;
    padding-left: 1rem;
}

/* .table_thb td .text-decoration-line-through {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    position: relative;
    top: 0;
    margin-bottom: 1px;
} */

/* กัน collapse เวลาไม่มีราคาขีด */
.table_thb td .text-decoration-line-through:empty::before {
    content: "\00a0";
}

/* responsive */
@media (min-width: 769px) {
  .table_thb td .text-decoration-line-through {
      margin-bottom: 2px;
  }
}

.table_thb3 td:last-child {
    text-align: right;
    padding-right: 1rem;
    white-space: nowrap;
}

/* กรณีมี 2 div */
.table_thb3 td:last-child > div {
    display: inline-flex;
    align-items: baseline;
    margin: 0;
}

/* ลดระยะให้ใกล้สุด */
.table_thb3 td:last-child > div:first-child {
    margin-right: 2px !important;
}

/* ราคาเต็ม */
.table_thb3 td:last-child s.fs-14 {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

/* ราคาขาย */
.table_thb3 td:last-child .fw-bold.fs-22 {
    font-size: 25px;
    font-weight: bold;
}

.table_thb3 td:last-child .fw-bold.fs-22::after {
    content: " THB";
    font-size: 16px;
    margin-left: 4px;
     color:#111 !important;   /* หรือ #6c757d */
}

/* กรณีเป็น Call */
.table_thb3 td:last-child > div:only-child {
    display: inline; 
    font-size: 25px;
    font-weight: bold;
}

.table_thb4 td.text-center {
  text-align: right !important;      /* ✅ บังคับชิดขวา */
  padding-right: 2rem !important;    /* ✅ ขยับให้ห่างขวา */
  white-space: nowrap;
  line-height: 1.2;
}

.table_thb4 td.text-center del {
  display: inline-block !important;
  margin-right: 8px;
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
  vertical-align: middle;
}

.table_thb4 td.text-center span.fw-bold.fs-22 {
  display: inline-block !important;
  font-size: 25px;
  font-weight: bold;
  vertical-align: middle;
}

.table_thb4 td.text-center span.fw-bold.fs-22::after {
  content: " THB";
  font-size: 16px;
  margin-left: 4px;
   color:#111 !important;   /* หรือ #6c757d */
}



.en-title {
    font-size: 2.5rem; /* หรือ fs-40 ถ้าใช้ Bootstrap แล้ว fs-40 ก็พอ */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.th-subtitle {
    font-size: 1.25rem;
   
    margin: 0;
}


/* กรณีมีราคาเต็ม + ราคาปัจจุบัน -> ชิดขวา */
.table_thb_2 td:last-child:has(del) {
    text-align: right !important;
    padding-right: 1rem;
}

/* กรณีมีเฉพาะราคาปัจจุบัน -> อยู่กลาง */
.table_thb_2 td:last-child:not(:has(del)) {
    text-align: center !important;
    padding-right: 0 !important;
}

/* ใส่ THB ต่อท้าย */
.table_thb_2 td:last-child span.fw-bold::after,
.table_thb_2 td:last-child.price-t::after {
    content: " THB";
    font-size: 14px;
    margin-left: 4px;
}

/* .price-inline-thb {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.price-inline-thb strong.fs-22 {
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

.price-inline-thb b.fs-16 {
    font-size: 14px;
    margin-left: 8px;
    white-space: nowrap;
} */


.table_thb-csp td {
    /* padding: 0.5rem 0; */
    border-bottom: 1px solid #ddd;
    text-align: right;
    padding-right: 4rem; 
    white-space: nowrap;
}

.table_thb-csp td strong.fs-22 {
    font-size: 25px;
    font-weight: bold;
    position: relative;
}


.table_thb-csp td:last-child strong.fs-22::after {
    content: " THB";
    font-size: 14px;
    /* margin-left: 8px; */
    white-space: nowrap;
}


@media (max-width: 767.98px) {
    .table_thb-csp td {
        padding-right: 1rem; 
    }
}


.modal-content {
    background: #fffef8; /* ครีมอ่อน */
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 2rem;
    color: #333; /* สีตัวอักษร */
}

/* Title */
.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #111;
}

/* Input */
.modal-content .form-control {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
}

/* Focus */
.modal-content .form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.1);
}

/* Checkbox */
.modal-content .form-check-label {
    font-size: 0.95rem;
    color: #555;
}

/* Submit Button */
.modal-content .btn-dark {
    background: #000;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    transition: background 0.3s;
}

.modal-content .btn-dark:hover {
    background: #333;
}
.modal-body {
    padding: 1.25rem 1.5rem; /* ลด padding ด้านบนและข้างลง */
}

.modal-body .form-control {
    margin-bottom: 0.5rem; /* ลดช่องว่างแต่ละ input */
    padding: 0.65rem 1rem; /* ลด padding ให้ปุ่มดูไม่ใหญ่เกิน */
    box-shadow: none; /* ตัดเงาออกถ้ามันดูฟุ้ง */
    border-radius: 0.75rem; /* มนกำลังดี */
}

/* Checkbox */
.modal-body .form-check {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* ปุ่ม Submit */
.modal-body .btn-dark {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
}

.modal-header {
    padding: 1rem 1.5rem; /* ลด padding ให้ดู compact */
    border-bottom: none;  /* ตัดเส้นขอบล่างออก จะดู modern ขึ้น */
}

.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #111;
}


.Overview .row {
    --bs-gutter-x: 2.1rem; /* ช่องว่างแนวนอน */
    
}

table.Compare {
    width: 100%;
    white-space: nowrap; /* กันข้อความตัดบรรทัด */
    border-collapse: collapse;
}
table.Compare th {
    /* background: #f8f9fa; */
    font-weight: 600;
    /* padding: 10px 15px; */
    border-bottom: 2px solid #000 !important; /* เส้นดำเฉพาะหัวตาราง */
  /* border-top: 1px solid #ddd !important; */
    /* border-left: 1px solid #ddd !important; */
    /* border-right: 1px solid #ddd !important; */
    vertical-align: middle !important;
}

table.Compare td {
    padding: 10px 15px;
    /* border: 1px solid #ddd !important; */
    vertical-align: middle !important;
    
}

table.Compare th {
    /* background: #f8f9fa; */
    font-weight: 600;
    color: #000;
}

table.Compare td:first-child {
    text-align: left !important;
    min-width: 250px;
}

#screenshots .swiper-pagination {
    margin-top: 10px !important; /* ลดระยะห่าง */
    bottom: 30px !important;      /* ถ้า Swiper ใช้ position:absolute */
}

.bg-topbar {
    background: #111; /* สีดำ */
    color: #fff;
    font-size: 14px;
    font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
}

.topnav-right-old {
    float: right;
}

.topnav-right-old a {
    color: #f2f2f2;
    text-align: center;
    padding: 10px 15px;    /* เพิ่ม padding เล็กน้อย */
    text-decoration: none;
    font-size: 14px;      /* เพิ่มจาก 13px → 14px */
    display: inline-block;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    border-radius: 3px;   /* มุมโค้งเล็กๆ ให้ดู soft */
}

.topnav-right-old a:hover {
    background-color: #28405b; /* Hover */
    color: #fff;
}

.topnav-right-old a.active {
    background-color: #3f78e0; /* Active link */
    color: #fff;
}

/* Clear float */
.topnav-right-old::after {
    content: "";
    display: table;
    clear: both;
}
.admin-rounded {
    border-radius: 20px;  /* จาก 50px → 30px */
    background: #fff;
    padding: 10px 20px;   /* ลด padding ลง */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    max-width: 100%;      /* ให้ภาพไม่หลุด grid */
}


.admin-rounded:hover {
    transform: translateY(-3px);
}

.floating-wrapper {
  position: fixed;
  bottom: 100px;
  right: 20px;
  /* z-index: 1060; */
  background-color: #000;
  border-radius: 14px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);

    pointer-events: auto;
    /* box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8); */
}

.floating-container {
  background-color: #000;
  border-radius: 14px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.floating-item {
  background-color: #282828;
  border-radius: 10px;
  padding: 8px 6px; /* 🔼 จาก 3px → 8px เพิ่มความสูง */
  
  min-width: 66px;
  max-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-size: 12px;

  box-shadow:
    4px 4px 8px rgba(0, 0, 0, 0.6),
    -2px -2px 4px rgba(255, 255, 255, 0.03),
    inset 1px 1px 1px rgba(255, 255, 255, 0.05),
    inset -2px -2px 2px rgba(0, 0, 0, 0.3);
}

.floating-item:hover {
  background-color: #3a3a3a;
  transform: translateY(-1px);
  box-shadow:
    5px 5px 10px rgba(0, 0, 0, 0.7),
    -2px -2px 3px rgba(255, 255, 255, 0.04),
    inset 1px 1px 1px rgba(255, 255, 255, 0.05),
    inset -1px -1px 1px rgba(0, 0, 0, 0.3);
}

.floating-item:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.5),
    inset -2px -2px 3px rgba(255, 255, 255, 0.05);
}

.img-wrapper {
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrapper img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.2));
}


.bg-announce {
   background-color: #f6921e;  /* สีเทาเข้มแบบเงา */
   color: #fff;

}

.alert.bg-announce {
  padding: 0.55rem 0;
}




#modal-02 .modal-header {
  width: 100%;
  padding: 1rem 1.5rem 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box; /* ✅ ป้องกัน padding overflow */
}

#modal-02 .modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  word-break: break-word;
  max-width: 100%;
  margin: 0 auto;
   padding: 0 1rem 0 0; 
  line-height: 1.4;
}

#modal-02 .modal-content .btn-close {
  /* position: fixed !important; */
  top: -3rem  !important;
  right: -3rem  !important;
  z-index: 9999  !important; 
}

/* ปรับขนาด modal ให้พอดี ไม่ชิด */
@media (min-width: 576px) and (max-width: 730px) {
  .custom-modal-width {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 731px) {
  .custom-modal-width {
    max-width: 600px;
  }
}

@media (max-width: 575.98px) {
  .custom-modal-width {
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: calc(100% - 2rem);
  }

  #modal-02 .modal-content .btn-close {
    /* top: 0.5rem !important;
    right: 0.5rem !important; */
  }
   .offcanvas-header img {
    max-width: 70% !important;
    height: auto;
  }
}
@media (max-width: 991.98px) {
  .offcanvas-header img {
    /* width: 80% !important; */
    /* max-width: 280px !important; */
    height: auto;
   
  }

  .offcanvas-header {
    /* text-align: center; */
    /* padding: 1.5rem 1rem 1rem; */
  }
}


@media (min-width: 350px) and (max-width: 991.98px) {
  .top-bar {
    display: none !important;
  }
   #modal-02 .modal-dialog {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
 
}


@media (max-width: 991.98px) {
  .alert.bg-announce ~ .offcanvas.show .navbar-brand.w-100.logo-banner {
    margin-top: 3.5rem !important; /* หรือ padding-top ตามต้องการ */
  }

     .navbar-expand-lg .dropdown-header {
        padding-left: 10px;
        padding-right: 0rem;
        margin-top: .5rem;
    }
    .navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item {
        color: var(--bs-white);
        padding-left: 1.3rem !important;
        padding-top: .3rem;
        padding-bottom: .3rem;
    }

}




.box-6 .card-body {
  padding: 0 !important;
}

.box-6 .card h6 {
  font-size: 1.1rem;
}

.box-6 .card p {
  font-size: 19px;
  line-height: 1.6;
}
/* html, body {
  overflow-x: hidden !important;
} */


body.modal-open {
  position: static !important;
}
body.modal-open .icon-bar {
  right: calc(1.5rem + 15px); /* ปกติ scrollbar ประมาณ 16px */
}



.icon-bar {
  position: fixed;
  /* top: 50%; */
  right: 1.5rem;
  bottom:100px ;
  /* transform: translateY(-50%); */
  background-color: #000;
  border-radius: 40px;
  padding: 15px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1000;
   border: 2px solid transparent;  /* สำคัญ! เตรียมพื้นที่สำหรับ border */
  transition: border 0.3s ease;
}

.icon-button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  position: relative;
}

.icon-button:active {
  transform: scale(0.95);
}

/* ✅ ฟิกขนาด icon */
.icon-button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button img {
  width: 24px;   /* 🔽 ลดขนาดภาพลงจาก 32px */
  height: 24px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ✅ hover: รูปขยับ ไม่มีพื้นหลัง */
.icon-button:hover img {
  transform: translateY(-1.5px);
  opacity: 0.85;
}

/* ✅ เส้นคั่นเนียน */
.icon-bar hr {
  width: 28px;
  border: none;
  border-top: 1px solid #ccc;
  opacity: 0.5;
  margin: 4px 0;
}
.icon-bar.scrolled {
  /* เปลี่ยนจาก border → box-shadow คมกว่า */
  box-shadow: 0 0 0 1.5px #ddd;
}

.icon-button {
  cursor: pointer;
}


/* ซ่อนเริ่มต้น */
.mobile-only {
  display: none;
}

@media (max-width: 786px) {
  /* ✅ แสดงเฉพาะ .mobile-only */
  .mobile-only {
    display: block;
  }

  /* ✅ ปรับตำแหน่ง .icon-bar บนมือถือ */
  .icon-bar {
    position: fixed;
    right: 20px;
    bottom: 150px;
    background-color: #000;
    border-radius: 40px;
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1000;

  
    box-shadow: none;       /* ❌ ไม่มีเงา */
  }

   .icon-bar.scrolled {
    box-shadow: 0 0 0 1.5px #ddd;
    background-color: #000;
    border-radius: 40px;
  }

  /* ✅ ขยายปุ่มให้กดง่ายขึ้น */
  .icon-button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .icon-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  /* ✅ เส้นคั่น */
  .icon-bar hr {
    width: 32px;
    border: none;
    border-top: 1px solid #ccc;
    opacity: 0.5;
    margin: 6px 0;
  }
}



img.w-10{
  width: 2.5rem !important;
}

/* .app-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  transform: translateY(0px) scale(1) !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
} */
 /* .app-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  border: 1px solid transparent; 

  transform: translateY(0) scale(1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);

  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
} */


.app-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;

  border: 1px solid #f0f0f1;



  transform: translateY(0) scale(1);

  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}


.app-card img {
  transform: scale(1);
  transition: transform 0.25s ease-out;
}

.app-card:hover {

  transform: translateY(-4px) scale(1.015);

  filter: brightness(1.03);

}

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

.app-text .app-name {
  font-weight: bold !important;
  font-size: 1.1rem !important;
}

.app-text .app-desc {
  /* font-size: 0.9rem !important; */
  color: #666 !important;
}



    .custom-pricing-card {
            border: 1px solid #e0e0e0;
            position: relative;
        }

        /* === RECOMMENDED REFINEMENT FOR THE BADGE === */
        .card-header-badge {
            position: absolute;
            top: -16px;                  /* UPDATED: Adjusted position to be closer to the card */
            left: 50%;
            transform: translateX(-50%);
            background-color: #ef0320;
            color: white;
            padding: 6px 22px;           /* UPDATED: Reduced padding to make the badge more compact */
            border-radius: 12px;
            font-size: 0.85rem;          /* UPDATED: Slightly smaller font size */
            font-weight: 500;            /* UPDATED: Lighter font weight for a softer look */
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* UPDATED: Softer shadow */
        }

        .banner_font2{
           color: #fff !important;
           font-family: 'Prompt', sans-serif;
        }
           .price-highlight-section {
            background-color: #ef0320; /* Light grey background */
            text-align: center;
             color: #fff !important;
            /* Negative margins to break out of the parent's padding (p-3 = 1rem) */
            margin-left: -1rem;
            margin-right: -1rem;
            padding: 1.25rem 0; /* Vertical padding */
        }


.promo-banner {
    background-color: #ef0320;
    color: white;
    margin-left: -1rem;
    margin-right: -1rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    /* font-family: 'Prompt', sans-serif; */
}

@media (max-width: 1200px) {
  .promo-banner {
    font-size: 0.7rem;
    padding: 0.6rem 0.5rem;
  }
}


 
       .btn-custom-orange {
            background-color: #FF4500; /* Prominent Orangered */
            border-color: #FF4500;
            /* transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; */
        }
        .btn-custom-orange:hover {
            background-color: #E03E00; 
            border-color: #E03E00;
        }
            .btn-custom-orange:focus,
        .btn-custom-orange:active {
            background-color: #FF4500 !important; /* Keep the same orange color */
            border-color: #FF4500 !important;   /* Keep the same border color */
            box-shadow: none !important;          /* Remove Bootstrap's default focus shadow */
        }
      
        .text-xs1 {
            font-size: 0.7rem;
            font-weight: 300;
        }

       #notification-text {
          position: relative;
          top: -1px; 
             /* line-height:  unset !important ; */
        
      } 
   .btn-py-custom {
            padding-top: 2px !important;
            padding-bottom: 2px !important;
   }

/* แดงเฉพาะ td ที่มี <s class="fs-14"> อยู่เท่านั้น */
td:has(s.fs-14) > strong.fs-22{
  color:#ef0320 !important;
}

/* กัน THB แดงตาม (ถ้า THB อยู่ใน strong) */
td:has(s.fs-14) > strong.fs-22 > b.fs-16{
  color:#111 !important; /* หรือ #6c757d */
}

td.text-center:has(del) > span.fw-bold.fs-22{
  color:#ef0320 !important;
}

/* ถ้ากรณีอื่นๆ ใช้ strong */
td:has(s.fs-14) > strong.fs-22{
  color:#ef0320 !important;
}
td:has(s.fs-14) > strong.fs-22 > b.fs-16{
  color:#111 !important;
}

td:has(s.fs-14) .fw-bold.fs-22,
td:has(del)     .fw-bold.fs-22{
  color:#ef0320 !important;
}

/* THB ที่เป็น ::after ให้กลับสีเดิม */
.table_thb4 td.text-center span.fw-bold.fs-22::after{
  color:#111 !important; /* หรือ #6c757d */
}

td:has(s) > strong.fs-22{
  color:#ef0320 !important;
}

/* THB ใน strong กลับเป็นสีเดิม */
td:has(s) > strong.fs-22 > b.fs-16{
  color:#111 !important;   /* หรือ #6c757d */
}

td:has(.text-decoration-line-through) .fw-bold.price-t{
  color:#ef0320 !important;
}

/* 20261110 หน้า Screen Shots: ไม่บังคับสูงขั้นต่ำ 300px กันจุดสไลด์ห่างจากรูป */
#screenshot .swiper-slide{min-height:0}
/* 20261110 หน้าที่ container ใช้ py-md-2: เว้นใต้จุดสไลด์ให้เท่าหน้า py-5 (กันชิด Compare Product) */
#screenshot > .container.py-md-2{padding-bottom:2rem!important}
