.ftco-navbar-light .navbar-brand {
  max-width: 220px;
  margin-right: 50px;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
/* ตกแต่ง Toolbar ด้านบน */
.toolbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  padding: 5px 0 5px 20px;
  font-size: 13px;
}

.toolbar-text {
  margin: 0;
  color: #333;
  font-weight: 500;
}

/* Social Icons */
.social-icons a {
  color: #333;
  margin-left: 10px;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #007bff; /* หรือสีแบรนด์ของคุณ */
}

/* Search Box */
.search-box {
  display: flex;
  border: 1px solid #ffffff;
  border-radius: 0px;
  overflow: hidden;
  background: #e9e9e9;
}

.search-box input {
  border: none;
  padding: 3px 10px;
  outline: none;
  width: 165px;
  font-size: 13px;
  background: transparent;
}

.search-box button {
  border: none;
  background: #eee;
  padding: 3px 8px;
  cursor: pointer;
  color: #666;
}

.search-box button:hover {
  background: #ddd;
}

/* จัดการความห่าง (Gap) สำหรับ Bootstrap เวอร์ชั่นเก่าถ้าไม่มี class gap-3 */
.d-flex.gap-3 > * {
  margin-left: 15px;
}

.navbar {
  padding: 0px;
  margin: 0px;
  height: 65px;
  overflow: hidden;
}
.navbar-nav.bg-green {
  background: #36f166;
}
.navbar-nav.bg-green li {
  border-bottom: 5px solid #1a8037;
}

.ftco-navbar-light .navbar-nav.bg-green > .nav-item > a {
  color: #fff;
}
.ftco-navbar-light.scrolled .nav-item.active > a {
    color: #FFEB3B !important;
}

.navbar-nav.bg-green a {
  color: #fff;
}
.nav-item.aa {
  background: #36f166;
  color: #fff;
  transition: 0.3s;
}

.navbar-nav.bg-green li.nav-item.bb {
  background: #2dbd30;
  color: #fff;
}
.navbar-nav.bg-green li.nav-item.cc {
  background: #208f23;
  color: #fff;
}
.navbar-nav.bg-green li.nav-item.dd {
  background: #1c7f37;
  color: #fff;
}

.navbar-nav.bg-green li.nav-item.redd {
  background: #cf2a2a;
  color: #fff;
  border-bottom: 5px solid #5d0000;
}

.navbar-nav.bg-green li.nav-item:hover {
  opacity: 0.8;
}

.navbar-nav.bg-green .nav-item.active {
  border-bottom: 5px solid #f3f705;
}
.navbar-nav.bg-green li.nav-item.redd.active {
  border-bottom: 5px solid #f3f705;
}

.ftco-navbar-light.scrolled .nav-link {
  color: #fff !important;
}

.icon-brand-link {
  margin: 0.75rem 0.3rem;
  display: block;
  transition: 0.3s;
}
.icon-brand-link img {
    border-radius: 0.25rem;
}

.icon-brand-link:hover {
  opacity: 0.6;
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a {
  border-radius: 0px;
  border: 1px solid #024ad7;
  background: #024ad7;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-left: 15px;
}
.ftco-navbar-light.scrolled .nav-item.cta > a {
  margin-top: 0px !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.nav-item.cta {
  line-height: 1.25rem;
}
.ftco-navbar-light .navbar-nav > .nav-item.cta > a span.cta-text {
  display: block;
  font-size: 11px;
}
.ftco-navbar-light .navbar-nav > .nav-item.cta > a span.cta-text-phone {
  font-size: 1.35rem;
  font-weight: bold;
}

.collapse.navbar-collapse {
  position: relative;
  z-index: 1;
}
.collapse.navbar-collapse ul {
  position: relative;
  z-index: 1;
}

.collapse.navbar-collapse::before {
  position: absolute;
  left: 50%;
  right: -500px;
  top: 0px;
  bottom: 0px;
  margin-left: 50%;
  background: #024ad7;
  content: "";
  z-index: 0;
}

section img {
  border-radius: 0.25rem;
}




 #sidebar .list-group-item.menuside_sub {
        display: none;
    }

    .list-group-item.menuside_sub.active {
    display: block !important;
    
}
.menuside_sub  {
    display:none ;
}

.sidebar-box {
   
    border-radius: 0.25rem;
    border: 2px solid #19a258;
}

.categories li a.list-group-item {
    color:#FFF;
    background: #1ec25b;
}
.categories li a.list-group-item i.ib.fa {
     opacity: 0;
}
 #sidebar .list-group-item.menuside_sub  {
    color:#000;
    background:#FFF;
    font-size:13px;
 }
  #sidebar .list-group-item.menuside_sub.active {
    color:#19a258;
  }
  #sidebar .list-group-item.menuside_sub i.ib.fa {
    opacity: 1;
    margin-left: 5px !important;
  }
 #sidebar .list-group-item.menuside_sub .quantity {
    right: 2px;
    color: #ffffff;
    font-size: 11px;
    background: #1ec25b;
    display: inline-block;
    padding: 5px 10px;
    line-height: 0.5rem;
    top: 10px;
    border-radius: 20px;
}
.categories li a span, .sidelink li a span {
    position: absolute;
    right: 30px;
    top: 0;
    color: #ffffff;
}



