
:root {
  --primary-color: #ec1c24;
  --secondary-color: rgb(160, 1, 1);
  --gray: #aaaaaa;
  --dark: #121214;
  --gradient: linear-gradient(0deg, rgba(20, 99, 184, 1) 0%, rgba(0, 58, 118, 1) 100%);
  }
  
  body .body-inner {
  overflow: hidden;
  }
  
  @media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
  max-width: 1280px;
  }
  }
  #topbar{
    padding: 15px 0 0 0;
  border: none;
  box-shadow: 0 5px 0 #f00f inset;
  }
  
  
  #page-title[data-bg-parallax], [data-bg-parallax] {
  background-color: transparent;
  }
  
html {
  scroll-behavior: auto;
}
  
  .text-color {
  color: #c21016;
  }
  
  .text-gray {
  color: #888;
  }
  
  body, p,
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
  #mainMenu nav>ul>li>a,
  #footer,
  button.btn, .btn:not(.close):not(.mfp-close), a.btn:not([href]):not([tabindex]),
  .article-name span,
  #footer p {
  /* font-family: "Noto Kufi Arabic", "Noto Znamenny Musical Notation", "Prompt", sans-serif; */
  font-family: "Prompt", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  color: #383232;
  }
  
  body, p, address {
  font-size: 16px;
  font-weight: 400;
  }
  
  .italic {
  font-style: italic;
  }
  
  .w100, .w-100 {
  width: 100%;
  }
  
  .w80 {
  width: 80%;
  }
  
  .w70 {
  width: 70%;
  }
  #header {
    box-shadow: 0 10px 15px rgb(0 0 0 / 13%);
  }
  
  blockquote img {
    width: 80%;
  }
  
  .suggestions {
    border: 1px solid #ccc;
    max-width: 500px;
    display: none;
    position: absolute;
    background: #fff;
    z-index: 2000;
    top: 45px;
    left: 0;
    right: 0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: left;
  }
  .suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
  }
  .suggestion-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }
  .suggestion-item:hover {
    background: #f7f7f7;
  }
  .suggestions .suggestion-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
  }
  .suggestions .suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }
  .suggestions .suggestion-item:hover,
  .suggestions .suggestion-item.active {
    background-color: #f5f5f5;
  }
  .suggestions .highlight {
    font-weight: bold;
    color: #007bff;
  }
  
  
  
  
  
  /* logo */
  #header .header-inner #logo {
  vertical-align: middle;
  align-content: center;
  }
  
  #header .header-inner #logo a {
  display: inline-block;
  height: auto;
  float: left;
  font-size: initial;
  vertical-align: middle;
  }
  
  #header .header-inner #logo a>img {
  height: 70px;
  }
  
  a {
  color: var(--primary-color);
  }
  
  a:not(.btn):hover,
  a:not(.btn-view):hover,
  a:not(.btn):not(.badge):hover, a:not(.btn):not(.badge):focus, a:not(.btn):not(.badge):active {
  color: var(--primary-color);
  }
  .background-gray {
    background-color: #dddddd; /* สีเทาอ่อน */
    /* ถ้าต้องการสีเทาเข้ม เช่น #cccccc */
}
button.btn, .btn:not(.close):not(.mfp-close), a.btn:not([href]):not([tabindex]) {
  background-color: #ec1c24;
  text-transform: capitalize;
  color: #ffffff;
  padding: .75rem 1.5rem;
  border: 1px solid #9e0202;
  border-radius: 15.875rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  white-space: normal;
  word-wrap: break-word;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  display: inline-block;
}
.sect-product-category-title {
  padding: 20px 0px 10px 0px;
  ;
}
  .sect-product-detail-content .btn-view-more {
    background-color: #000;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s;
    margin-right: 68px;width: 35%;
  }
  
  
  button.btn.btn-outline, .btn:not(.close):not(.mfp-close).btn-outline, a.btn:not([href]):not([tabindex]).btn-outline {
  border-color: #333;
  color: #333;
  background: transparent;
  }
  
  button.btn.btn-outline:hover, button.btn.btn-outline:focus, button.btn.btn-outline:active,
  button.btn.btn-outline.active, .btn:not(.close):not(.mfp-close).btn-outline:hover,
  .btn:not(.close):not(.mfp-close).btn-outline:focus, .btn:not(.close):not(.mfp-close).btn-outline:active,
  .btn:not(.close):not(.mfp-close).btn-outline.active, a.btn:not([href]):not([tabindex]).btn-outline:hover,
  a.btn:not([href]):not([tabindex]).btn-outline:focus, a.btn:not([href]):not([tabindex]).btn-outline:active,
  a.btn:not([href]):not([tabindex]).btn-outline.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  }
  
  #header.header-modern:not(.header-active) .header-inner, #header.header-modern:not(.header-active) #header-wrap {
  border-radius: 16px;
  }
  
  button.btn.btn-primary:hover, button.btn.btn-primary:focus, button.btn.btn-primary:not(:disabled):not(.disabled):active,
  button.btn.btn-primary:not(:disabled):not(.disabled).active, .btn:not(.close):not(.mfp-close).btn-primary:hover,
  .btn:not(.close):not(.mfp-close).btn-primary:focus,
  .btn:not(.close):not(.mfp-close).btn-primary:not(:disabled):not(.disabled):active,
  .btn:not(.close):not(.mfp-close).btn-primary:not(:disabled):not(.disabled).active,
  a.btn:not([href]):not([tabindex]).btn-primary:hover, a.btn:not([href]):not([tabindex]).btn-primary:focus,
  a.btn:not([href]):not([tabindex]).btn-primary:not(:disabled):not(.disabled):active,
  a.btn:not([href]):not([tabindex]).btn-primary:not(:disabled):not(.disabled).active {
  background: var(--primary-color);
  color: #333;
  }
  
  button.btn:hover, button.btn:focus, button.btn:not(:disabled):not(.disabled):active,
  button.btn:not(:disabled):not(.disabled).active, .btn:not(.close):not(.mfp-close):hover,
  .btn:not(.close):not(.mfp-close):focus, .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled):active,
  .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled).active, a.btn:not([href]):not([tabindex]):hover,
  a.btn:not([href]):not([tabindex]):focus, a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled):active,
  a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled).active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  }
  
  .headbar {
  position: relative;
  }
  
  .headbar .btn {
  position: absolute !important;
  right: 15px;
  top: 10px;
  }
  
  .header-extras>ul>li {
  margin-left: 5px;
  }
  
  .header-extras>ul>li.header-link {
  margin-left: 18px;
  }
  
  .flickity-button {
  border-radius: 50%;
  }
  
  .flickity-button:hover {
  background: var(--primary-color);
  }
  
  .form-group label:not(.error) {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 500;
  margin-bottom: 4px;
  }
  
  .btn-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  padding: 0;
  display: inline-block;
  color: #fff;
  background: var(--gradient);
  }
  
  .btn-circle.btn-expand img {
  width: 14px;
  height: auto;
  }
  
  #search {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(2px);
  }
  
  #search .search-form .form-control {
  color: #fff;
  text-align: center;
  }
  
  #search .search-form .text-muted {
  color: rgba(255, 255, 255, 0.62) !important;
  opacity: 1;
  }
  
  #search .btn-search-close {
  background: var(--secondary-color);
  color: var(--primary-color)
  }
  
  .header-contact {
  margin-right: 20px;
  }
  
  .header-contact ul.list-contact li {
  display: inline-block;
  }
  
  .header-contact ul.list-contact li span {
  display: none;
  }
  
  ul.list-contact li i {
  margin-right: 1px !important;
  }
  
  ul.list-contact li a:hover i {
  color: var(--secondary-color);
  background: var(--primary-color);
  }
  
  .header-extras>ul>li>a:not(.btn) i,
  .header-extras>ul>li .topbar-dropdown>.title i,
  .header-language i {
  font-size: 18px;
  }
  
  .header-extras>ul>li .p-dropdown a>span {
  top: -13px;
  }
  
  .img-flags {
  width: 20px;
  }
  
  .p-dropdown .p-dropdown-content, .p-dropdown ul.p-dropdown-content {
  padding: 5px;
  }
  
  /* search */
  #btn-shopping,
  #btn-search {
  margin-top: 17px;
  }
  
  #btn-shopping,
  #btn-search,
  .search-btn {
  width: 42px;
  height: 42px;
  align-content: center;
  border-radius: 50%;
  line-height: 40px;
  padding: 0;
  text-align: center;
  /* border: 1px solid rgba(0, 0, 0, 0.3); */
  /* box-shadow: 0 -2px 2px rgba(25, 25, 25, 0.34) inset; */
  }
  
  #btn-shopping i,
  #btn-search i,
  .search-btn i {
  line-height: inherit !important;
  }
  
  .header-extras a:hover i {
  color: var(--primary-color) !important;
  }
  
  .search-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  border-radius: 4rem;
  
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  overflow: hidden;
  transition: 400ms ease-in-out;
  position: relative;
  margin-top: 16px;
  }
  
  .search-wrapper.active {
  width: 300px;
  }
  
  .search-wrapper input {
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-left: 40px;
  margin-right: 2px;
  outline: none;
  border: none;
  font-size: 500;
  font-size: 1.2rem;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  }
  
  .search-btn {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  z-index: 1;
  color: #fff;
  }
  
  .search-btn i {
  color: inherit !important;
  }
  
  .header-social {
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  float: left;
  padding-right: 10px;
  margin-right: 10px;
  line-height: 80px;
  vertical-align: middle;
  align-content: center;
  margin-top: 23px;
  }
  
  /* menu */
  #mainMenu nav>ul>li>a {
      font-size: 16px;
      font-weight: 600;
      padding: 0 10px;
      letter-spacing: 0;
    }
    
    #mainMenu nav>ul>li>a,
    .header-extras>ul>li a,
    .header-extras>ul>li a i,
    .header-extras>ul>li .p-dropdown a>span {
      color: #332e2e;
    }
    
    #mainMenu nav>ul>li.hover-active>a,
    #mainMenu nav>ul>li.hover-active>span,
    #mainMenu nav>ul>li.current>a,
    #mainMenu nav>ul>li.current>span,
    #mainMenu nav>ul>li:hover>a,
    #mainMenu nav>ul>li:hover>span,
    #mainMenu nav>ul>li:focus>a,
    #mainMenu nav>ul>li:focus>span {
      color: var(--secondary-color);
    }
    
    #mainMenu nav>ul>li {
      display: inline-block;
      float: none;
      margin: 0;
    }
    
    #mainMenu nav>ul>li:hover {
      box-shadow: inset 0 -5px 0px var(--primary-color);
    }
    
    #mainMenu nav>ul>li .dropdown-menu li {
      line-height: 40px;
      font-size: 1em;
    }
    #mainMenu nav>ul>li .dropdown-menu .wire-ropes li {
      font-size: 1em;
      line-height: 16px;
  }
    #mainMenu nav>ul>li .dropdown-menu li a {
      color: #333;
      display: inline-block;
      width: 100%;
    }
    
    #mainMenu nav>ul>li .dropdown-menu>li.current>a,
    #mainMenu nav>ul>li .dropdown-menu>li.current>span,
    #mainMenu nav>ul>li .dropdown-menu>li:hover>a,
    #mainMenu nav>ul>li .dropdown-menu>li:hover>span,
    #mainMenu nav>ul>li .dropdown-menu>li:focus>a,
    #mainMenu nav>ul>li .dropdown-menu>li:focus>span,
    #mainMenu nav>ul>li .dropdown-menu>li:active>a,
    #mainMenu nav>ul>li .dropdown-menu>li:active>span,
    #mainMenu nav>ul>li .dropdown-menu>li.hover-active>a,
    #mainMenu nav>ul>li .dropdown-menu>li.hover-active>span {
      color: var(--primary-color);
    }
    
    #mainMenu nav>ul>li>a {
      padding: 0 8px;
  line-height: 80px;
  display: inline-block;
  text-transform: math-auto;
  font-size: 18px;
  letter-spacing: 0;
    }
    
    #mainMenu nav>ul>li>a:hover {
      text-decoration: none;
      color: var(--primary-color);
    }
    
    #mainMenu nav>ul>li .dropdown-menu li:hover {
      background: #f2f2f2;
    }
    
    #mainMenu nav {
      float: none;           /* ยกเลิก float */
      display: flex;         /* ใช้ flexbox */
      justify-content: center; /* จัดให้อยู่กลาง */
  }
  
  #mainMenu nav ul {
      /*display: flex;*/
      gap: 20px; /* ระยะห่างระหว่างเมนู */
      list-style: none;
      padding: 0;
      margin: 0;
  }
  /* ===== Fix: show nested submenu only when hovering the submenu itself ===== */
  
  /* 1) ซ่อนทุก nested dropdown โดยดีฟอลต์ เพื่อป้องกันการถูกแสดงโดย selector แบบ descendant */
  #mainMenu nav ul li .dropdown-menu .dropdown-menu {
      display: none !important;
      visibility: hidden;
      opacity: 0;
      transition: opacity .12s ease, visibility .12s ease;
    }
    
    /* 2) ให้เมนูระดับบน (เช่น .dropdown / Products) แสดงเฉพาะ child .dropdown-menu โดยตรง */
    #mainMenu nav ul li.dropdown:hover > .dropdown-menu,
    #mainMenu nav ul li.dropdown:focus-within > .dropdown-menu {
      display: block !important;
      visibility: visible;
      opacity: 1;
      width: 100vw;
      left: -680%;
      right: 0;
      position: absolute;
      top: 100%;
      z-index: 999;
    }
    
    /* 3) ให้เมนูย่อย (dropdown-submenu) เปิดเฉพาะตอน hover / focus-within ที่ตัวมันเอง */
    #mainMenu nav ul li.dropdown-submenu:hover > .dropdown-menu,
    #mainMenu nav ul li.dropdown-submenu:focus-within > .dropdown-menu {
      display: block !important;
      visibility: visible;
      opacity: 1;
    }
    
    /* 4) ปรับตำแหน่งของ mega menu (.wire-ropes) ให้โผล่ข้างๆ ตัวเมนูย่อย (เหมือนในภาพ) */
    /* ถาต้องการให้โผล่ทางขวา */
    /* ===== Wire Ropes Mega Menu (2 Columns) ===== */
    #mainMenu nav ul li.dropdown-submenu > .dropdown-menu.wire-ropes {
      position: absolute;
      top: -5px;
      left: 100%;
      z-index: 999;
      min-width: 520px;
      max-height: 450px;
      overflow-y: auto;
      padding: 5px;
      border-radius: 8px;
      background: #fff;
      display: none;
      grid-template-columns: repeat(5, 1fr);
      gap: 0px;
    }
    
    #mainMenu nav ul li.dropdown-submenu > .dropdown-menu.wire-ropes::-webkit-scrollbar {
      width: 8px;
    }
    
    #mainMenu nav ul li.dropdown-submenu > .dropdown-menu.wire-ropes::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }
    
    #mainMenu nav ul li.dropdown-submenu > .dropdown-menu.wire-ropes::-webkit-scrollbar-thumb {
      background: #9e0202;
      border-radius: 10px;
    }
    
    #mainMenu nav ul li.dropdown-submenu > .dropdown-menu.wire-ropes::-webkit-scrollbar-thumb:hover {
      background: #801424;
    }
    
    /* เมื่อ hover ค่อยแสดง */
    #mainMenu nav ul li.dropdown-submenu:hover > .dropdown-menu.wire-ropes {
      display: grid !important;
      visibility: visible;
      opacity: 1;
    }
    
    /* สไตล์การ์ดแต่ละ li */
    .dropdown-menu.wire-ropes li {
      list-style: none;
    }
    
    .dropdown-menu.wire-ropes li a {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      text-decoration: none;
      color: #333;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      padding: 10px;
    }
    
    .dropdown-menu.wire-ropes li img {
      width: 130px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 8px;
    }
    
    .dropdown-menu.wire-ropes li span {
      font-size: 14px;
      font-weight: 500;
    }
    
    .dropdown-menu.wire-ropes li a:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
  
  
  
    h2.htitle {
      font-size: 2.2em;
      font-weight: bold;
  }
  
  #slider {
  position: relative;
  }
  
  #slider::before {
  position: absolute;
  content: "";
  width: 100%;
  }
  
  #slider .slide {
  position: relative;
  aspect-ratio: 21/8;
  }
  
  #slider .slide .embed-responsive {
  height: 100%;
  width: initial;
  }
  
  #slider .flickity-page-dots {
  bottom: 25px;
  }
  
  .inspiro-slider .slide .slide-captions>p,
  .inspiro-slider .slide .slide-captions h1 {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  color: #fff;
  }
  
  .inspiro-slider .slide .slide-captions h1 {
  font-weight: 500;
  font-size: 2em;
  letter-spacing: 0;
  line-height: 1;
  }
  
  .inspiro-slider .slide .slide-captions>p {
  font-size: 1.7em;
  color: #fff;
  margin-bottom: 20px;
  }
  
  .inspiro-slider .slide .slide-captions .text-link img {
  display: block;
  margin: 0 auto;
  margin-bottom: 5px;
  height: 40px;
  }
  
  .inspiro-slider .slide .slide-captions .text-link {
  position: absolute;
  bottom: -240px;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
  }
  
  
  .header {
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px 0;
    gap: 40px;
  }
  .header-left {
    width: 50%;
  }
  .header-left h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
  }
  
  .header-left h2 span {
    color: #0077cc;
  }
  
  .header-right h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;color: #ffffff;
  }
  
  .header-right p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
  }
  
  .sect-about-index .col-detail h3{
      font-size: 3em;
      font-weight: 700;font-family: "Archivo Black", "Prompt", sans-serif;
  }
  .sect-product{ background: #000;}
  
  /* การ์ด */
  .features {
    display: flex;
    gap: 20px;
    margin: 40px 0;
  }
  
  .card {
    flex: 1;
    background: #ec1c24;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: left;
  }
  
  .card .icon {
    width: 40px;
    height: 40px;
    /* background: #ccc; */
    margin-bottom:10px;
  }
  .card .icon img{ 
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
  }
  
  .card p {
    font-size: 13px;
    color: #ffffff;
    line-height: 1.4;
  }
  
  /* ภาพใหญ่ */
  .big-image {
    width: 100%;
    margin: 40px 0;
  }
  .big-image img {
    width: 100%;
  }
  .big-image .img-placeholder {
    width: 100%;
    height: 250px;
    background: #eaeaea url('https://via.placeholder.com/600x250') center/cover no-repeat;
    border-radius: 8px;
  }
  
  /* ข้อความล่าง */
  .footer-text {
    text-align: center;
    margin: 40px auto;
    max-width: 1280px;
  }
  
  .footer-text h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
  }
  
  .footer-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
  }
  
  
  /* about */
  .sect-about{
      background-color: #ffffff;
      padding: 0 8%;
  }
  .section-about-top {
    padding: 0px 100px 30px 100px;
    background-color: #ffffff;
    margin-top: -43px;
}
.section-about-images {
  padding: 0 100px;
}
.heading-text.heading-gradient h2 > * {
  font-size: 22px;
  -webkit-text-fill-color: transparent !important;
  -webkit-background-clip: text !important;
  /* background: radial-gradient(circle at left top, #ffffff 9%, #ffffff 48%, #ffffff 91%); */
}
.header h4 {
  color: #000 !important;
}
.header p{
  color: #000 !important;
}
  .col-detail {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      /* text-align: center; */
  }
  .sect-about-index .col-image{ padding-left: 60px;}
  .sect-about-index{ padding-bottom: 40px;}
  
  
  /* About Page Styles */
  #page-title {
  padding: 20px 0px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  }
  
  #page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ec1c24;
  z-index: 1;
  }
  
  #page-title .container {
  position: relative;
  z-index: 2;
  }
  
  #page-title h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 10px;
  }
  
  #page-title p {
  font-size: 1.2em;
  opacity: 0.9;
  }
  
  .tags-badge {
  border: 1px solid #ddd;
  margin: 5px 4px;
  display: inline-block;
  padding: 0 5px;
  color: #333;
  border-radius: 3px;
  }
  
  .tags-badge:hover {
  background: var(--primary-color);
  color: #fff !important;
  }
  .flickity-page-dots .dot{
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.27) inset;
  }
  
  
  /* client */
  .sect-client {
    padding-top: 0;
    background: #d1d1d1;
  background: linear-gradient(to top, rgba(241, 241, 241, 1), rgba(255, 255, 255, 1));
  }
  .sect-product{ padding: 200px 0;}
  
  .btn-request{margin-right: 4rem;}
  .sect-product-detail-content-right{padding: 40px 80px;}
  /* Product Card Styles */
  .inspiro-slider:hover .flickity-button.previous, .sect-product .carousel:hover .flickity-button.previous {
    right: auto;
    left: -35px;
    opacity: 1;
  }
  .inspiro-slider:hover .flickity-button.next, .sect-product .carousel:hover .flickity-button.next {
    left: auto;
    right: -45px;
    opacity: 1;
  }
  
  /* ปรับ z-index ให้ปุ่ม Flickity อยู่เหนือ product-item-link */
  .carousel {
    position: relative;
    z-index: 2;
  }
  
  .flickity-button {
    z-index: 100 !important;
    pointer-events: auto !important;
    position: absolute;
    cursor: pointer;
  }
  
  .flickity-prev-next-button {
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer;
  }
  
  .flickity-button:disabled {
    pointer-events: auto !important;
    opacity: 0.3;
  }
  
  .product-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin: 15px;
    position: relative;
    z-index: 1;
  }
  
  .product-item {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* overflow: hidden; */
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  height: 100%;
  }
  
  .product-item-link:hover .product-item {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }
  
  .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }
  
  .product-item .product-image {
  position: relative;
  overflow: hidden;
  }
  
  .product-item .product-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  }
  
  .product-item-link:hover .product-image img,
  .product-item:hover .product-image img {
  transform: scale(1.05);
  }
  
  .product-item .product-content {
  padding: 20px;
  background: #fff;
  }
  
  .product-item .product-title {
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}
p.product-title-catalog {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}
  /* Hover effect - เปลี่ยนสีชื่อสินค้าเป็นสีแดง */
  .product-item-link:hover .product-title,
  .product-item:hover .product-title {
  color: #000000;
  }
  
  .btn-view-more {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 120px;
  }
  
  .btn-view-more:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  }
  
  
  .lightbox-overlay {
    display:flex;
    justify-content:center;
    align-items:center;
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.8);
    z-index:9999;
    opacity:0;
    pointer-events:none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.show {
    opacity:1;
    pointer-events:auto;
}

