/*

Template 2098 Health

http://www.tooplate.com/view/2098-health

*/

  @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600');

  body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
  }
  /*---------------------------------------
    เริ่ม Tavoei เพิ่มเติมแก้เพื่อให้เป็นรูปแบบที่ต้องการ              
  -----------------------------------------*/
@media (min-width: 992px) {
    .slider .item {
        background-position: center bottom !important; /* จัดตำแหน่งภาพให้ชิดด้านล่าง เพื่อโชว์โถสุขภัณฑ์ */
    }
}


  /*---------------------------------------
    สิ้นสุดตรงนี้ Tavoei เพิ่มเติมแก้เพื่อให้เป็นรูปแบบที่ต้องการ              
  -----------------------------------------*/
  
  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
    line-height: inherit;
  }

  h1,h2,h3,h4 {
    letter-spacing: -1px;
  }

  h5 {
    font-weight: 500;
  }

  h1 {
    color: #252525;
    font-size: 4em;
  }

  h2 {
    color: #272727;
    font-size: 3em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.8em;
    line-height: 1.2em;
    margin-bottom: 0;
  }

  h4 {
    color: #454545;
    font-size: 1.8em;
    padding-bottom: 2px;
  }

  h6 {
    letter-spacing: 0;
    font-weight: normal;
  }

  p {
    color: #3b3b3b;
    font-size: 15px;
    font-weight: normal;
    line-height: 24px;
  }
/* tavoei */
.about-info h2 span.h2-sub {
     display: inline;          /* บังคับให้อยู่บรรทัดเดียวกับ YILIN 3 */
     font-size: 0.60em;        /* ย่อขนาดเหลือ 65% ของ h2 หลัก (ปรับเลขได้ตามความเหมาะสม) */
     font-weight: 400;         /* ลดความหนาตัวอักษรให้ดูซอฟต์และหรูขึ้น */
     color: #666666;           /* ปรับสีให้เข้มน้อยกว่าตัวหลักเล็กน้อย (เปลี่ยนโค้ดสีได้ตามธีม) */
     margin-left: 8px;         /* เว้นระยะห่างจากคำว่า YILIN 3 */
}

/* ปรับขนาดบนหน้าจอมือถือไม่ให้ตกบรรทัดจนเกินไป */
@media (max-width: 767px) {
     .about-info h2 span.h2-sub {
          font-size: 0.58em;
          margin-left: 4px;
     }
}
/* ตรงไอคอนไลน์ ที่ไม่ใช่ head */
.profile figcaption p {
     margin-bottom: 5px;      /* คุมระยะห่างระหว่างบรรทัดให้เท่ากันทั้ง 3 แถว */
     line-height: 1.6;
}

.profile figcaption p i.fa {
     width: 18px;             /* ล็อกความกว้างกล่องไอคอนให้ตัวหนังสือด้านหลังตรงแนวกัน */
     text-align: center;
     margin-right: 5px;
}

.profile figcaption img.line-icon {
     width: 19px;             /* ลองเริ่มที่ 19px (ถ้ายังเล็กไปลองปรับเป็น 20px-21px) */
     height: 19px;
     display: inline-block;
     vertical-align: -4px;    /* ขยับลงเล็กน้อยให้กึ่งกลางกล่องเขียวตรงกับตัวอักษร ID: */
     margin-right: 6px;       /* ปรับระยะห่างเล็กน้อยไม่ให้ตัวหนังสือ ID ขยับขวาเกินไป */
}