.ib-product-item h4 {
        font-size: 0.85rem;
    margin: 0px;
    color: #1ec25b;
}

.ib-section-title  {
        font-size: 1.25rem;
    color: #000;
    font-weight: bold;
    margin-bottom:2rem;
}

.btn-success {
    color: #fff;
    background-color: #34ef4a;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #01ec1c;
    border-color: #28a745;
}
.ib-product-item
.ib-items-title a {
    color:#000;
}

#product-info .txt-price , 
#product-info  span.price {
    color:#024ad7;
}
#product-info  span.price {
    color:#024ad7;
    font-weight: bold;
}


@media (max-width: 1024px) {
  .navbar-cool-2 {
    display: none;
  }
  #main-slider {
    max-height: 450px;
  }
  .hero-wrap {
    max-height: 450px;
  }
  .hero-wrap.hero-wrap-2 {
    max-height: 350px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    overflow: inherit;
    height: auto;
  }
  .collapse.navbar-collapse::before {
    content: none;
  }
  .ftco-navbar-light .navbar-brand {
    margin: 0 10px !important;
  }
  .ftco-navbar-light {
    background: #ffffff !important;
  }
  .ftco-navbar-light .navbar-toggler {
    border: none;
    color: rgb(49 49 49 / 97%) !important;
    cursor: pointer;
    padding-right: 10px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 450px) {
  .ftco-navbar-light .navbar-brand {
    width: 200px;
  }
  .toolbar {
    padding: 10px;
  }
  .toolbar-right {
    display: none !important;
  }
}


.ftco-navbar-light.scrolled .navbar-toggler {
  margin-right:15px;
}


#ib-chat-widget.chat-footer {
      background: #00d509 !important;
}
#ib-chat-widget.chat-footer .chat-widget-item.chat-widget-home a i {
  color:#00d509  !important;
}

.owl-carousel {
    touch-action: pan-y;
    -ms-touch-action: pan-y; /* สำหรับ IE เก่าๆ */
}
.owl-carousel,
.swiper,
.slick-slider{
    touch-action: pan-y;
}
.owl-carousel, 
.owl-stage-outer, 
.owl-stage, 
.owl-item {
    touch-action: pan-y !important;
    -ms-touch-action: pan-y !important;
}

.ib-product-item .caption
h4 {
  color:#000;
}
.ib-product-item .caption .ib-items-title {
  font-size:1.25rem;
  font-weight: bold;
  color:#000;
}

.txt-brand-title {
  margin-bottom:15px;
  font-weight: bold;
  font-size:1.5rem;
}

.brand-logo-cover {
  padding: 3rem;
}

.btn-more{
    min-width: 240px;
    text-align: center;
}

@media (max-width: 550px) {
    h2 , .h2 {
      font-size:1.25rem;
      text-align: left;
    }
    #main-slider {
        max-height: 250px;
    }
    .hero-wrap {
      max-height: 200px;
    }
    .hero-wrap.hero-wrap-2 {
      max-height: 200px;
    }

    #contents-descirption {
      margin:5px 0px !important;
    }
    section {
      margin-bottom:0.5rem;
    }
}