.lightbox-content {
  /* height: 90%; */
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 0px 0px 0px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 3%;
  background: #be110f;
  color: #fff;
  border: none;
  font-weight: normal;
  font-size: 35px;
  line-height: 17px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
.lightbox-close:focus,
.lightbox-close:active {
  outline: none;
  box-shadow: none;
}

.lightbox-body {
  width: 100%;
  padding: 20px;
  text-align: center;
  max-width: 900px;
}
.lightbox-body iframe {
  width: 100%;
  height: 500px;
  /* max-width: 900px; */
}
.lightbox-body img { max-width:100%; border-radius:10px; }

.lightbox-footer {
  margin-top: -20px;
  width: 100%;
  text-align: center;
  padding: 10px 15px;
  background: #ffffff;
}
.lightbox-btn-close {
    padding:10px 20px;
    background:#be110f;
    color:#fff;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

  
  
  /* Product Carousel Styles */
  .product-slide-loop {
      overflow: hidden;
      position: relative;
      width: 100%;
      margin: 0 auto;
    }
    /* Flickity carousel items */
    .carousel .product-item-link {
      margin: 0 10px;
    }
  .product-slide {
  padding: 20px 0;
  }
  
  .product-slide .owl-item {
  padding: 0 10px;
  }
  
  @media (max-width: 1024px) {
    #mainMenu-trigger {
      position: relative;
      right: 3%;
      opacity: 1;
      visibility: visible;
  }
    .header-extras {
        float: left;
        left: 10%;
    }
    #mainMenu:not(.menu-overlay) nav > ul > li > a {
      display: block;
      padding: 0;
      font-size: 14px;
      border: 0;
      border-radius: 0;
      border-bottom: 1px solid #eee;
      line-height: 60px;
  }
  #mainMenu:not(.menu-overlay) nav > ul > li .dropdown-arrow
   {
          display: inline;
          width: 89%;
      }
  #mainMenu nav ul li.dropdown:hover > .dropdown-menu, #mainMenu nav ul li.dropdown:focus-within > .dropdown-menu{
    position: unset;
  }
  .container {
    padding: 0 0px;
}
}
@media screen and (min-width: 768px) and (max-width: 1024px)  {

  .section-about-top {
    padding: 15px;
}
#mainMenu:not(.menu-overlay) nav > ul > li a {
  margin-left: 30px;
}
.sect-news-grid .col-md-3 {
  max-width: 33%;
}
.list-clients img {
  height: 30px!important;
  transition: all .2s ease-in-out;
}



}
  /* Responsive adjustments */
  @media (max-width: 768px) {

   .sect-product-category .col-md-9  {
    flex: unset;
    max-width: unset;
   }
   .sect-product-gallery {
    padding: 15!important;
}
button.btn:not(.btn-creative):not(.btn-slide), .btn:not(.close):not(.mfp-close):not(.btn-creative):not(.btn-slide), a.btn:not([href]):not([tabindex]):not(.btn-creative):not(.btn-slide){height: unset;}
  .product-item {
  margin: 10px;
  }
  
  .product-item .product-image {

  }
  
  .product-item .product-title {
  font-size: 16px;
  min-height: 40px;
  }
  
  .btn-view-more {
  padding: 6px 16px;
  font-size: 13px;
  min-width: 100px;
  }
  }
  
  /* News Card Styles */
  .news-slider .inspiro-slider:hover .flickity-button.next, .carousel:hover .flickity-button.next{right: -50px;}
  .news-slider .inspiro-slider:hover .flickity-button.previous, .carousel:hover .flickity-button.previous{left: -50px;}
  .news-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
  }
  
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0px 25px rgb(255 0 0 / 42%);
  
  /*border: 2px solid var(--primary-color);*/
}
  
  .news-item .news-image {
  position: relative;
  overflow: hidden;
  }
  .news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .news-item.client-item .news-image img{
    width: auto;
    height: 100px;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
  }
  .news-item.client-item .news-image{
    position: relative;
    overflow: hidden;
    height: 150px;
    text-align: center;
    align-content: center;
    }
  
  
  .news-item:hover .news-image img {
  transform: scale(1.05);
  }
  
  .news-item .news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #777777;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
  }
  
  .news-item .news-date .day {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  }
  
  .news-item .news-date .month {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
  }
  
  .news-item .news-content {
  padding: 15px;
  background: #fff;
  }
  
  .news-item .news-category {
  margin-bottom: 12px;
  }
  
  .news-item .category-tag {
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  }
  
  .news-item .news-title {
  margin-bottom: 10px;
  line-height: 1.4;
  }
  
  .news-item .news-title a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  }
  