.span-icon {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  background-color: #000000;
  padding: 0.01em .2em ;
  border-radius: 2px;
  display: inline-block;
  line-height: 1.2;
}
  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a:hover, a:active, a:focus {
    color: #a5c422;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }

  .section-title {
    padding-bottom: 20px;
  }

  .section-title h2 {
    margin-top: 0;
  }

  .section-btn {
    background:  rgba(166, 196, 34, 0.493);
    border: 0;
    border-radius: 3px;
    color: #ffffff;
    font-size: inherit;
    font-weight: 500;
    padding: 14px 20px;
    transition: transform 0.1s ease-in;
    transform: translateX(0);
  }

  .section-btn:hover {
    transform: translateY(-5px);
  }

  .text-align-right {
    text-align: right;
  }

  .text-align-center {
    text-align: center;
  }

  .border-top {
    border-top: 1px solid #f2f2f2;
    margin-top: 4em;
    padding-top: 2.5em;
  }

  .btn-green {
    background: rgba(2, 119, 31, 0.733);
    color: #ffffff;
  }

  .btn-gray {
    background: rgba(57, 57, 57, 0.486);
  }

  .btn-blue {
    background: rgba(66, 103, 178, 0.466);
  }

  .news-thumb {
    background: #ffffff;
    border-radius: 10px;
  }
  .news-thumb img {
    border-radius: 10px 10px 0 0;
  }

  .news-info {
    padding: 30px 10px 30px 10px;
    text-align: left;
  }
  .news-info span {
    display: block;
    letter-spacing: 0.5px;
  }
  .news-info h3 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .author {
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5em;
    margin-top: 2em;
  }
  .author img,
  .author .author-info {
    display: inline-block;
    vertical-align: top;
  }
  .author-info h5 {
    margin-bottom: 0;
  }
  .author img {
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }


  #about, #team, #news,
  #news-detail {
    position: relative;
    padding-top: 20px;
    padding-bottom: 5px;
  }

  #news, #service {
    text-align: center;
  }

  #google-map {
    line-height: 0;
    margin: 0;
    padding: 0;
  }


  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  header {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    height: 45px;
  }

  header .col-md-8 {
    padding-right: 0;
  }

  header p,
  header span {
    font-size: 12px;
    line-height: 24px;
    padding-top: 12px;
  }

  header a,
  header span {
    color: #747474;
  }

  header span {
    font-weight: 500;
    display: inline-block;
    padding: 11px 15px;
  }

  header span.date-icon {
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    padding-right: 19px;
    padding-left: 19px;
  }

  header span i {
    color: #a5c422;
    margin-right: 5px;
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .navbar-default {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,.075);
    border: none;
    margin-bottom: 0;
    padding: 10px;
  }

  .navbar-default .navbar-brand {
    color: #393939;
    font-weight: 500;
  }

  .navbar-default .navbar-brand .fa {
    color: #a5c422;
  }

  .navbar-default .navbar-nav li.appointment-btn {
    margin: 3px 0 0 20px;
  }

  .navbar-default .navbar-nav li.appointment-btn a {
    background: #a5c422;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 600;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-default .navbar-nav li.appointment-btn a:hover {
    background: #4267b2;
    color: #ffffff !important;
  }

  .navbar-default .navbar-nav li a {
    color: #555555;
    font-size: 12px;
    font-weight: 500;
    padding-right: 20px;
    padding-left: 20px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
  }

  .navbar-default .navbar-nav > li a:hover {
    color: #393939 !important;
  }

  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a:focus {
    color: #555555;
    background-color: transparent;
  }

  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    color: #393939;
    background-color: transparent;
  }

  .navbar-default .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background: #393939;
    border-color: transparent;
  }

  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus { 
    background-color: transparent;
  }

/*-logo   Tavoei----------------
---------------------------------*/

.opacity{opacity: 0!important;}