.news-item .news-title a:hover {
  color: var(--primary-color);
}

.news-item:hover .news-title a {
  color: var(--primary-color);
}
  
  .news-item .news-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 65px;
  }
  
  .news-item .news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: #888;
  }
  
  .news-item .news-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  }
  
  .news-item .news-meta i {
  font-size: 14px;
  color: var(--primary-color);
  }
  
  .btn-read-more {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 120px;
  }
  
  .btn-read-more:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  }
  
  /* News Carousel Styles */
  .news-slider {
  padding: 20px 0;
  }
  
  .news-slider .owl-item {
  padding: 0 10px;
  }
  
  /* Section Header Styles */
  .sect-news .headbar {
  position: relative;
  margin-bottom: 50px;
  }
  
  .sect-news .h-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #000;
  /*color: var(--text-color);*/
  margin-bottom: 10px;
  }
  
  .btn-right {
    position: absolute;
    right: 0;
    top: 50%;
    /* background-color: #ec1c24; */
    text-transform: capitalize;
    color: #9e0202;
    padding: .75rem 1.5rem;
    border: 1px solid #9e0202;
    border-radius: 15.875rem;
    background-color: #ffffff;
    transform: translateY(-50%);
    /* color: var(--primary-color); */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.sect-news .btn-right {
  position: absolute;
  right: 0;
  top: 50%;
  background-color: #ec1c24; 
  text-transform: capitalize;
  color: #ffffff;
  padding: .75rem 1.5rem;
  border: 1px solid #9e0202;
  border-radius: 15.875rem;
  /* background-color: #202124; */
  transform: translateY(-50%);
  /* color: var(--primary-color); */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.sect-news .btn-right:hover {
  background-color: #9e0202;
  color: #ffffff!important;
  transform: translateY(-50%) translateX(5px);
}
  .btn-right:hover {
  color: var(--text-color);
  transform: translateY(-50%) translateX(5px);
  }
  
  .btn-right i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  }
  
  .btn-right:hover i {
  transform: translateX(3px);
  }
  
  /* Responsive adjustments for news */
  @media (max-width: 768px) {
    .news-item {
      margin: 10px 0px;
  }
  
  .news-item .news-image {
    height: 85px!important; 
}
  .news-item.client-item .news-image img{ height: 55px;}
  .news-item .news-content {
  padding: 20px;
  }
  
  .news-item .news-title a {
  font-size: 16px;
  }
  
  .news-item .news-excerpt {
  font-size: 13px;
  -webkit-line-clamp: 2;
  }
  
  .news-item .news-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  }
  
  .btn-read-more {
  padding: 6px 16px;
  font-size: 13px;
  min-width: 100px;
  }
  
  .sect-news .h-title {
  font-size: 1.8em;
  }
  
  .btn-right {
  position: static;
  transform: none;
  margin-top: 15px;
  display: inline-block;
  }
  
  .btn-right:hover {
  transform: translateX(5px);
  }
  }
  
  .background-colored {
  background-color: var(--primary-color);
  }
  
  /* Products Page Styles */
  .sect-product-intro {
  padding: 80px 0;
  background: #fff;
  }
  .product-content ul {
    padding-left: 30px;
  }
  .product-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  }
  
  .product-intro-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  }
  .sect-product-category {
    padding: 0;
  }
  .sect-product-grid
   {
      padding: 0px 10px;
  }
  /* ซ่อน sub list ตามค่าเริ่มต้น */
  .list .sub-list {
    display: none;
    margin-left: 0px;
    background-color: #ffffff;
  }
  .list .sub-list-1 {
    background-color: #f0f0f0;
    margin-left: 0px;
    padding: 5px;margin-top: 10px;
  }
  /* ถ้า li มี class open ให้แสดง sub-list โดยตรง (fallback) */
  .list li.open > .sub-list {
  }
  
  /* รูปแบบเมนูบรรทัดเดียว (สำหรับ menu-item layout) */
  .menu-item {
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  
  /* ปุ่ม toggle */
  .toggle-btn {
    font-size: 30px;
    background: #fff;
  border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    line-height: 0;
    cursor: pointer;
    padding: 0;
    float: right;
}
.toggle-btn:focus,
.toggle-btn:active {
  outline: none;
  box-shadow: none;
}
  
.list-lines {
  margin-top: 0px;
  list-style: none;
  font-size: 14px;
}
  
  
  /* Product Cards */
  .product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    margin-bottom: 0px;
    padding-bottom: 30px;
  }
  
  .product-card {
        margin-top: 13px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0px 12px hsl(0deg 0% 0% / 20%);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex
  ;
    flex-direction: column;
  }
  
  .product-card-link:hover .product-card {
  transform: translateY(-5px);
  box-shadow: 0 0px 15px #ff000075;
  }
  
  .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }
  
  .product-card-image {
  position: relative;
  overflow: hidden;
  }
  
  .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  }
  
  .product-card:hover .product-card-image img,
  .product-card-link:hover .product-card-image img {
  transform: scale(1.05);
  }
  
  /* Hover effect - เปลี่ยนสีชื่อสินค้าเป็นสีแดง */
  .product-card-link:hover .product-card-title,
  .product-card:hover .product-card-title {
  color: #dc3545;
  }
  
  .product-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  }
  
  .product-card-title {
  font-size: 18px;
  font-weight: normal;
  color: #000;
  margin-bottom: 0px;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  }
  
  .product-card-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 5px;
  /* flex-grow: 1; */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 66px;
  }
  
  .product-price {
  margin-bottom: 20px;
  }
  
  .btn-contact {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  align-self: flex-start;
  margin-top: 0;
  }
  
  .btn-contact:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  }
  
  ul.brands-list li {
  width: 16%;
  display: inline-block;
  float: left;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
  }
  
  ul.brands-list li img {
  max-width: 100%;
  transition: all .2s ease-in-out;
  }
  
  ul.brands-list li:hover img {
  transform: scale(1.1);
  }
  
  /* Contact CTA Section */
  section.sect-contact-address .row {
    display: unset;
}
  .sect-contact-address .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    float: left;    height: 320px;
}
  .sect-contact-cta {
  padding: 80px 0;
  background: #f8f9fa;
  }
  
  .sect-contact-cta .btn-lg {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  }
  
  /* Responsive Design for Products */
  @media (max-width: 1200px) {
  .product-card-title {
  font-size: 16px;
  min-height: 45px;
  }
  
  .product-card-desc {
  font-size: 13px;
  -webkit-line-clamp: 2;
  }
  }
  @media screen and (min-width: 1690px) and (max-width: 2056px) {
    .sect-about {
      background-color: #ffffff;
      padding: 0 18%;
  }
  .section-about-top {
    padding: 0px 300px 30px 325px;
    background-color: #ffffff;
}
  
  }
  
  
  @media (max-width: 768px) {
  
    .sect-product-intro, .sect-product-grid {
      padding: 15px 15px;
  }
  .sect-product-intro, .sect-product-grid .container {
    padding: 0px;
}
.sect-product-category-title {
  padding: 15px;
}
  .product-intro-content p {
  font-size: 15px;
  line-height: 1.6;
  }
  
  .product-card {
  margin-bottom: 20px;
  }
  
  .product-card-image {
  /* height: 180px; */
  }
  
  .product-card-content {
  padding: 20px;
  }
  
  .product-card-title {
  font-size: 16px;
  min-height: 40px;
  }
  
  .product-card-desc {
  font-size: 13px;
  margin-bottom: 15px;
  }
  
  .btn-contact {
  padding: 8px 16px;
  font-size: 13px;
  }
  
  .sect-contact-cta {
  padding: 60px 0;
  }
  }
  
  @media (max-width: 576px) {
  .product-card-image {
  /* height: 160px; */
  }
  
  .product-card-content {
  padding: 15px;
  }
  
  .product-card-title {
  font-size: 15px;
  min-height: 35px;
  }
  
  .product-card-desc {
  font-size: 12px;
  -webkit-line-clamp: 2;
  }
  }
  
  /* Pagination Styles */
  .pagination .page-item:not(.disabled).active>.page-link, .pagination .page-item:not(.disabled):active>.page-link, .pagination .page-item:not(.disabled):focus>.page-link, .pagination .page-item:not(.disabled):hover>.page-link {
    background-color: #9e0202;
    border-color: #9e0202;
    color: #ffffff;
    box-shadow: none;
  }
  .sect-pagination {
  padding: 40px 0;
  background: #ffffff;
  }
  
  .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
  }
  
  .page-item {
  margin: 0 2px;
  }
  
  .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 2px solid #e9ecef;
  background: #fff;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
  }
  
  .page-link:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 58, 58, 0.2);
  }
  
  .page-item.active .page-link {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(58, 58, 58, 0.3);
  }
  
  .page-item.disabled .page-link {
  background: #f8f9fa;
  color: #adb5bd;
  border-color: #e9ecef;
  cursor: not-allowed;
  opacity: 0.6;
  }
  
  .page-item.disabled .page-link:hover {
  background: #f8f9fa;
  color: #adb5bd;
  border-color: #e9ecef;
  transform: none;
  box-shadow: none;
  }
  
  .pagination-info {
  margin-top: 20px;
  }
  
  .pagination-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
  }
  
  /* Responsive Pagination */
  @media (max-width: 768px) {
  .sect-pagination {
  padding: 30px 0;
  }
  
  .page-link {
  width: 40px;
  height: 40px;
  font-size: 14px;
  }
  
  .pagination-info p {
  font-size: 13px;
  }
  }
  
  @media (max-width: 576px) {
  .page-link {
  width: 35px;
  height: 35px;
  font-size: 13px;
  }
  
  .pagination {
  gap: 3px;
  }
  }
  
  /* Breadcrumb Styles */
  .breadcrumb ul .breadcrumb-item a, .breadcrumb ul li a, .breadcrumb ol .breadcrumb-item a, .breadcrumb ol li a {
    color: #ffffff!important;
}
  .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0px 0;
  background: #eb1c24;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.5;
  justify-content: center;
  }
  
  .breadcrumb-item {
  display: flex;
  align-items: center;
  }
  
  .breadcrumb-item+.breadcrumb-item {
  padding-left: 0px;
  }
  
  .breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  display: inline-block;
  padding-right:0px;
  color: #ffffff;
  font-weight: 400;
  
  }
  .breadcrumb ul .breadcrumb-item+li:before, .breadcrumb ul li+li:before, .breadcrumb ol .breadcrumb-item+li:before, .breadcrumb ol li+li:before{
    margin: 0 0px;
  }
  .breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 600;
  }
  
  .breadcrumb-item a {
  color: #1f1f1f;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-right: 10px;
  }
  
  .breadcrumb-item a:hover {
  color: var(--primary-color);
  
  text-decoration: underline;
  }
  
  .breadcrumb-item.active a {
  pointer-events: none;
  }
  
  /* Breadcrumb Container */
  .breadcrumb-container {
  margin: 20px 0;
  }
  
  .breadcrumb-container .container {
  padding: 0 15px;
  }
  
  /* Responsive Breadcrumb */
  @media (max-width: 768px) {
  .breadcrumb {
  font-size: 13px;
  padding: 12px 0;
  }
  
  .breadcrumb-item+.breadcrumb-item {
  padding-left: 6px;
  }
  
  .breadcrumb-item+.breadcrumb-item::before {
  padding-right: 6px;
  }
  }
  
  @media (max-width: 576px) {
  .breadcrumb {
  font-size: 12px;
  padding: 0px 0;
  }
  
  .breadcrumb-item+.breadcrumb-item {
  padding-left: 4px;
  }
  
  .breadcrumb-item+.breadcrumb-item::before {
  padding-right: 4px;
  }
  }
  
  
  /* footer */
  .footer-content .list li
   {
      line-height: 37px;
  }
  #footer,
  #footer .footer-content {
    
    /* background: #2c2d31; */
  }
  #footer h4,
  #footer strong,
  #footer .name-th {
    color: #ffffff !important;font-size: 26px;
  }
  #footer, #footer p, #footer a, #footer a:not(.btn):not(:hover),#footer address {
      color: #ffffff;
  }
  ul.social
   {
      margin-top: 33px;
  }
  #footer .footer-botom {
    padding: 0px 0;
  }
  .col-links-right {
    text-align: right;
  }
  
  .col-links-right ul {
    display: inline-block; /* เพื่อไม่ให้เต็มบรรทัด */
    padding: 0;
    margin: 0;
    list-style: none;
  }
  #footer, #footer p, #footer a, #footer address {
  font-size: 15px;
  }
  .footer-right li {
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
  }
  .footer-right {
    padding-left: 15%;
    margin-top: 24px;
}
  
  
  
  #footer a:hover {
  color: var(--primary-color);
  }
  /* #footer .cmiddle{
  display: flex;
  align-items: end;
  justify-content: end;
  } */
  
  .logo-shopping img {
  height: 60px;
  }
  
  .logo-shopping {
  display: inline-block;
  float: right;
  clear: both;
  margin-top: 40px;
  }
  
  .logo-shopping a {
  display: inline-block;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  }
  
  .logo-shopping a:first-child {
  padding-left: 0;
  border: none;
  }
  .logo-shopping-shopee{
      padding-left: 23px;
  padding-right: 10px;
  }
  
  .ft-top-inner {
  margin: 0;
  background: #e9bf1c;
  border-radius: 30px;
  width: 100%;
  color: #000;
  position: relative;
  top: -120px;
  z-index: 3;
  margin-bottom: -80px;
  padding: 30px;
  align-content: center;
  }
  
  #footer .ft-top-inner h4,
  #footer .ft-top-inner p {
  color: inherit !important;
  margin: 0;
  }
  
  #footer .ft-top-inner h4 {
  margin-bottom: 0;
  font-size: 1.5em;
  }
  
  .ft-top-inner .rgh {
  text-align: right;
  align-content: center;
  }
  
  #footer .footer-content {
  position: relative;
  padding: 80px 0 40px 0;
  }
  
  #footer .logo-footer {
  height: 75px;
  margin-right: 20px;
  }
  
  #footer .name-th {
  font-size: 1.2em;
  font-weight: 600;
  font-family: "Archivo Black", Prompt, sans-serif;
  }
  
  #footer address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 20px;
  }
  
  footer .social-icons {
  float: right;
  }
  
  #footer .list-contact li i {
  width: 35px;
  height: 35px;
  line-height: 35px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  }
  
  #footer .social-icons {
  margin-top: 20px;
  }
  
  #footer .social-icons li {
  margin-right: 10px;
  }
  
  #footer .social-icons li a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: rgba(255, 255, 255, 0.19);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 17px;
  }
  
  #footer .social-icons li a:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
  }
  
  #footer .list-links li {
  margin: 0 15px;
  float: left;
  }
  
  #footer .list-links li:first-child {
  margin-left: 0;
  }
  
  #footer .list-links li a {
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
  }
  
  #footer .col-links ul {
  display: inline-block;
  }
  
  #footer .copyright {
  font-size: inherit;
  margin: 0;
  line-height: 32px;
  float: right;
  }
  
  #footer {
    background: url(../images/bg-footer.jpg) no-repeat center center / cover;
  padding: 0;
  }
  
  #footer .logo-footer {
  margin-right: 0;
  margin-bottom: 15px;
  }
  
  #footer .list-links li {
  margin: 5px 10px;
  }
  
  footer ul.list-contact li {
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: 500;
  }
  footer ul.list-contact li strong {
    font-size: 16px !important;
}
  footer ul.list-contact li i {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-color);
  font-size: 14px;
  }
  
  footer ul.list-contact li i {
  margin-right: 7px !important;
  }
  
  ul.list-contact li a:hover {
  background: transparent;
  }
  
  #footer .widget .widget-title,
  #footer .widget h4 {
  font-weight: normal;
  font-size: 16px;margin-bottom: 5px;
  }
  
  #footer .copyright-content {
  background: transparent;
  }
  
  #footer .copyright-content {
  font-size: 15px;
  }
  
  footer .col-qr {
  text-align: right;
  }
  
  footer .col-qr .widget {
  display: inline-block;
  text-align: left;
  }
  
  footer .cright .inner {
  display: inline-block;
  float: left;
  margin-left: 40px;
  }
  
  footer .cright .social-icons {
  clear: both;
  }
  
  footer ul.list-contact {
  display: inline-block;
  float: left;
  }
  .widget {
      margin-bottom: 0px;
      position: relative;
  }
  .clear {
  clear: both;
  display: block;
  }
  
  .img-qrcode {
  float: right;
  }
  
  footer .ft-connect .widget {
  text-align: center;
  display: inline-block;
  float: right;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  }
  
  footer .ft-connect .widget h4 {
  text-transform: none;
  }
  
  footer .ft-connect .widget a:hover {
  color: #fff;
  }
  
  footer .ft-connect img {
  border-radius: 13px;
  }
  
  footer ul.list-contact li i {
  background: var(--primary-color);
  color: #fff;
  }
  
  footer ul.list-contact li a:hover i {
  background: var(--hover-color);
  color: #fff;
  }
  
  #footer .list-links li a:hover {
  color: var(--primary-color);
  }
  
  #scrollTop:after, #scrollTop:before {
  background: var(--primary-color);
  }
  
  #footer .col-fll .list-links a {
  font-weight: 600 !important;
  }
  
  #footer .col-right .list-links {
  float: right;
  }
  
  .list-contact.social span {
  display: none;
  }
  
  .list-contact.social li {
  display: inline-block;
  }
  
  .bg-color-box {
  background: #91c53f;
  color: #fff;
  padding: 20px;
  }
  
  #header.header-sticky.sticky-active .header-inner, #header.header-sticky.sticky-active #header-wrap {
  border-radius: 0;
  }
  
  .social-icons li.social-facebook a:hover {
  background-color: #227df5 !important;
  color: #fff;
  }
  
  .social-icons li.social-youtube a:hover {
  background-color: #ff0000 !important;
  color: #fff;
  }
  
  .social-icons li.social-line a:hover {
  background-color: #00c300 !important;
  color: #fff;
  }
  
  .social-icons li.social-x a {
  background-color: #000;
  color: #fff;
  }
  
  .social-icons li.social-x a:hover img, .social-icons li.social-line a:hover img {
  filter: brightness(0) invert(1);
  }
  
  .social-icons li.social-tiktok a:hover {
  background-color: #000 !important;
  color: #fff;
  }
  
  .social-icons li.social-linkedin a:hover {
  background-color: #0b66c2 !important;
  color: #fff;
  }
  
  .social-icons.social-icons-colored .social-whatsapp a, .social-icons.social-icons-colored-hover .social-whatsapp a:hover
  {
  background-color: #24d366 !important;
  color: #fff;
  }
  
  .social-icons.social-icons-colored-hover li a:not(:hover) .image-icon-social {
  filter: none;
  }
  
  .social-icons.social-icons-colored-hover li.social-x a:not(:hover),
  .social-icons.social-icons-colored-hover li.social-tiktok a:not(:hover) {
  background: transparent;
  color: #000;
  }
  
  .social-icons.social-icons-colored-hover li a:not(:hover) .image-icon-social {
  filter: brightness(0) invert(1);
  }
  
  .social-icons.light li a:not(:hover) .image-icon-social {
  filter: brightness(0) invert(1);
  }
  /* .social-icons.social-icons-colored li.social-instagram a,  */
  .social-icons:not(.social-title) li.social-instagram a:hover {
  background-color: transparent;
  background: url('../images/social/instagram-bg.jpg') no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  }
  
  .social-icons.social-icons-colored li.social-tiktok a{
      background: #000;
  }
  .social-icons:not(.social-title) li.social-tiktok a:hover {
  background-color: transparent;
  background: #000 url('../images/social/tiktok-bg.webp') no-repeat !important;
  background-size: 15px !important;
  background-position: center !important;
  }
  
  .social-icons li.social-tiktok a:hover i {
  opacity: 0;
  }
  
  .image-icon-social {
  height: 13px;
  top: -1px;
  position: relative;
  filter: brightness(0) invert(1);
  }
  
  footer .social-icons li.social-line a:hover .image-icon-social {
  filter: brightness(0) invert(1);
  }
  
  .social-x a:hover {
  color: #0766c2;
  }
  
  footer .social-icons li.social-instagram a:hover {
  color: #fff;
  }
  
  .social-icons li:hover img {
  -webkit-animation: toTopFromBottom 0.3s forwards;
  animation: toTopFromBottom 0.3s forwards;
  }
  
  .social-icons img {
  height: 16px;
  }
  
  .social-icons.social-icons-colored .social-gmail a, .social-icons.social-icons-colored-hover .social-gmail a:hover {
  background-color: #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.34) inset;
  }
  
  .social-icons li.social-mail a:hover {
  background-color: #ee0707 !important;
  color: #fff;
  }
  
  /* .social-icons li.social-line a {
  background-color: #00c300 !important;
  color: #fff;
  } */
  
  .social-icons li.social-linemyshop a {
  background-color: #00c300 !important;
  color: #fff;
  }
  
  .social-icons li.social-linemyshop a img.image-icon-social {
  filter: none;
  }
  
  .social-icons .social-phone a:hover {
  background-color: #25940f !important;
  }
  
  .social-icons .social-website a {
  background: #285fb4;
  }
  
  .social-icons .line-oa img {
  max-width: 81%;
  height: auto;
  }
  
  .social-shopee a, .social-shopee a:hover {
  background: #ee4d2d !important;
  }
  
  .social-shopee a img {
  filter: brightness(0) invert(1);
  }
  
  img.social-img-lazada {
  height: 23px;
  }
  
  .social-lazada a:hover {
  background: url(../images/social/social-lazada.png) no-repeat !important;
  background-size: 40px !important;
  background-position: center;
  }
  
  .social-img-icon a:hover img {
  opacity: 0 !important;
  }
  
  /* Privacy Policy Popup Styles */
  .privacy-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
  }
  
  .privacy-popup-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease-out;
  position: relative;
  }
  
  .privacy-popup-header {
  padding: 25px 30px 20px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  }
  
  #privacy-close-btn {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: #000;
  position: absolute;
  top: 20px;
  right: 20px;
  }
  
  #privacy-close-btn i {
  color: inherit;
  }
  
  .privacy-popup-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  }
  
  .privacy-popup-header i {
  font-size: 28px;
  color: #fff;
  }
  
  .privacy-popup-body {
  padding: 30px;
  line-height: 1.6;
  }
  
  .privacy-popup-body p {
  margin-bottom: 15px;
  color: #333;
  font-size: 15px;
  }
  
  .privacy-popup-body ul {
  margin: 15px 0;
  padding-left: 20px;
  }
  
  .privacy-popup-body li {
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  }
  
  .privacy-popup-footer {
  padding: 20px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  }
  
  .privacy-popup-footer .btn {
  min-width: 120px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  }
  
  .privacy-popup-footer .btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  }
  
  .privacy-popup-footer .btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(227, 31, 38, 0.3);
  }
  
  .privacy-popup-footer .btn:not(.btn-outline) {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  }
  
  .privacy-popup-footer .btn:not(.btn-outline):hover {
  background: #c21016;
  border-color: #c21016;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(227, 31, 38, 0.3);
  }
  
  /* กล่อง Privacy */
  .privacy {
    margin: 15px 0;
  }
  
  .privacy label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }
  
  .privacy input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1); /* ขยาย checkbox นิดหน่อยให้เห็นชัด */
  }
  
  .privacy a {
    margin-left: 4px;
    color: #007bff;
    text-decoration: none;
  }
  
  .privacy a:hover {
    text-decoration: underline;
  }
  
  /* reCAPTCHA Placeholder */
  .form-group .recaptcha-box {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
  }
  /* Animations */
  @keyframes fadeIn {
  from {
  opacity: 0;
  }
  
  to {
  opacity: 1;
  }
  }
  
  @keyframes slideIn {
  from {
  opacity: 0;
  transform: translateY(-50px) scale(0.9);
  }
  
  to {
  opacity: 1;
  transform: translateY(0) scale(1);
  }
  }
  
  .sect-related-products {
    padding: 0;
  }
  .sect-complementary-products {
    padding: 0;
  }
  .sect-recently-products{
    padding: 0;
  }
  /* Responsive Design */
  @media (max-width: 768px) {
  .privacy-popup-content {
  width: 95%;
  margin: 20px;
  }
  
  .privacy-popup-header {
  padding: 20px 20px 15px;
  }
  
  .privacy-popup-header h3 {
  font-size: 20px;
  }
  
  .privacy-popup-body {
  padding: 20px;
  }
  
  .privacy-popup-footer {
    padding: 15px 20px 25px;
    /* flex-direction: column; */
    /* text-align: center; */
}
  
  .privacy-popup-footer .btn {
  width: 100%;
  min-width: auto;
  }
  }
  
  @media (max-width: 480px) {
    .sect-product-detail-content-right ul {
      padding-left: 24px;
  }
  .carousel .product-item-link {
    margin: 0 25px;
    padding-left: 15px;
}
.sect-contact-address .col-lg-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 100%;
  float: unset;
  height: 320px;]
}
    #mainMenu nav ul li.dropdown:hover > .dropdown-menu, #mainMenu nav ul li.dropdown:focus-within > .dropdown-menu {
      display: block !important;
      visibility: visible;
      opacity: 1;
      width: 100vw;
      left: 0%;
      right: 0;
      position: unset;
      top: 100%;
      z-index: 999;
  }
  #mainMenu:not(.menu-overlay) nav > ul > li > a {
    line-height: 50px;
    display: block;
    padding: 0px 15px;
    font-size: 14px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eee;
}
#mainMenu:not(.menu-overlay) nav > ul > li.dropdown:before {
  right: 30px;
  display: block;
}
#mainMenu nav > ul > li .dropdown-arrow {
  height: 40px;
  width: 80%;
  z-index: 1;
  right: -10px;
}
.headbar {
  margin-top: 45px;
  position: relative;
}
    .header-extras {
      float: left;
      left: 65px;
  }
  .search-container {
    left: 0px;
    width: 100%!important;
}
.news-item .news-image
 {
        height: 150px!important;
    }