/*-logo   Tavoei--------------------
----------------------------------*/


  /*---------------------------------------
      HOME              
  -----------------------------------------*/

  #home h1 {
    color: #ffffff;
    padding-bottom: 10px;
    margin-top: 0;
  }

  #home h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: normal;
    line-height: inherit;
    letter-spacing: 0px; /* ปรับลดจาก 3px เป็น 1px (หรือ 0px ถ้าต้องการระยะปกติ) */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7); /* เพิ่มเงาสีดำโปร่งแสง */
    text-transform: uppercase;
    margin: 0;
  }

  .slider .container {
    width: 100%;
  }

  .slider .owl-dots {
      position: absolute;
      top: 575px;
      width: 100%;
      justify-content: center;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px 7px;
    border: 2px solid #d9d9d9;
    background: transparent;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
  }

  .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background-color: #ffffff;
    border-color: transparent;
  }

  .slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: rgba(53, 52, 52, 0);
    height: 100%;
    color: #fff;
    cursor: e-resize;
  }

  .slider .item {
    background-position: inherit;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
  }

  .slider .item-first {
    background-image: url(../images/slider1.jpg);
  }

  .slider .item-second {
    background-image: url(../images/slider2.jpg);
  }

  .slider .item-third {
    background-image: url(../images/slider3.jpg);
  }


  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  #about {
    background: url('../images/about-bg.jpg') no-repeat top center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .profile img,
  .profile figcaption {
    display: inline-block;
    vertical-align: top;
    margin-top: 1em;
  }
  .profile img {
    border-radius: 100%;
    width: 65px;
    height: 65px;
    margin-right: 1em;
  }
  .profile figcaption h3 {
    margin-top: 0;
  }

  #about h6 {
    color: #858585;
    margin: 0;
  }



  /*---------------------------------------
      TEAM MEMBERS              
  -----------------------------------------*/

  .team-thumb {
    background-color: #f9f9f9;
    border-radius: 0 0 10px 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .team-info {
    padding: 20px 5px 0 5px;
  }

  .team-contact-info {
    border-top: 1px solid #e9e9e9;
    padding-top: 1.2em;
    margin-top: 1.5em;
  }

  .team-contact-info .fa {
    margin-right: 5px;
    display: inline-block;
  }

  .team-contact-info p {
    margin-bottom: 2px;
  }

  .team-contact-info a {
    color: #757575;
  }

  .team-thumb .social-icon li {
    font-weight: 500;
  }

  .team-thumb .social-icon li a {
    background: #ffffff;
    border-radius: 100%;
    font-size: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 2px 0 2px;
  }

  .team-thumb .social-icon {
    opacity: 0;
    transform: translateY(100%);
    transition: 0.5s 0.2s;
    text-align: center;
    position: relative;
    top: 0;
  }

  .team-thumb:hover .social-icon {
    opacity: 1;
    transition-delay: 0.3s;
    transform: translateY(0px);
    top: -22em;
  }



  /*---------------------------------------
     SERVICE              
  -----------------------------------------*/

  #service {
    background: #a5c422;
  }

  #service h2,
  #service h4 {
    color: #ffffff;
  }

  #service p {
    color: #d9d9d9;
  }

  #service .service-thumb {
    padding: 0 22px;
  }

  #service .fa {
    font-size: 50px;
    margin-bottom: 10px;
    background: #ffffff;
    color: #a5c422;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 100%;
  }


  /*---------------------------------------
      NEWS             
  -----------------------------------------*/

  #news, #news-detail {
    background: #f9f9f9;
  }

  #news-detail blockquote {
    margin: 30px 0;
  }

  .news-detail-thumb .news-image img {
    border-radius: 10px;
  }

  .news-detail-thumb h3 {
    margin-bottom: 8px;
  }

  .news-image {
    margin-bottom: 30px;
    position: relative;
  }

  .news-image img {
    width: 100%;
  }

  .news-detail-thumb ul {
    margin: 32px 12px 22px 0px;
  }

  .news-detail-thumb ul li {
    list-style: circle;
    font-weight: normal;
    padding: 6px 12px 6px 0px;
  }

  .news-sidebar {
    margin-top: 16px;
  }

  .news-social-share {
    text-align: center;
    padding-top: 22px;
  }

  .news-social-share .btn {
    border-radius: 100px;
    border: none;
    font-size: 10px;
    font-weight: 600;
    margin: 2px 6px;
    padding: 8px 14px;
  }

  .news-social-share .btn-primary {
    background: #3b5998;
  }

  .news-social-share .btn-success {
    background: #1da1f2;
  }

  .news-social-share .btn-danger {
    background: #dd4b39;
  }

  .news-social-share a .fa {
    padding-right: 4px;
  }

  .recent-post {
    padding-top: 2px;
    padding-bottom: 18px;
  }

  .recent-post .media img {
    border-radius: 100%;
    width: 80px;
    height: 80px;
    margin-right: 5px;
  }

  .recent-post .media-heading {
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
    margin-top: 5px;
  }

  .news-categories {
    margin-top: 8px;
  }

  .news-categories li a {
    color: #2b2b2b;
  }

  .news-ads {
    background: #ffffff;
    border-right: 4px solid #2b2b2b;
    padding: 42px;
    text-align: center;
    margin: 26px 0 26px 0;
  }

  .news-ads.sidebar-ads {
    border-left: 4px solid #2b2b2b;
    border-right: 0px;
  }

  .news-ads h4 {
    font-size: 18px;
  }

  .news-tags h4 {
    padding-bottom: 6px;
  }

  .news-categories li,
  .news-tags li {
    list-style: none;
    display: inline-block;
    margin: 4px;
  }

  .news-tags li a {
    background: #393939;
    border-radius: 50px;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    float: left;
    min-width: 30px;
    padding: 6px 12px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
  }

  .news-tags li a:hover {
    background: #4267b2;
  }



  /*---------------------------------------
      APPOINTMENT             
  -----------------------------------------*/

  #appointment {
    padding-top: 100px;
  }

  #appointment label {
    color: #393939;
    font-weight: 500;
  }

  #appointment .form-control {
    background: #f9f9f9;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 15px;
    transition: all ease-in-out 0.4s;
  }

  #appointment input,
  #appointment select {
    height: 45px;
  }

  #appointment button#cf-submit {
    background: #a5c422;
    color: #ffffff;
    font-weight: 600;
    height: 55px;
  }

  #appointment button#cf-submit:hover {
    background: #393939;
    color: #ffffff;
  }


  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  footer h4 {
    padding-bottom: 5px;
  }

  footer a {
    color: #757575;
  }

  footer a:hover {
    color: #4267b2;
  }

  .contact-info {
    padding-top: 10px;
  }

  .contact-info .fa {
    background: #393939;
    border-radius: 100%;
    color: #ffffff;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 2px;
  }

  .latest-stories {
    margin-bottom: 20px;
  }

  .stories-image,
  .stories-info {
    display: inline-block;
    vertical-align: top;
  }

  .stories-image img {
    border-radius: 100%;
    width: 65px;
    height: 65px;
  }

  .stories-info {
    margin-left: 15px;
  }

  .stories-info h5 {
    margin-bottom: 2px;
  }

  .stories-info span {
    color: #858585;
    font-size: 12px;
  }

  .opening-hours p {
    line-height: 18px;
  }

  .opening-hours span {
    font-weight: 500;
    display: inline-block;
    padding-left: 10px;
  }

  .copyright-text p,
  .footer-link a {
    color: #858585;
    font-size: 12px;
    font-weight: 500;
  }

  .footer-link a {
    font-size: 12px;
    display: inline-block;
    padding: 0 10px;
    margin-top: 4px;
  }

  .angle-up-btn {
    position: relative;
    bottom: 4em;
    display: block;
  }

  .angle-up-btn a {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 3px;
    font-size: 20px;
    color: #393939;
    display: inline-block;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 38px;
    transition: transform 0.1s ease-in;
    transform: translateX(0);
  }

  .angle-up-btn a:hover {
    background: #4267b2;
    color: #ffffff;
    transform: translateY(-5px);
  }


  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #464646;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
  }

  .social-icon li a:hover {
    background: #4267b2;
    color: #ffffff;
  }


  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media only screen and (max-width: 1200px) {
    h1 {
      font-size: 3em;
    }
    h2 {
      font-size: 2.5em;
    }
    h3 {
      font-size: 1.5em;
    }

    header {
      height: inherit;
    }
    header span.date-icon {
      border: 0;
      padding-right: 0;
      padding-left: 0;
    }
    header span.email-icon {
      padding-top: 0;
    }

    .navbar-default .navbar-nav li a {
      padding-right: 15px;
      padding-left: 15px;
    }
  }

  @media only screen and (max-width: 992px) {
    .slider .item {
      background-position: center;
    }

    header {
      padding-bottom: 10px;
    }
    header .text-align-right {
      text-align: left;
    }
    header span {
      padding-top: 0;
      padding-left: 0;
      padding-bottom: 0;
    }
  }

  @media only screen and (max-width: 767px) {
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
      border-color: transparent;
    }
    .navbar-default .navbar-nav li.appointment-btn {
      margin-left: 15px;
    }
    .navbar-default .navbar-nav li a {
      display: inline-block;
      padding-top: 8px;
      padding-bottom: 8px;
    }

    .news-sidebar {
      margin-top: 2em;
    }

    #appointment-form {
      padding-top: 4em;
      padding-bottom: 4em;
    }

    footer {
      padding-top: 60px;
      padding-bottom: 0;
    }
    .footer-thumb {
      padding-bottom: 10px;
    }

    .border-top {
      text-align: center;
    }

    .copyright-text {
      margin-top: 10px;
    }

    .angle-up-btn {
      bottom: 10em;
    }
  }

  @media only screen and (max-width: 639px) {
    h1 {
      font-size: 1.5em;
      line-height: 1.2em;
    }
    h2 {
      font-size: 2.1em;
    }
    h4 {
      font-size: 1.4em;
    }

    #home h3 {
      font-size: 14px;
      letter-spacing: 1px;
    }

  }
  .video-container {
  position: relative;
  padding-bottom: 56.25%; /* อัตราส่วน 16:9 (ความสูงเทียบกับความกว้าง) */
  height: 0;
  overflow: hidden;
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* tavoei เพิ่มเติม */
.shorts-responsive {
     position: relative;
     width: 100%;
     max-width: 360px;
     margin: 0 auto;
     aspect-ratio: 9 / 16;
     overflow: hidden;
     border-radius: 8px;
}

.shorts-responsive iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border: 0;
}

/* โครงสร้างหน้า WARRANTY CARD */
.manual-warranty-wrap {
     font-family: Arial, Helvetica, sans-serif;
     color: #222222;
     font-size: 14.5px;
     line-height: 1.42;
     margin-top: 28px;
}

.manual-warranty-title {
     font-family: Arial, Helvetica, sans-serif;
     font-size: 22px;
     font-weight: 400;
     text-align: center;
     text-transform: uppercase;
     letter-spacing: 0.4px;
     color: #222222;
     margin-top: 0;
     margin-bottom: 18px;
}

.manual-warranty-greeting {
     font-size: 16.5px;
     color: #222222;
     margin-top: 0;
     margin-bottom: 8px;
}

.manual-warranty-lead {
     margin-top: 0;
     margin-bottom: 14px;
     color: #222222;
}

.manual-warranty-heading {
     font-family: Arial, Helvetica, sans-serif;
     font-size: 15px;
     font-weight: 700;
     color: #222222;
     margin-top: 14px;
     margin-bottom: 6px;
}

.manual-warranty-text {
     margin-top: 0;
     margin-bottom: 12px;
     color: #222222;
}

/* ตารางข้อมูลใบรับประกัน */
.manual-warranty-table {
     width: 92%;
     border-collapse: collapse;
     border: 1.5px solid #222222;
     font-size: 14.5px;
     color: #222222;
     margin-top: 4px;
     margin-bottom: 14px;
}