.col-detail {
  /* padding: 0; */
  display: unset;
  text-align: center;
}
.sect-about-index .col-detail h3 {
  font-size: 1.8em;
  font-weight: 700;
}
.col-detail h4 {
  font-size: 21px;
  margin-bottom: 0 !important;
}
.sect-about-index .col-image {
  padding-left: 0px;
}
.sect-about-index .col-image {
  padding-left: 0px;
  padding-right: 0;
  margin-bottom: 20px;
}
.btn-more-about {
  text-align: center;
}
.sect-about-index {
  padding: 15px;
}
.sect-related-products {
  padding: 0 15px;
}
.sect-product {
  padding: 94px 0;
  background-position-x: 20% !important;
}
h2.htitle {
  font-size: 1.5em;
  font-weight: bold;
}
ul.list.list-clients {
  width: 106%;
  left: -8px;
}
.list-clients li {
  width: calc(100% / 2)!important;
}
.sect-news .btn-right {
  margin-top: 30px;
  position: unset;
}
.sect-news .headbar { margin-bottom: 0px !important;
}
.news-item.client-item .news-image img {
  height: 125px;
}
.footer-right {
  padding-left: 0%;
  margin-top: 24px;
}
#footer .list-links li { font-size: 11px;
}
.col-links-right {
  text-align: center;
}
.sect-product-gallery {
  padding: 15px!important;
  position: relative;
  z-index: 1;
}
.sect-product-detail-content-right {
  padding: 30px 15px;
}
.sect-complementary-products {
  padding: 15px;
}
.product-slide {
  padding: 20px 15px 20px 0px;
}
.section-about-top {
  padding: 15px;
  background-color: #ffffff;
  margin-top: -40px;
}
.features {
  display: unset;
  gap: 20px;
  margin: 40px 0;
}
.section-about-images {
  padding: 0px;
}
.section-about-bottom {
  padding: 0px 10px;
}
.privacy-policy-content img {
  width: 100%;
  height: 100%;
}
.sect-contact-address .col-lg-4 {
  margin-bottom: 20px;
}
.product-category {
  grid-template-columns: repeat(2, 1fr);
}