.manual-warranty-table td {
     border: 1px solid #444444;
     padding: 5px 8px;
     vertical-align: middle;
     height: 30px;
}

.warranty-label-cell {
     width: 19%;
     min-width: 110px;
     text-align: center;
}

.warranty-field-label {
     width: 34%;
     min-width: 150px;
}

.warranty-field-value {
     width: 47%;
}

.warranty-date-cell {
     width: 34%;
     text-align: center;
     word-spacing: 26px;
}

/* ช่องแบ่งครึ่งด้านขวา (Product series number / Warranty period) */
.manual-warranty-table td.warranty-split-cell {
     padding: 0;
     height: 44px;
}

.warranty-split-cell {
     display: flex;
     align-items: stretch;
     height: 100%;
}

.warranty-sub-col {
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 4px 8px;
}

.warranty-sub-label {
     width: 38%;
     border-right: 1px solid #444444;
     text-align: center;
     line-height: 1.25;
}

.warranty-sub-input {
     width: 62%;
}

.warranty-period-text {
     justify-content: flex-start;
     text-align: left;
     line-height: 1.25;
}

/* รายการเงื่อนไขแบบตัวเลข */
.manual-warranty-list {
     list-style: none;
     counter-reset: warranty-counter;
     padding-left: 0;
     margin-top: 4px;
     margin-bottom: 14px;
}