.background-sub-con a.btn.btn-roundeded {
  margin-top: 15px;
}
#footer {
  padding: 0 15px;
}
.privacy-policy-content {
  padding: 0 15px;
}


  .privacy-popup-header h3 {
  font-size: 18px;
  flex-direction: column;
  gap: 5px;
  }
  
  .privacy-popup-body {
  padding: 15px;
  }
  
  .privacy-popup-body p {
  font-size: 14px;
  }
  
  .privacy-popup-body li {
  font-size: 13px;
  }
  }
  /*gallery*/
  
  .project-gallery { display: flex; flex-direction: column; align-items: center; }
  .gallery-main { position: relative; }
  .gallery-main img { width: 100%; max-width: 500px; display: block; border-radius: 5px; }
  .play-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 40px; text-decoration: none; }
  .gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; justify-content: center; }
  .gallery-thumbs img { width: 100px; cursor: pointer; border: 2px solid transparent; border-radius: 5px; }
  .gallery-thumbs img.active { border-color: #007bff; }
  
  .project-gallery .swiper {
    width: 100%;
  }
  
  .project-gallery .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* สไตล์ icon-play ให้อยู่กลางภาพใหญ่ */
  .project-gallery .swiper-slide a {
    position: relative; /* ให้ a เป็น reference */
  }
  
  .project-gallery .swiper-slide a .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* จัดกลางแนวตั้งและแนวนอน */
    font-size: 50px; /* ขนาด icon */
    color: rgba(255, 255, 255, 0.8); /* สี icon */
    pointer-events: none; /* ให้ click ผ่านไปยัง a */
  }
  .gallery-thumbs .swiper-slide {
    width: 185px; /* ปรับขนาด thumbnail */
    height: 100px;
    cursor: pointer;
    opacity: 0.6;
  }
  
  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #ff0000 !important; /* ขอบ active */
  }
  /* Product Detail Page Styles */
  .sect-product-content {
    padding: 0;
  }
  .sect-product-detail {
  padding: 60px 0;
  background: #f8f9fa;
  }
  
  .sect-product-detail .container {
  max-width: 1200px;
  }
  /* Swiper Gallery Main */
  .gallery-top {
    width: 100%;
    height: auto;
  }
  .gallery-top .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain; /* หรือ cover ถ้าต้องการให้เต็มครอบ */
    display: block;
    border-radius: 6px;
  }