.manual-warranty-list li {
     counter-increment: warranty-counter;
     position: relative;
     padding-left: 20px;
     margin-bottom: 5px;
     color: #222222;
}

.manual-warranty-list li::before {
     content: counter(warranty-counter) ".";
     position: absolute;
     left: 0;
     top: 0;
     color: #222222;
}
/* กล่องข้อมูลติดต่อซ้อนบนภาพ */

.contact-overlay {
  position: absolute;
  bottom: 3.5% !important;
  left: 13%;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 5;
}
.contact-overlay p {
  margin: 0 0 4px 0 !important;
  line-height: 1.3 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.contact-overlay p:last-child {
  margin-bottom: 0 !important;
}
/* .contact-overlay .c-price {
  font-size: clamp(10px, 3.6vw, 14px);
  font-weight: 400;
  color: #5f5f5f;
} */
.contact-overlay .c-phone {
  font-size: clamp(12px, 3.6vw, 16px);
  font-weight: 600;
  color: #1E3A8A;
}
.contact-overlay .c-line {
  font-size: clamp(11px, 3.3vw, 15px);
  font-weight: 500;
  color: #0F766E;
}
.contact-overlay .c-email {
  font-size: clamp(10px, 2.7vw, 13px);
  color: #475569;
}
.contact-overlay a {
  text-decoration: none !important;
  color: inherit !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.contact-overlay .line-icon {
  width: clamp(13px, 3.5vw, 17px) !important;
  height: auto !important;
  display: inline-block !important;
  margin: 0 !important;
}
/* text บนภาพ  */
/* .contact-overlay-make {
  position: absolute;
  bottom: 50%;
  left: 4%;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 5;
}
.contact-overlay-make p {
  margin: 0 0 4px 0 !important;
  line-height: 1.3 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.contact-overlay-make p:last-child {
  margin-bottom: 0 !important;
}
.contact-overlay-make .c-phone {
  font-size: clamp(12px, 3.6vw, 16px);
  font-weight: 600;
  color: #1E3A8A;
}
.contact-overlay-make .c-line {
  font-size: clamp(11px, 3.3vw, 15px);
  font-weight: 500;
  color: #0F766E;
}
.contact-overlay-make .c-email {
  font-size: clamp(10px, 2.7vw, 13px);
  color: #475569;
}
.contact-overlay-make a {
  text-decoration: none !important;
  color: inherit !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.contact-overlay-make .line-icon {
  width: clamp(13px, 3.5vw, 17px) !important;
  height: auto !important;
  display: inline-block !important;
  margin: 0 !important;
} */
/* บนมือถือ (< 768px): ให้เมนูเรียงลงมาเป็นแถวตั้ง และซ่อนปุ่มแว่นในรายการเมนู */
@media (max-width: 767px) {
.navbar-nav.navbar-right {
  display: block !important;
  float: none !important;
  margin: 7.5px -15px;
}
.navbar-nav.navbar-right > li {
  display: block !important;             
  float: none !important;
  width: 100%;
}
.navbar-nav.navbar-right > li.desktop-search-item {
   display: none !important;
}
}         

/* บนเดสทอป (>= 768px): จัดแว่นขยายกับรายการเมนูให้อยู่แนวเดียวกัน */
@media (min-width: 768px) {
.navbar-nav.navbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}     
}
#search-summary-bar {
          display: none;
          align-items: center;
          justify-content: space-between;
          gap: 8px;
          margin-top: 12px;
          padding: 8px 12px;
          background: #f4f7f9;
          border-radius: 6px;
          font-size: 13px;
     }
     #search-count-text {
          color: #444;
          white-space: nowrap;
     }
     #view-all-results-btn {
          white-space: nowrap;
          background: rgba(66, 103, 178, 0.466) !important;
          color: #fff;
          border: none;
          padding: 6px 12px;
          border-radius: 5px;
          text-decoration: none;
          font-weight: 500;
          text-align: center;
     }
     #view-all-results-btn:hover {
          background:  rgba(46, 86, 165, 0.466);
          color: #fff;
     }

     /* บนจอมือถือแคบ (< 480px): จัดวางซ้อน 2 บรรทัดให้ดูโปร่งและกดง่าย */
     @media (max-width: 480px) {
          #search-summary-bar {
               flex-direction: column;
               align-items: stretch;
               gap: 6px;
               padding: 10px 12px;
          }
          #search-count-text {
               text-align: center;
               font-size: 13px;
          }
          #view-all-results-btn {
               display: block;
               width: 100%;
               padding: 8px 12px;
               font-size: 14px;
          }
     }
@media (max-width: 767px) {
          .navbar-header {
               display: flex !important;
               align-items: center !important;
               justify-content: space-between !important;
               min-height: 60px;
               padding: 6px 0px;
               margin: 0 !important;
          }
          /* ป้องกัน pseudo-element ::before / ::after ของ Bootstrap ทำ flex เพี้ยน */
          .navbar-header::before,
          .navbar-header::after {
               display: none !important;
               content: none !important;
          }
          .navbar-header .navbar-brand {
               float: none !important;
               height: auto !important;
               padding: 0 !important;
               margin: 0 !important;
               display: inline-flex !important;
               align-items: center !important;
               line-height: 1 !important;
          }
          .navbar-header .navbar-brand img {
               display: block;
               max-height: 36px;
               width: auto;
          }
          .mobile-nav-actions {
               display: inline-flex !important;
               align-items: center !important;
               gap: 10px;
               margin-left: auto;
          }
          .mobile-nav-actions .navbar-toggle {
               float: none !important;
               margin: 0 !important;
               display: inline-flex !important;
               flex-direction: column;
               justify-content: center;
               align-items: center;
          }
     }
     /* แอนนิเมชั่นแว่นค้นหา */
     #search-popup-overlay {
          opacity: 0;
          visibility: hidden;
          transition: opacity 0.32s ease, visibility 0.32s ease;
     }
     #search-popup-overlay.is-open {
          opacity: 1;
          visibility: visible;
     }

     #search-popup-box {
          transform: translateY(-20px) scale(0.97);
          opacity: 0;
          transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
     }
     #search-popup-overlay.is-open #search-popup-box {
          transform: translateY(0) scale(1);
          opacity: 1;
     }

     /* เอฟเฟกต์ตอนกดปุ่มแว่นขยาย */
     .js-open-search-modal {
          transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease;
     }
     .js-open-search-modal:active {
          transform: scale(0.92);
     }

     @media (prefers-reduced-motion: reduce) {
          #search-popup-overlay,
          #search-popup-box,
          .js-open-search-modal {
               transition: none !important;
               transform: none !important;
          }
     }