.sect-product-gallery {
  padding: 0px 250px;
  position: relative;
  z-index: 1;
}
.sect-product-detail-content {
  padding: 50px 0px;
}
/* Swiper Thumbs */
.gallery-thumbs {
  margin-top: 10px;
  position: relative;
  padding: 0 40px; /* เพิ่มพื้นที่สำหรับปุ่ม navigation */
}

/* ดันปุ่ม Swiper ออกมาด้านนอกและปรับ z-index */
.project-gallery {
  position: relative;
}

.project-gallery .swiper-button-next,
.project-gallery .swiper-button-prev {
  position: absolute;
  z-index: 999 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

.project-gallery .swiper-button-next {
  right: -44px;
  top: 50%;
  transform: translateY(-50%);
}

.project-gallery .swiper-button-prev {
  left: -44px;
  top: 50%;
  transform: translateY(-50%);
}

/* ปรับการแสดงผลเมื่อ hover */
.project-gallery .swiper-button-next::after,
.project-gallery .swiper-button-prev::after {
  font-size: 20px;
}

/* ปุ่ม Thumbnail Navigation ที่อยู่นอก gallery-thumbs */
.project-gallery .swiper-button-next-thumb,
.project-gallery .swiper-button-prev-thumb {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  pointer-events: auto;
}

/* ตำแหน่งปุ่ม NEXT / PREV */
.project-gallery .swiper-button-next-thumb {
  right: -44px; /* ปรับตามต้องการ */
  top: 90%;
  transform: translateY(-50%);
}

.project-gallery .swiper-button-prev-thumb {
  left: -44px; /* ปรับตามต้องการ */
  top: 90%;
  transform: translateY(-50%);
}

/* Hover effect */
.project-gallery .swiper-button-next-thumb:hover,
.project-gallery .swiper-button-prev-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* ปุ่ม NEXT */
.project-gallery .swiper-button-next-thumb::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900; /* solid icon */
  content: '\f105'; /* ลูกศรขวา */
  font-size: 24px;
  color: #ff0000;
}

/* ปุ่ม PREV */
.project-gallery .swiper-button-prev-thumb::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900; /* solid icon */
  content: '\f104'; /* ลูกศรซ้าย */
  font-size: 24px;
  color: #ff0000;
}

/* Thumbnail Active */
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #ff0000;
}

/* Thumbnail Images */
.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ปุ่ม Swiper Main NEXT / PREV */
.swiper-button-next, .swiper-button-prev {
  color: #ff0000 !important;
}

/* ซ่อนปุ่มเมื่อ disabled */
.gallery-thumbs .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
  
          /* Popup CSS */
          .quote-popup, .success-popup {
            display:none;
            position:fixed;
            top:0; left:0;
            width:100%; height:100%;
            background:rgba(0,0,0,0.6);
            justify-content:center;
            align-items:center;
            z-index:9999;
        }
        .popup-content, .success-content {
            background:#fff;
            width:600px; max-width:95%;
            padding:30px;
            border-radius:10px;
            text-align:center;
        }
        .form-group { margin-bottom:15px; }
        .form-row { display:flex; gap:10px; }
        .form-row .form-group { flex:1; }
        input, textarea { width:100%; padding:10px; border:1px solid #ccc; }
        textarea { resize:none; }
        .btn-row { display:flex; justify-content:center; gap:20px; margin-top:20px; }
        .btn { padding:10px 20px; background:#000; color:#fff; border:none; border-radius:25px; cursor:pointer; }
        .btn.cancel { background:#888; }
        .privacy { font-size:13px; margin:10px 0; text-align:left; }
  
  /* Product Details Styles */
  .product-details {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  }
  
  .product-category {
  margin-bottom: 20px;
  }
  
  .category-tag {
  background: linear-gradient(135deg, var(--primary-color), #555);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  }
  
  .product-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  line-height: 1.3;
  }
  
  .product-description h4 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 15px 0;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 8px;
  }
  
  .product-description p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  }
  
  .product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  }
  
  .product-features li {
  color: #555;
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  }
  
  .product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
  }
  
  .product-specs {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  }
  
  .spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  }
  
  .spec-item:last-child {
  border-bottom: none;
  }
  
  .spec-label {
  color: #666;
  font-weight: 500;
  }
  
  .spec-value {
  color: var(--primary-color);
  font-weight: 600;
  }
  
  /* Product Actions */
  .product-actions {
  margin-top: 30px;
  text-align: center;
  padding-top: 25px;
  border-top: 2px solid #e9ecef;
  }
  
  .btn-contact-us {
  background: linear-gradient(135deg, var(--primary-color), #555);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(58, 58, 58, 0.3);
  }
  
  .btn-contact-us:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 58, 58, 0.4);
  color: white;
  text-decoration: none;
  }
  
  .btn-contact-us i {
  font-size: 18px;
  }
  
  .contact-note {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
  font-style: italic;
  }
  
  /* Responsive Design */
  @media (max-width: 991px) {
  .sect-product-detail {
  padding: 40px 0;
  }
  
  .product-details {
  margin-top: 30px;
  padding: 25px;
  }
  
  .product-title {
  font-size: 24px;
  }
  
  .main-image-link {
  height: 350px;
  }
  }
  
  @media (max-width: 767px) {
  .sect-product-detail {
  padding: 30px 0;
  }
  
  .product-gallery,
  .product-details {
  padding: 20px;
  }
  
  .product-title {
  font-size: 22px;
  margin-bottom: 20px;
  }
  
  .main-image-link {
  height: 300px;
  }
  
  .thumbnail-item img {
  height: 60px;
  }
  
  .btn-contact-us {
  padding: 12px 25px;
  font-size: 15px;
  }
  
  .spec-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  }
  }
  
  @media (max-width: 575px) {
  
  .product-gallery,
  .product-details {
  padding: 15px;
  }
  
  .product-title {
  font-size: 20px;
  }
  
  .main-image-link {
  height: 250px;
  }
  
  .thumbnail-item img {
  height: 50px;
  }
  
  .btn-contact-us {
  width: 100%;
  justify-content: center;
  }
  }
  
  /* News Page Styles */
  .sect-news-grid {
  padding: 60px 0;
  background: #ffffff;
  }
  
  .sect-news-grid .headbar {
  text-align: center;
  margin-bottom: 50px;
  }
  
  .sect-news-grid .h-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  }
  
  .sect-news-grid .desc {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  }
  
  /* News Detail Page Styles */
  .sect-news-detail {
  padding: 60px 0;
  background: #f8f9fa;
  }
  
  
  /* Article Styles */
  .article-header {
  margin-bottom: 30px;
  }
  
  .article-meta {
  margin-top: 10px;
  margin-bottom: 20px;
  }
  
  .article-meta span {
  display: inline-block;
  margin: 0 15px 10px 0;
  color: #666;
  font-size: 14px;
  }
  
  .article-meta i {
  margin-right: 5px;
  color: var(--primary-color);
  }
  
  .article-category {
  background: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  }
  
  .article-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
  }
  
  .article-subtitle {
  font-size: 18px;
  color: #666;
  margin: 0;
  }
  
  .article-featured-image {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  }
  
  .article-featured-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  }
  
  .article-featured-image:hover img {
  transform: scale(1.02);
  }
  
  .article-content {
  line-height: 1.8;
  color: #333;
  }
  
  .article-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 600;
  margin: 35px 0 20px 0;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
  }
  
  .article-content p {
  margin-bottom: 20px;
  font-size: 16px;
  }
  
  .article-content ul {
  margin: 20px 0;
  padding-left: 20px;
  }
  
  .article-content li {
  margin-bottom: 10px;
  font-size: 16px;
  }
  
  .article-quote {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  }
  
  .article-quote p {
  font-size: 18px;
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  }
  
  .article-quote cite {
  color: var(--primary-color);
  font-weight: 600;
  font-style: normal;
  }
  .background-sub-con {
    background: url(../images/background-sub-con.jpg) no-repeat center center / cover;
    /* background-attachment: fixed; */
    /* background-color: #ec1c24; */
}

  .background-sub-con a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  /* Article Footer */
  .article-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e9ecef;
  }
  
  .article-tags {
  margin-bottom: 20px;
  }
  
  .tag-label {
  font-weight: 600;
  color: #666;
  margin-right: 15px;
  }
  
  .tag-item {
  display: inline-block;
  background: #e9ecef;
  color: #666;
  padding: 5px 12px;
  border-radius: 15px;
  text-decoration: none;
  margin: 0 5px 5px 0;
  font-size: 14px;
  transition: all 0.3s ease;
  }
  
  .tag-item:hover {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  }
  
  .article-share {
  text-align: left;
  }
  
  .share-label {
  font-weight: 600;
  color: #666;
  margin-right: 15px;
  }
  
  .share-item {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  margin: 0 5px;
  transition: all 0.3s ease;
  }
  
  .share-facebook {
  background: #3b5998;
  }
  
  .share-twitter {
  background: #1da1f2;
  }
  
  .share-linkedin {
  background: #0077b5;
  }
  
  .share-line {
  background: #00c300;
  }
  
  .share-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
  }
  
  /* Comments Section */
  .comments-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .comments-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
  }
  
  .comment-form {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
  }
  
  .comment-form h4 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  }
  
  .form-group {
  margin-bottom: 20px;
  }
  
  .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  }
  
  .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 58, 58, 0.1);
  }
  
  .btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 58, 58, 0.3);
  }
  
  /* Comments List */
  .comments-list {
  margin-top: 30px;
  }
  
  .comment-item {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
  }
  
  .comment-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  }
  
  .comment-avatar {
  margin-right: 20px;
  flex-shrink: 0;
  }
  
  .comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  }
  
  .comment-content {
  flex: 1;
  }
  
  .comment-header {
  margin-bottom: 10px;
  }
  
  .comment-author {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  }
  
  .comment-date {
  color: #666;
  font-size: 14px;
  margin-left: 15px;
  }
  
  .comment-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
  }
  
  .comment-reply {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  }
  
  .comment-reply:hover {
  text-decoration: underline;
  }
  
  /* Sidebar Styles */
  .news-sidebar {
  position: sticky;
  top: 20px;
  }
  .sidebar {
        margin-top: 0px;
    padding-left: 15px;
    background-image: linear-gradient(to bottom, #ec1c24, #2c2d31);
  }
  .list-lines.list li a {
    /* color: #ffffff; */
    padding-left: 10px;
}
.sub-list .menu-item > a {
  text-decoration: none;
}
.sub-list a {
  color: #000000 !important;
}
.sub-list a:hover {
  color: #ff0000 !important;
}
a.menu-item-main {
  color: #ffffff !important;
  transition: 0.3s ease;
}

a.menu-item-main:hover {
  color: #000000 !important;
}
.sub-list-1 a {
  color: #000000 !important;
}
.list li a {
  /* color: #000000; */
  padding-left: 10px;
}
  .list li a:hover {
    color: #da3b25 ;
  }
  .list-lines li {list-style: none;    border-bottom: 0px solid #ffffff;}
  .sub-list li.open {
    padding-bottom: 0px!important;
}
.list-lines li.open {
  padding-bottom: 0px!important;
}
  .list-lines li:not(:last-child) {
    padding: 10px 0px 10px 0px;
  }
  .list-lines li:last-child {
    padding-bottom: 10px;
  }
  .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  }
  .sidebar .widget-title {
    margin-top: 24px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 2px solid #e9ecef;
  }
  
  /* Sidebar Header with Close Button */
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .sidebar-header .widget-title {
    margin-bottom: 0;
    flex: 1;
  }
  
  .sidebar-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .sidebar-close:hover {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  /* Mobile Sidebar Toggle Button - Fixed Position */
  #side-bar-hidden-mobile {
    display: none;
  }
  
  #body-wrapper-disable {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
  }
  
  #body-wrapper-disable.active {
    visibility: visible;
    opacity: 1;
  }
  
  #side-bar-hidden-mobile > a > i {
    transition: all 0.3s ease;
  }
  
  #side-bar-hidden-mobile > a.active > i {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
  }
  
  #side-bar.active {
    left: 0 !important;
    padding-left: 50px !important;
  }
  
  #side-bar.sidebar.active {
    left: 0 !important;
    padding-left: 50px !important;
  }
  
  /* แถบสีแดงด้านซ้ายเมื่อ sidebar เปิด - Desktop */
  #side-bar.active:before {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background-color: #d84446;
    z-index: 9998 !important; /* สูงกว่า header (199) */
  }
  
  #side-bar.sidebar.active:before {
    z-index: 9998 !important; /* สูงกว่า header (199) */
  }
  
  .sidebar-close-icon {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
  }
  
  .widget-title {
    margin-top: 24px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /* border-bottom: 2px solid #e9ecef; */
  }
  
  /* Search Widget */
  .search-widget .search-form {
  position: relative;
  }
  
  .search-widget .form-control {
  padding-right: 50px;
  }
  
  .btn-search {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--primary-color);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  }
  
  .btn-search:hover {
  background: #555;
  transform: scale(1.1);
  }
  
  /* Recent News Widget */
  .recent-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  }
  
  .recent-news-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
  }
  
  .recent-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  }
  
  .recent-news-image {
  margin-right: 15px;
  flex-shrink: 0;
  }
  
  .recent-news-image img {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  }
  
  .recent-news-content h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
  }
  
  .recent-news-content h5 a {
  color: #2c3e50;
  text-decoration: none;
  }
  
  .recent-news-content h5 a:hover {
  color: var(--primary-color);
  }
  
  .recent-news-date {
  color: #666;
  font-size: 12px;
  }
  
  /* Categories Widget */
  .categories-list {
  margin: 0;
  padding: 0;
  list-style: none;
  }
  
  .categories-list li {
  margin-bottom: 12px;
  }
  
  .categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
  }
  
  .categories-list a:hover {
  color: var(--primary-color);
  }
  
  .count {
  background: #e9ecef;
  color: #666;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  }
  
  /* Contact CTA Widget */
  .contact-cta-widget {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #555);
  color: white;
  }
  
  .contact-cta-widget .widget-title,
  .contact-cta-widget p {
  color: white;
  }
  
  .btn-block {
  width: 100%;
  margin-top: 15px;
  }
  
  /* Related News Section */
  .sect-related-news {
  padding: 60px 0;
  background: white;
  }
  
  .related-news-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  }
  
  /* Responsive Design */
  @media (max-width: 991px) {
  
  .sect-news-grid,
  .sect-news-detail {
  padding: 40px 0;
  }
  
  .news-article {
  padding: 30px;
  }
  
  .article-title {
  font-size: 28px;
  }
  
  .sidebar-widget {
  padding: 20px;
  }
  }
  
  @media (max-width: 767px) {
  
    .sect-news-grid, .sect-news-detail {
      padding: 30px 15px;
  }
  
  .news-article {
  padding: 25px;
  }
  
  .article-title {
  font-size: 24px;
  }
  
  .article-content h3 {
  font-size: 20px;
  }
  
  .comments-section {
  padding: 25px;
  }
  
  .comment-item {
  flex-direction: column;
  }
  
  .comment-avatar {
  margin-right: 0;
  margin-bottom: 15px;
  }
  
  .sidebar-widget {
  padding: 20px;
  margin-bottom: 20px;
  }
  
  .news-sidebar {
  position: static;
  }
  }
  
  @media (max-width: 575px) {
  .news-article {
  padding: 20px;
  }
  
  .article-title {
  font-size: 22px;
  }
  
  .article-content h3 {
  font-size: 18px;
  }
  
  .comments-section {
  padding: 20px;
  }
  
  .sidebar-widget {
  padding: 15px;
  }
  
  .article-footer {
  text-align: center;
  }
  
  .article-share {
  text-align: center;
  margin-top: 20px;
  }
  }
  
  /* Contact Page Styles */
  .sect-contact {
  padding: 60px 0;
  background: #f8f9fa;
  }
  .sect-contact-address .container{ max-width: 1140px;}
  .sect-contact-address .icon-box.border {
    margin-bottom: 0;
    padding: 20px;
    border: 0 !important;
    width: 100%;
    height: 100%;
    background-color: #ec1c24;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  .sect-contact-address .icon-box.border a {
    color: #fff;
}
.sect-contact-address .icon-box.border p {
  color: #fff;
}
.sect-contact-address .icon-box.border h5{
  color: #fff;
}
.icon-box.border .icon i {
  color: #ffffff;
}
.icon-box.border .icon {
  border: 3px solid #ffffff;
}
  /* Contact Info Styles */
  .logo-contact-info img {
    width: 19%;
  }
  .contact-info {
    background: white;
    border-radius: 12px;
    padding: 38px 30px 115px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 85%;
  }
  
  .contact-info li {
      list-style: none;
      line-height: 32px;
  }
  
  .contact-form-container img {
      width: 100%;
  }
  .contact-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  }
  
  .company-details {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e9ecef;
  }
  
  .company-logo {
  margin-bottom: 20px;
  }
  
  .company-logo img {
  max-width: 150px;
  height: auto;
  margin: auto;
  }
  
  .company-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  }
  
  .company-desc {
  color: #666;
  line-height: 1.6;
  margin: 0;
  }
  
  .contact-details {
  margin-bottom: 30px;
  }
  
  .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  }
  
  .contact-item:last-child {
  margin-bottom: 0;
  }
  
  .contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  }
  
  .contact-icon i {
  color: white;
  font-size: 18px;
  }
  
  .contact-text h5 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px 0;
  }
  
  .contact-text p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  }
  
  .contact-text a {
  color: var(--primary-color);
  text-decoration: none;
  }
  
  .contact-text a:hover {
  text-decoration: underline;
  }
  
  .social-links {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  }
  
  .social-links h5 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  }
  
  /* .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  } */
  
  
  /* Contact Form Styles */
  .contact-form-container {
      text-align: center;
      /* background: white; */
      border-radius: 0px;
      /* padding: 40px; */
      /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
      /* height: 100%; */
  }
  
  .contact-subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
  }
  
  .contact-form .form-group {
  margin-bottom: 25px;
  }
  
  .contact-form label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  }
  
  .contact-form .form-control {
  width: 100%;
  padding: 3px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
  }
  
  .contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 58, 58, 0.1);
  outline: none;
  }
  
  .contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
  padding-top: 8px;
  }
  
  .contact-form select.form-control {
  cursor: pointer;
  }
  
  .checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  }
  
  .checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  }
  
  .checkbox-group label {
  margin: 0;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  }
  
  .form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  }
  
  .btn-submit {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  }
  
  .btn-submit:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 58, 58, 0.3);
  }
  
  .btn-reset {
  background: #6c757d;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  }
  
  .btn-reset:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
  }
  
  /* Google Maps Section */
  .sect-map {
  padding: 0;
  }
  
  .map-container {
  text-align: center;
  }
  
  .map-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
  }
  
  .map-wrapper iframe {
  display: block;
  }
  
  /* reCAPTCHA Styles */
  .recaptcha-container {
  margin: 20px 0;
  }
  
  .recaptcha-container .g-recaptcha {
  display: inline-block;
  margin-bottom: 10px;
  }
  
  .recaptcha-note {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-style: italic;
  }
  
  /* Policy Link Styles */
  .policy-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  }
  
  .policy-link:hover {
  color: #555;
  text-decoration: underline;
  }
  
  /* Responsive reCAPTCHA */
  @media (max-width: 575px) {
  .recaptcha-container .g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
  }
  }
  
  /* Social Media Widget Styles */
  .social-widget {
  position: fixed;
  bottom: 98px;
  right: 19px;
  z-index: 9999;
  font-family: 'Prompt', sans-serif;
  }
  .form-group { margin-bottom:15px; position:relative; }
  .error-message {
    text-align: left;
      display:none;
      color:red;
      font-size:0.85rem;
      margin-top:3px;
  }
  
  input[type="email"] {
    width: 96%!important;
  }
  #quoteForm {
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .form-group {
    margin-bottom: 15px;
    width: 100%;
  }
  
  .form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* ช่องว่างระหว่าง Email / Telephone */
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-row .form-group {
    flex: 1;
  }
  
  .form-row .form-group input {
    width: 102%;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
  }
  .custom-control{text-align: left;}
  input:required, textarea:required { border:1px solid #ccc; padding:8px; border-radius:4px; width:100%; }
  input:required.invalid, textarea:required.invalid { border-color:red; }
  /* Toggle Button */
  .widget-toggle {
  width: 60px;
  height: 60px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: linear-gradient(to bottom right, #585858, #1d1d1d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10000;
  }
  
  .widget-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  }
  
  .widget-toggle i {
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  }
  
  /* Widget Content */
  .widget-content {
  position: absolute;
  bottom: 70px;
  right: 0;
  /* background: white; */
  border-radius: 20px;
  padding: 20px 10px;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s ease;
  /* min-width: 280px; */
  }
  
  .social-widget.open .widget-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  }
  
  
  
  /* Hover zoom styles */
  .swiper.gallery-top .swiper-slide {
    overflow: hidden;
    position: relative;
  }
  
  .swiper.gallery-top .swiper-slide img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
  }
  
  .swiper.gallery-top .swiper-zoom-container {
    transition: transform 0.3s ease;
    transform-origin: center center;
  }
  
  /* Hover effect for zoom container */
  .swiper.gallery-top .swiper-slide:hover .swiper-zoom-container {
    transform: scale(1.1);
  }
  
  /* Smooth zoom transition */
  .swiper.gallery-top .swiper-slide .swiper-zoom-container img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .quote-popup,
  .success-popup {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      z-index: 9999;
  }
  
  .popup-content,
  .success-content {
      background: #fff;
      padding: 30px;
      border-radius: 8px;
      width: 90%;
      max-width: 500px;
      text-align: center;
      position: relative;
  }
  
  .btn.cancel {
      background: #ccc;
      margin-left: 10px;
  }
  
  input.invalid,
  textarea.invalid {
      border-color: red;
  }
  
  .error-message {
      display: none;
      color: red;
      font-size: 0.85rem;
      margin-top: 5px;
  }
  
  /* Social Buttons Container */
  .social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  }
  
  /* Social Item */
  .social-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  }
  
  .social-item:hover {
  transform: translateX(5px);
  }
  
  /* Social Button */
  .social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  }
  
  .social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
  }
  
  .social-btn:hover::before {
  transform: scale(1);
  }
  
  .social-btn i {
  font-size: 28px;
  color: white;
  z-index: 1;
  position: relative;
  }
  .social-btn img{ width: 27px;}
  
  /* Social Button Colors */
  .tel-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  }
  
  .line-btn {
  background: linear-gradient(135deg, #00c300 0%, #009900 100%);
  }
  
  .facebook-btn {
  background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
  }
  
  .youtube-btn {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  }
  
  .x-btn {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  }
  
  .instagram-btn {
  /* background: linear-gradient(135deg, #e4405f 0%, #c13584 100%); */
  background: url('../images/social/instagram-bg.jpg') no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  }
  
  .shopee-btn {
  background: linear-gradient(135deg, #ee4d2d 0%, #ff6b35 100%);
  }
  
  .lazada-btn {
  /* background: linear-gradient(135deg, #f36f21 0%, #ff6b35 100%); */
  background: #833AB4;
  background: linear-gradient(220deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
  }
  
  .tiktok-btn {
  background: #000;
  
  }
  .tiktok-btn:hover{background: linear-gradient(135deg, #000000 0%, #25f4ee 50%, #fe2c55 100%); }
  
  /* Social Label */
  .social-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: absolute;
  right: 70px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 14px 2px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  min-width: 100px;
  text-align: center;
  }
  .social-label::before{
  position: absolute;
  content: "";
  top:0;
  bottom: 0;
  right: -10px;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid #fff;
  border-bottom: 10px solid transparent;
  }
  
  .social-item:hover .social-label {
  color: #667eea;
  font-weight: 600;
  }
  
  /* Hover Effects */
  .social-item.hover .social-btn {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .social-widget {
      /* bottom: 65px; */
      right: 20px;
  }
  
  .widget-toggle {
  width: 50px;
  height: 50px;
  }
  
  .widget-toggle i {
  font-size: 20px;
  }
  
  .widget-content {
  min-width: 250px;
  padding: 15px;
  bottom: 60px;
  }
  
  .social-btn {
  width: 45px;
  height: 45px;right: -82%;
  }
  
  .social-btn i {
  font-size: 18px;
  }
  
  .social-label {
  font-size: 13px;right: 25%;
  }
  }
  
  /* ปรับปุ่มใน product-details-btn สำหรับหน้าจอขนาดกลาง */
  @media (max-width: 768px) {
    .product-details-btn .d-flex {
      
    }
    
    .product-details-btn .btn-view-more,
    .product-details-btn .btn-request {
      padding: 12px 24px !important;
      font-size: 15px !important;
    }
    
    .sect-product-detail-content .btn-view-more {
      width: auto !important;
      margin-right: 20px !important;
      padding: 12px 30px !important;
    }
    
    .btn-request {
      margin-right: 0 !important;
    }
  }
  
  @media (max-width: 576px) {
    .product-details-btn .d-flex {

    }
    
    .product-details-btn .btn-view-more,
    .product-details-btn .btn-request {
      width: 100% !important;
      padding: 12px 20px !important;
      font-size: 14px !important;
    }
    
    .sect-product-detail-content .btn-view-more {
      width: 100% !important;
      margin-right: 0 !important;
      padding: 12px 20px !important;
      font-size: 14px !important;
    }
    
    .btn-request {
      margin-right: 0 !important;
    }
  }
  
  @media (max-width: 480px) {
    .search-toggle {
      width: 175px;
  }
  .social-widget {
 
  }
  .product-details-btn .btn:not(.close):not(.mfp-close):not(.btn-creative):not(.btn-slide){
    height: 51px!important;
  }


  .widget-content {
  min-width: 220px;
  padding: 12px;
  bottom: 55px;
  }
  
  .social-buttons {
  gap: 12px;
  }
  
  .social-item {
  gap: 12px;
  }
  
  /* ปรับปุ่มใน product-details-btn สำหรับมือถือ */
  .product-details-btn .d-flex {

  }
  
  .product-details-btn .btn-view-more,
  .product-details-btn .btn-request {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    text-align: center;
  }
  
  .sect-product-detail-content .btn-view-more {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  
  .btn-request {
    margin-right: 0 !important;
  }
  }
  
  /* Animation for widget opening */
  @keyframes widgetSlideIn {
  from {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  }
  to {
  opacity: 1;
  transform: translateY(0) scale(1);
  }
  }
  
  .social-widget.open .widget-content {
  animation: widgetSlideIn 0.3s ease forwards;
  }
  
  /* Pulse animation for toggle button */
  @keyframes pulse {
  0% {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  50% {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(102, 126, 234, 0.1);
  }
  100% {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  }
  
  .widget-toggle:hover {
  animation: pulse 2s infinite;
  }
  
  .list-clients li{
    width: calc(100%/8);
    display: inline-block;
    float: left;
    margin: 1% 0;
    text-align: center;
  }
  .list-clients img{ 
    height: 60px;
    transition: all .2s ease-in-out;
  }
  .list-clients img:hover{ transform: scale(1.1);}
  .w50{ width: 50%;}
  .w80{ width: 80%;}
  
  .social a i{
    width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  line-height: 30px;
  text-align: center;
  margin-right: 4px;
  }
  
  /* News Item Link */
  .news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
  }
  
  .news-item-link:hover {
    text-decoration: none;
    color: inherit;
  }
  
  .news-item-link:hover .news-item {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  
  .news-item {
    transition: all 0.3s ease;
    cursor: pointer;
  }

/* ===== 2-Column Mega Menu Styles ===== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 1200px;
  max-width: 1400px;
  max-height: 620px;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #fff;
  display: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mega-menu-content {
  display: flex;
  height: 100%;
  max-height: 490px;
}

/* Left Column - Categories */
.mega-menu-categories {
  width: 35%;
  background: #f8f9fa;
  border-right: 1px solid #e9ecef;
  padding: 20px 0;
  overflow-y: auto;
}

.mega-menu-categories h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  padding: 0 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  margin: 0;
  padding: 0;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.category-link:hover {
  background: #fff;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  text-decoration: none;
}

.category-item.active .category-link {
  background: #fff;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  font-weight: 600;
}

.category-link i {
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.product-count {
  margin-left: auto;
  font-size: 12px;
  color: #999;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 10px;
}

.category-item.active .product-count {
  background: var(--primary-color);
  color: #fff;
}

/* Right Column - Products Grid */
.mega-menu-products {
  width: 100%;
  padding: 20px;
  overflow-y: auto;
}

.products-grid {
  /*display: grid;*/
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  height: 100%;
}

.product-category {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  width: 100%;
}

.product-category.active {
  display: grid;
}

.product-item {
  /* margin-bottom: 20px; */
  margin: 0px 0px 20px 0px;
  list-style: none;
  border-radius: 15px;
}
.product-slide .product-item {overflow: hidden;border-radius: 15px;
}
.product-link {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: #fff;
  text-align: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(236, 28, 36, 0.15);
  border-color: var(--primary-color);
  text-decoration: none;
  color: inherit;
}

.product-link img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.product-link span {
  font-size: 16px;
  font-weight: normal;
  color: #333;
  line-height: 1.3;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 40px;
}
.product-link:hover span {
  color: var(--primary-color);
}

/* Custom Scrollbar for Mega Menu */
.mega-menu-categories::-webkit-scrollbar,
.mega-menu-products::-webkit-scrollbar {
  width: 6px;
}

.mega-menu-categories::-webkit-scrollbar-track,
.mega-menu-products::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.mega-menu-categories::-webkit-scrollbar-thumb,
.mega-menu-products::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.mega-menu-categories::-webkit-scrollbar-thumb:hover,
.mega-menu-products::-webkit-scrollbar-thumb:hover {
  background: #c21016;
}

/* Show mega menu on hover */
#mainMenu nav ul li.dropdown:hover .mega-menu {
  display: flex;
}

/* Responsive Design for Mega Menu */
@media (max-width: 1200px) {
  .mega-menu {
    min-width: 1000px;
    max-width: 1100px;
  }
  
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .product-category {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .mega-menu {
    min-width: 800px;
    max-width: 900px;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-category {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Mobile Sidebar Styles - อยู่เหนือ header */
  html.disable-scroll,
  html.disable-scroll > body {
    overflow: hidden !important;
  }
  
  #side-bar-hidden-mobile {
    display: block;
    position: fixed;
    top: 50%;
    left: 0;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    background-color: #f1f1f1;
    z-index: 10001 !important; /* สูงกว่า header (199) */
    line-height: 40px;
    text-align: center;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 0 1px #9c9c9c;
  }
  
  #side-bar-hidden-mobile > a {
    color: #111;
    display: block;
    font-size: 14px;
    text-decoration: none;
  }
  
  #body-wrapper-disable {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999 !important; /* สูงกว่า header (199) */
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
  }
  
  /* Sidebar Off-Canvas on Mobile - อยู่เหนือ header */
  #side-bar.sidebar {
    position: fixed !important;
    top: 75px !important;
    left: -100% !important;
    z-index: 10000 !important; /* สูงกว่า header (199) */
    width: 60% !important;
    height: 100vh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 30px !important;
    margin-top: 0 !important;
    padding-left: 30px !important;
    background-image: linear-gradient(to bottom, #ec1c24, #2c2d31) !important;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
  }
  
  #side-bar {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    z-index: 10000 !important; /* สูงกว่า header (199) */
    width: 60% !important;
    height: 100vh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 30px !important;
    margin-top: 0 !important;
    padding-left: 30px !important;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
  }
  
  /* แถบสีแดงด้านซ้ายเมื่อ sidebar เปิด - อยู่เหนือ header */
  #side-bar.active:before {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background-color: #d84446;
    z-index: 9998 !important; /* สูงกว่า header (199) */
  }
  
  #side-bar.sidebar.active:before {
    z-index: 9998 !important; /* สูงกว่า header (199) */
  }
  
  .sidebar-close {
    display: block;
  }
  
  /* Adjust content column on mobile */
  .sect-product-category .col-md-9 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    min-width: 100%;
    max-width: 100%;
    display: none;
  }
  
  .mega-menu-content {
    /* flex-direction: column; */
}
  
  .mega-menu-categories {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
  
  .mega-menu-products {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-category {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-category {
    grid-template-columns: repeat(1 1fr);
  }
  #side-bar,
  #side-bar.sidebar {
    width: 100% !important;
  }
  .product-content {
    padding: 0 15px;
}
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-category {
    grid-template-columns: repeat(1, 1fr);
  }
  .product-link img {
    /* display: none; */
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}
.mega-menu-products {
  width: 100%;
  padding: 0px;
  overflow-y: auto;
}
}
