#hero {
  position: relative;
  min-height: 75vh;
}

#hero-carousel .carousel-item img {
  display: none;
}

.services .service-item .icon .bi {
    font-size: 64px;
    line-height: 1;
    transition: 0.5s;
}

#portfolioCarousel {
  height: 700px;
}

#portfolioCarousel .carousel-item {
  height: 700px;
  position: relative;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}


/* caption */
.carousel-caption {
  z-index: 2;
}

.carousel-caption h2 {
  font-size: 32px;
  color: #fff;
}

.carousel-caption p {
  color: #ddd;
}

/* dot style */
.portfolio-details .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #bbbbbb;
}

.portfolio-details .carousel-indicators button.active {
  background-color: rgb(237, 28, 36);
}



/* container */
#product_list {
  padding: 20px;
}

/* reset ul */
#product_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ใช้ grid แทน row */
#product_list .v_index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* responsive */
@media (max-width: 1200px) {
  #product_list .v_index {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #product_list .v_index {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  #product_list .v_index {
    grid-template-columns: 1fr;
  }
}

/* card */
.list-product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

/* hover effect */
.list-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* image */
.img-product {
  display: block;
  /* background: #f8f8f8; */
  text-align: center;
  padding: 15px;
}

.img-product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

/* content */
.box_content {
  padding: 15px;
  text-align: center;
}

/* product sku */
.product-sku {
  font-size: 15px;
  font-weight: 600;
  height: 40px;
  overflow: hidden;
}

.product-sku a {
  color: #333;
  text-decoration: none;
}

.product-sku a:hover {
  color: #007bff;
}

/* price */
.price {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
}
tr.product-price td .price.normal-price {
    font-size: 32px;
    letter-spacing: 1px;
}
/* fix isotope ให้เป็น 3 col */
.v_index {
  display: flex;
  flex-wrap: wrap;
}

.v_index li {
  width: 33.333%;
  padding: 10px;
}

/* responsive */
@media (max-width: 992px) {
  .v_index li {
    width: 50%;
  }
}
@media (max-width: 576px) {
  .v_index li {
    width: 100%;
  }
}

.btn-loadmore {
  background: #ef6603;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-loadmore:hover {
  background: #f96f0d;
}



/* ====== PRODUCTS LIST ====== */



/* ====== BASE ====== */
.product-sku {
    font-family: 'Prompt', sans-serif;
}
.content_product_listing {
  font-family: 'Prompt', sans-serif;
  background: #f5f6fa;
  padding-bottom: 60px;
}

/* ====== BANNER ====== */
.content_product_listing .top-banner {
  width: 100%;
  margin-bottom: 30px;
}

.content_product_listing .top-banner img {
  width: 100%;
  height: auto;
}

/* ====== LAYOUT ====== */
.content_product_listing .content-div {
  display: flex;
  align-items: flex-start;
}

/* ซ้าย */
.content_product_listing .span3 {
  width: 260px; /* 🔥 fix width ให้สวย */
}

/* ขวา */
.content_product_listing .span9 {
  flex: 1; /* 🔥 ยืดเต็ม */
}

/* ====== CATEGORY ====== */
.content_product_listing .block-widget.category {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.content_product_listing .block-widget.category h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  font-weight: 600;
}

.content_product_listing .block-widget.category ul {
  list-style: none;
  padding: 0;
}

.content_product_listing .block-widget.category li {
  margin-bottom: 6px;
}

.content_product_listing .block-widget.category a {
  color: #444;
  text-decoration: none;
  display: block;
  padding: 8px 0px;
  border-radius: 8px;
  transition: 0.2s;
}

.content_product_listing .block-widget.category a:hover {
  background: #fff3e6;
  color: #ff6600;
}
.have-parent + ul.level1, .have-parent + ul.level2, .have-parent + ul.level3 {
    margin-left: 5px;
}

/* ====== PRODUCT GRID ====== */
.content_product_listing #product_list ul.row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* 🔥 spacing สวยขึ้น */
  justify-content: flex-start;
  position: static !important;
  height: auto !important;
}

.content_product_listing #product_list li.span3 {
  width: calc(33.33% - 17px);
  position: static !important;
}
.module-ct.category li.level0.parent > .have-parent > a {
    font-weight: 500;
}

/* ====== PRODUCT CARD ====== */
.content_product_listing .list-product {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  height: 100%; /* 🔥 ทำให้เท่ากัน */
  display: flex;
  flex-direction: column;
}

.content_product_listing .list-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* รูป */
.content_product_listing .img-product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fafafa;
  padding: 10px;
}

/* เนื้อหา */
.content_product_listing .box_content {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* skuสินค้า */
.content_product_listing .product-sku {
  min-height: 45px; /* 🔥 แก้ card สูงไม่เท่ากัน */
}

.content_product_listing .product-sku a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.content_product_listing .product-sku a:hover {
  color: #ff6600;
}
.content_product .product-name a {
    color: #333;
    font-family: 'Prompt', sans-serif;
}
/* ราคา */
.content_product_listing .price {
  display: block;
  margin-top: 10px;
  color: #333333;
  font-weight: bold;
  font-size: 18px;
}

/* ====== PAGINATION ====== */
.content_product_listing .control-post {
  text-align: center;
  margin-top: 20px;
}

.content_product_listing .control-post a {
  display: inline-block;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 6px;
  background: #eee;
  text-decoration: none;
  color: #333;
}

.content_product_listing .control-post a.active {
  background: #ff6600;
  color: #fff;
}
.module-ct.category li.level0.parent {
    position: relative;
}

#accordion li > a {
  display: block;
  padding-right: 35px; /* เผื่อที่ให้ลูกศร */
}

.have-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.VmArrowdown i {
  transition: transform 0.3s ease;
}

.VmArrowdown.active i {
  transform: scaleY(-1);
}

/* ซ่อน submenu ก่อน */
#accordion ul {
  display: none;
}

/* เปิดเฉพาะ active */
#accordion li.active > ul {
  display: block;
}


.have-parent .VmArrowdown {
    cursor: pointer;
}
.content_product_listing #product_list li.span3 figure.inner-product {
    position: relative;
}
span.hot.hot_red {
    display: inline-block;
    background: #f91a02;
    color: #fff;
    font-size: 15px;
    padding: 10px 10px;
    border-radius: 50px;
    margin-top: 12px;
    margin-right: 12px;
    position: absolute;
    font-weight: 600;
    top: 0;
    right: 0;
}
/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .content_product_listing .content-div {
    flex-direction: column;
  }

  .content_product_listing .span3,
  .content_product_listing .span9 {
    width: 100%;
  }

  .content_product_listing #product_list li.span3 {
    width: calc(50% - 12px);
  }
}
@media (max-width: 767px) {
  .content_product_listing .block-widget.category {
      margin-bottom: 40px;
  }
  .content_product_listing #product_list ul.row{
    gap: 0;
  }
}

@media (max-width: 767px) and (min-width: 577px)   {
  #product_list {
    padding: 20px 0;
  }
  .content_product_listing #product_list li.span3{
    width: calc(35% - 10px);
  }
}

@media (max-width: 992px) and (min-width: 768px)   {
  .content_product_listing .content-div{
    flex-direction: row;
  }
  .content_product_listing .content-div div#product_list {
      padding: 20px 0;
  }
  .content_product_listing #product_list ul.row {
    gap: 0;
  }
  .content_product_listing #product_list li.span3 {
    width: calc(33.33% - 0px);
  }
  .content_product_listing article.col-lg-9.col-md-8.col-12 {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .content_product_listing #product_list li.span3 {
    width: 100%;
  }
}





/* ====== PRODUCT DETAIL ====== */

.product-detail {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* ซ้าย (รูป) */
.product-gallery {
  width: 40%;
}

.product-gallery img {
  width: 100%;
  border-radius: 10px;
  background: #fafafa;
  padding: 10px;
}

/* ขวา (ข้อมูล) */
.product-info {
  flex: 1;
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-price {
  font-size: 22px;
  color: #ff3b30;
  font-weight: bold;
  margin: 10px 0;
}

/* ลดราคา */
.product-price s {
  color: #999;
  font-size: 16px;
  margin-right: 10px;
}

/* ปุ่ม */
.product-actions {
  margin-top: 50px;
}

.product-actions a {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.product-actions a:hover {
  background: #e65c00;
}

/* ====== TAB ====== */
.shop_tabs {
  margin-top: 30px;
}

.shop_tabs .nav-tabs {
  border-bottom: 2px solid #eee;
}

.shop_tabs .nav-tabs li a {
  border: none;
  color: #555;
  font-weight: 500;
}

.shop_tabs .nav-tabs li.active a {
  color: #ff6600;
  border-bottom: 2px solid #ff6600;
}

.shop_tabs .tab-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.qv_carousel_wrap {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qv_carousel_single img {
  border-radius: 8px;
  cursor: pointer;
}

.hd-product-details + div#content {
    padding-top: 120px;
}
.menu-header.bg-black.hd-product-details header#header {
    background: #444444ed;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
  }

  .product-gallery {
    width: 100%;
  }
}


.product-detail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ซ้าย */
.product-gallery {
  width: 42%;
}

/* ขวา */
.product-info {
  flex: 1;
}

/* กัน class เก่ามั่ว */
.product-gallery .photoframe {
  box-shadow: none;
  padding: 0;
  margin: 0;
  float: none;
}

.product-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.price {

}

.price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 16px;
}

.description_table {
  width: 100%;
}

.description_table td {
  display: block;
  padding: 5px 0;
}

.description_table tr {
  display: block;
  margin-bottom: 10px;
}

#zoom_image {
  border-radius: 12px;
  background: #fafafa;
  padding: 1px;
  width: 100%;
}

/* thumbnail */
.qv_carousel_single {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.qv_carousel_single img {
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.qv_carousel_single img:hover {
  border-color: #ff6600;
}

.product-actions a {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.3s;
}

.product-actions a:hover {
  background: #e65c00;
}

.shop_tabs .nav-tabs li a {
  border: none;
  font-weight: 500;
  color: #666;
}

.shop_tabs .nav-tabs li.active a {
  color: #ff6600;
  border-bottom: 2px solid #ff6600;
}

.shop_tabs .tab-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ===== carousel scroll ===== */
.qv_carousel_single {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
}

.qv_carousel_single.dragging {
  cursor: grabbing;
}

.qv_carousel_single::-webkit-scrollbar {
  display: none;
}

/* thumbnail */
.qv_carousel_single a img {
  border-radius: 8px;
  border: 2px solid transparent;
  transition: 0.2s;
}

.qv_carousel_single a.active img {
  border-color: #ff6600;
}

/* ===== zoom ===== */
.product-gallery {
  position: relative;
  overflow: hidden;
}

#zoom_image {
  width: 100%;
  transition: transform 0.3s ease;
}

.product-gallery.zooming #zoom_image {
  transform: scale(1.6);
  cursor: zoom-in;
}
.qv_carousel_single {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 320px;
}

.qv_carousel_single::-webkit-scrollbar {
  display: none;
}

.qv_carousel_single a img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
}
.zoom-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  pointer-events: none;
  display: none;
}
.qv_carousel_single a.active img {
  border: 2px solid #ff6600;
}

.qv_carousel_single {
  cursor: grab;
}
.qv_carousel_single:active {
  cursor: grabbing;
}
div#content, .tabbable.responsive .nav-tabs > li>a, .hd-product-details + div#content h2 {

}
.nav-tabs.article-nav {
    display: flex;
    flex-direction: column;
}
.product-gallery .qv_carousel_wrap button {
    border: 0;
    background-color: inherit;
}
.product-gallery .qv_carousel_wrap button .fa::before {
    font-size: 20px;
}
.product-gallery .qv_carousel_wrap button .fa {
    position: relative;
    top: 5px;
}
tr.product-name td {
    float: left;
    margin-right: 10px;
}
tr.product-price td {
    height: 65px;
}
tr.product-price td .price {
    float: left;
    margin-right: 12px;
}
tr.product-price td .price.old-price {
    font-size: 20px;
    line-height: 1.8;
    color: #aaaaaa;
}


@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
  }

  .product-gallery {
    width: 100%;
  }
}



.share-circle {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.share-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* สีแต่ละปุ่ม */
.share-icon.facebook {
  background: #1877f2;
}

.share-icon.twitter {
  background: #000; /* X */
}

.share-icon.google {
  background: #ea4335;
}
.share-icon.line    {
   background: #06c755; 
}


/* hover effect */
.share-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  opacity: 0.9;
  color: #fff;
}
.share-section .share-label {
    line-height: 45px;
    float: left;
    font-size: 18px;
    margin-right: 10px;
    font-weight: 500;
}

.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f6fa;
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  width: 260px;
  transition: all 0.3s ease;
  color: #333;
}

.btn-download i {
  font-size: 24px;
  color: #e74c3c;
}

/* text */
.btn-text .title {
  display: block;
  font-weight: 600;
  font-size: 14px;
}

.btn-text .sub {
  font-size: 12px;
  color: #777;
}

/* hover */
.btn-download:hover {
  background: #fff;
  border-color: #ccc;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.download-buttons-small {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-download-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f5f6fa;
  border: 1px solid #ddd;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.btn-download-small i {
  font-size: 14px;
}

/* สีแยกประเภท */
.btn-download-small:nth-child(1) i {
  color: #3498db; /* รูป */
}

.btn-download-small:nth-child(2) i {
  color: #e74c3c; /* PDF */
}

/* hover */
.btn-download-small:hover {
  background: #fff;
  border-color: #bbb;
}
tr.file-download span.label {
    float: left;
    line-height: 53px;
    font-size: 18px;
    margin-right: 10px;
    font-weight: 500;
    background: transparent;
    color: #6a6a6a;
}
tr.product-price td .price.new-price {
    font-size: 32px;
    margin: 0;
    letter-spacing: 1px;
    margin-right: 12px;
}
.product-sku td {
    float: left;
    margin-right: 10px;
    font-size: 17px;
}
.product-detail .product-title {
    font-size: 32px;
}

.breadcrumbs-wrapper {
  margin: 15px 0;
}

.breadcrumbs {
  font-size: 13px;
  color: #777;
  padding-top: 100px;
  padding-bottom: 40px;
}

.breadcrumbs a {
  color: #555;
  text-decoration: none;
  transition: 0.2s;
}

.breadcrumbs a:hover {
  color: #000;
}

.breadcrumbs .separator {
  margin: 0 6px;
  color: #aaa;
}

.breadcrumbs .current {
  color: #000;
  font-weight: 500;
}
.breadcrumbs .row.content-div * {
    width: auto;
    padding: 0 2px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Prompt', sans-serif;
}
.discount-percent {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 15px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
}
.description_table tbody .file-download {
    
}
.description_table tbody .file-download:has(.show-label) {
    display: block;
}
div#product_list .product-price {
    text-align: center;
    display: flex;
    justify-content: center;
}
div#product_list .product-price span:not(:last-child) {
    margin-right: 10px;
}

div#product_list .product-price span {
    float: left;
}
div#product_list .product-price span.price.new-price {
    color: #ff3b30;
    font-size: 18px;
}
div#product_list .product-price span.price.price-old {
    font-size: 16px;
    line-height: 1.8;
    color: #aaaaaa;
}
tr.product-price td .price.old-price + .price.new-price {
    color: #ff3b30;
}
div#product_list .product-price span.discount-percent {
    font-size: 14px;
}










/* ====== TAB WRAPPER ====== */
.product-tabs {
  margin-top: 20px;
  font-family: 'Prompt', sans-serif;
}

/* ====== TAB MENU ====== */
.shop_tabs .nav-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  gap: 5px;
}

.shop_tabs .nav-tabs li {
  margin: 0;
}

.shop_tabs .nav-tabs li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #666;
  background: #f5f6fa;
  border-radius: 6px 6px 0 0;
  transition: all 0.25s ease;
}

/* hover */
.shop_tabs .nav-tabs li a:hover {
  color: #000;
  background: #e9ecf3;
}

/* active tab */
.shop_tabs .nav-tabs li.active a {
  color: #000;
  background: #fff;
  border: 1px solid #eee;
  border-bottom: 2px solid #fff;
  font-weight: 600;
}

/* ====== TAB CONTENT ====== */
.shop_tabs .tab-content {
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* ====== TAB PANE ====== */
.shop_tabs .tab-pane {
  animation: fadeIn 0.25s ease;
}
h1, h2, h3, h4, h5, h6, ul, ol, p, a , u , li {
    font-family: 'Prompt', sans-serif;
}
.tabbable.responsive.shop_tabs::after {
    width: 0px;
}
.tabbable.responsive .tab-content,
.tabbable.responsive .nav-tabs > li>a  {
    border-width: 1px;
    line-height: 22px;
    margin: 0;
}
.portfolio .portfolio-filters li {
    font-family: 'Prompt', sans-serif;
}
/* ====== ANIMATION ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  .shop_tabs .nav-tabs {
    flex-wrap: wrap;
  }

  .shop_tabs .nav-tabs li a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .shop_tabs .tab-content {
    padding: 15px;
  }
}


#hero-carousel .carousel-item img.img-item-banner {
    display: block;
}
.hero .carousel-container:has(.ban-content-l) {
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 70vh;
}
.recent-posts .blog-content .post-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: inherit;
    max-height: inherit;
    margin-bottom: 20px;
}
.blog-content .post-img .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-title p{
  font-family: 'Prompt', sans-serif;
}

/* ===== CARD ===== */
.post-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== IMAGE ===== */
.post-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* zoom hover */
.post-item:hover img {
  transform: scale(1.08);
}

/* ===== CONTENT ===== */
.post-item {
  padding-bottom: 15px;
}


/* ===== DATE ===== */
.blog-posts .post-meta {
  font-size: 13px;
  color: #999;
}
.blog-posts .title{
  font-size: 20px;
  font-weight: 700;
}
/* ===== HOVER CARD ===== */
.post-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


/* ===== FIX IMAGE FULL CARD ===== */
.post-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.post-img a {
  display: block;
  width: 100%;
  height: 100%;
}

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

.blog-posts article{
    padding: 0;
}
.blog-posts .post-img{
  margin: 0;
}
.blog-posts .post-text{
   padding: 15px;
}


/*  custom Respon  */

.main-menu nav#navmenu {
    display: block;
}

@media (min-width: 1200px) {
    .span4 {
        width: 350px;
    }
}

/* end custom Respon  */


.theme_ug_26 header.header_3 .nav-collapse_ .nav > li.dropdown.sub-menu {
   
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li.dropdown.sub-menu a {
    position: relative;
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li.dropdown.sub-menu i.bi.bi-chevron-down.toggle-dropdown {
    display: block;
    font-size: 15px;
    padding-bottom: 0;
    position: absolute;
    width: auto;
    top: 18px;
    right: 10px;
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li.dropdown.sub-menu a b.sf-sub-indicator {
    font-size: 0;
    margin-left: 15px;
}

.theme_ug_26 button#search_buttom {
    background: transparent;
    font-size: 18px;
    padding: 10px;
    text-shadow: 2px 2px 4px #00000075;
    margin: 0;
}
.theme_ug_26 .main-menu .container .form_hiden {
    display: flex;
}
.theme_ug_26 .main-menu .container .form_hiden:hover {
    background-color: #ed1c24;
    border-radius: 50px;
}
.theme_ug_26 .main-menu .container {
    display: flex;
}
.theme_ug_26 .main-menu nav#navmenu {
    align-content: center;
    margin: 0;
}
.theme_ug_26 .head_nav_top {
    background-color: rgb(255 255 255 / 70%);
    color: #ed1c24;
}
.theme_ug_26 .head_nav_top a {
    color: #1b1b1b;
}
.theme_ug_26 .head_nav_top > .container {
    display: flex;
    justify-content: flex-end;
}

.theme_ug_26 header.header_3 .main-menu > div {
    background: rgb(255 255 255 / 50%);
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li i {
    display: flex;
    font-size: 22px;
    padding-bottom: 0;
    height: 20px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
    margin-left: 0;
}
.theme_ug_26 .main-menu .container h1.brand {
    margin: 0;
	  align-content: center;
    align-items: center;
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li > a {
    padding: 15px 20px;
    text-align: left;
    text-shadow: 2px 2px 4px #444444;
}
.theme_ug_26 .hero .carousel-container .tp-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    text-shadow: 2px 2px 4px #444444;
}
.theme_ug_26 .hero .carousel-container .tp-caption .inner-content {
    font-size: 5vmin !important;
}
.theme_ug_26 div#product_list ul.flex-direction-nav {
    display: none;
}
.theme_ug_26 #product_list .v_index {
   
}

.theme_ug_26 .flex-control-nav li a:hover, .theme_ug_26 .flex-control-nav li a.flex-active {
    background: #ed1c24;
}
.theme_ug_26 h5.product-name a:hover {
    color: #ed1c24;
}
.theme_ug_26 .download-buttons a {
    position: relative;
    top: -30px;
}
.breadcrumbs .row.content-div {
    min-height: inherit;
}
.theme_ug_26 .page-title .container {
    margin-top: 0;
}
.theme_ug_26 .page-title {
   
}
.theme_ug_26 .breadcrumbs {
    padding-top: 20px;
    padding-bottom: 20px;
}
.theme_ug_26 .page-title:before {
    background-color: transparent;
}

.theme_ug_26 .home-article .carousel{
  margin: 0;
}
.theme_ug_26 .home-article .carousel .flex-viewport ul.slides {
    height: 400px !important;
}

.theme_ug_26 .tabbable.responsive .nav-tabs > li>a:hover, 
.theme_ug_26 .tabbable.responsive .nav-tabs > li.active>a {
    color: rgb(237, 28, 36);
}
.theme_ug_26 .flex-direction-nav li a {
    font-size: 0;
    border-radius: 50pc;
    background: rgb(231 4 12 / 20%);
    color: #4c0202;
}
.theme_ug_26 .product-gallery .qv_carousel_wrap button {
    width: 40px;
    height: 40px;
    border-radius: 50pc;
}
.theme_ug_26 .product-gallery .qv_carousel_wrap button .fa {
    top: 0;
}
.theme_ug_26 .qv_carousel_single img:hover {
    border-color: rgb(237, 28, 36);
} 
.theme_ug_26 .product-gallery .qv_carousel_wrap button:hover .fa{
    color: rgb(237, 28, 36);
}
.theme_ug_26 .product-gallery img {
    box-shadow: 0 1px 4px rgba(0, 0, 0, .30);
    padding: 0;
}
.theme_ug_26 .product-gallery .qv_carousel_wrap .owl-wrapper-outer.autoHeight {
    padding: 5px 0;
    height: 80px !important;
}
.theme_ug_26 .file-download {
    display: none;
}
.theme_ug_26 .file-download:has(.btn-download-sm) {
    display: block;
}
.theme_ug_26 .relate-product-list ul#carousel-relate {
    height: 380px !important;
}

.theme_ug_26 .relate-product {
    padding-bottom: 100px;
}
.theme_ug_26 .relate-product {
    display: none;
}
.theme_ug_26 .relate-product:has(.relate-item) {
    display: block;
}
.theme_ug_26 .tabbable.responsive.shop_tabs ul.nav.nav-tabs {
    display: block;
}
.theme_ug_26 .content_product_listing .category #accordion.list .level1 li a {
    margin-left: 0;
}
.theme_ug_26 .content_product_listing .block-widget.category{
    padding: 0;
    margin: 0;
}
.theme_ug_26 .content_product_listing .content-div > article {
    margin-left: 0;
}
.theme_ug_26 .content_product_listing .content-div > article ul.thumb_list.row-fluid {
    margin-left: 0;
}

.theme_ug_26 .category #accordion.list .level1 li {
    border-top: 0;
}

.theme_ug_26 .content_product_listing div#product_list {
    padding: 0;
}

.theme_ug_26 .content_product_listing #product_list li.span3{
    width: calc(33.33% - 30px);
    margin: 0;
}
.theme_ug_26 .category #accordion.list ul li.level1.parent .close {
    opacity: 1;
}
.theme_ug_26 .content_product_listing .category #accordion.list li a:hover {
    background: inherit;
}
.theme_ug_26 .content_product_listing .category #accordion.list li .have-parent {
    float: left;
    opacity: 1;
}
.theme_ug_26 .content_product_listing .category #accordion.list li {
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}
.theme_ug_26 span.hot.hot_red{
    padding: 0px 4px;
    font-size: 12px;
    height: 36px;
    line-height: 34px;
}
.theme_ug_26 .category #accordion.list .level1 .level2 li a {
    margin-left: 15px !important;
    font-size: 21px;
}
.theme_ug_26 .category #accordion.list .have-parent .VmArrowdown {
    background: inherit;
    border: 0;
    box-shadow: inherit;
}
.theme_ug_26.category #accordion.list .level1 .level2 li.level2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.theme_ug_26 .content_product_listing .img-product img{
    padding: 0;
}
.theme_ug_26  .block-control .control-post .control-btn {
    font-size: 17px;
    border-radius: 3px;
    background-color: transparent;
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    box-shadow: inherit;
}
.theme_ug_26 .content_product_listing .control-post a {
    display: inline-block;
    padding: 0px 0px;
    margin: 5px;
    border-radius: 6px;
    background: #eee;
    text-decoration: none;
    font-size: 16px;
    color: #333;
}
.theme_ug_26 .content_product_listing .control-post a.active {
    background: rgb(237, 28, 36);
    color: #fff;
}
.theme_ug_26 .v_block-control .results {
    font-family: 'DBAdmanXRegular';
}
.custom-sunpole.sunpole_hyper_link a {
    font-family: 'DBAdmanXRegular';
    font-size: 21px;
}
div#work_container ul.row.Array li.item {
    width: 25%;
    padding: 0;
}
div#work_container ul.row.Array li.item .box-work .hover-inner a {
    font-size: 25px;
    font-family: 'DBAdmanXRegular';
}
#content .container {
    padding-bottom: 20px;
}
.glightbox-clean .gcontainer .gslide-title {
    font-family: 'Prompt', sans-serif;
}
div#work_container ul.row li.item {
    width: 25%;
}
.gallery-page section#portfolio {
    padding-top: 20px;
}
.gallery-page #work_container {
    margin-left: 0;
    margin-bottom: 0;
}
.theme_ug_26 .block-control .control-post a.active, 
.theme_ug_26 .block-control .control-post a:hover{
  color: rgb(237, 28, 36);
}

.gallery-details-page section.portfolio-details.section .carousel-indicators {
    top: inherit;
    bottom: -35px;
}
.gallery-details-page .portfolio-details .portfolio-info ul li {
    text-align: left;
}
.gallery-details-page .portfolio-details .portfolio-info ul {
    margin: 0;
}

.gallery-details-page .portfolio-details .portfolio-info ul strong {
    font-weight: 600;
    color: #333;
}
.gallery-details-page section.portfolio-related.section {
    padding-top: 10px;
    overflow: visible;
}
.portfolio-details .carousel button[class*="carousel-control"]{
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 24px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    top: 50%;
}
.portfolio-details .carousel  button.carousel-control-prev {
    left: 1%;
}
.portfolio-details .carousel  button.carousel-control-next{
    right: 2%;
}
.section.portfolio-related.section .view span a {
    font-family: 'Prompt', sans-serif;
    font-size: 18px;
}
.section.portfolio-related.section figure.img-polaroid.view {
    box-shadow: 1px 1px 4px #444444;
    padding: 0;
}
section.portfolio-details.section .portfolio-description {
    margin-top: 30px;
}
section.portfolio-related.section .carousel-3 .div-control {
    top: inherit;
    bottom: 60%;
    width: 100%;
}
section.portfolio-related.section .carousel-3 .div-control .prev-slide {
    left: -45px;
    position: absolute;
    z-index: 1;
}
section.portfolio-related.section .carousel-3 .div-control .next-slide {
    right: -45px;
    position: absolute;
    z-index: 1;
}
section.portfolio-related.section .carousel-3 .div-control div[class*="-slide"] a {
    width: 40px;
    height: 40px;
    display: block;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
    border-radius: 50pc;
}
section.portfolio-related.section .carousel-3 .div-control div[class*="-slide"] a::before {
    line-height: 41px;
}
section.portfolio-related.section .carousel-3 .div-control div[class*="-slide"] a:hover {
    text-decoration: none;
}
section.portfolio-related.section .carousel-3 .div-control .prev-slide a::before {
    right: -7px;
}
section.portfolio-related.section .carousel-3 .div-control .next-slide a::before {
    left: 7px;
}
section.portfolio-related.section .carousel-3 .div-control .prev-slide a:hover::after {
    right: 8px;
}
section.portfolio-related.section .carousel-3 .div-control .next-slide a:hover::after {
    left: -8px;
}
section.portfolio-related.section .carousel-3 .div-control .next-slide a:after {
    left: -40px;
}
div#portfolioCarousel .slide-bg {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: hsl(0deg 0% 0% / 85%);
}
section.portfolio-details.section {
    padding-top: 20px;
}
section.portfolio-details.section .desc_content {
    text-align: center;
}

.parallax_product, .parallax_event, .parallax_gallery, .parallax_article{
    min-height: 360px;
}
.theme_ug_26 .bottom_link h1 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 500;
}
.theme_ug_26 .bottom_link ul li, 
.theme_ug_26 .bottom_link ul li a {
    font-size: 18px;
}
.theme_ug_26 .blog-posts .post-item .title,.news-block-listing.blog-posts .title {
    line-height: 28px;
    font-size: 16px;
}

.theme_ug_26 .blog-posts .post-category {
    margin-bottom: 5px;
    text-align: left;
    padding: 0;
}
.theme_ug_26 .news-page-list .block-widget.category {
    margin: 0;
    margin-top: 75px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.news-page-list .category #accordion.list li a {
    padding: 0;
}
.blog-posts .title a:hover {
    color: rgb(237, 28, 36);
}
.meta-top.meta-time ul {
    margin-left: 0;
    font-size: 16px;
}
.meta-top.meta-time time {
    margin-left: 5px;
}
.news-block-listing .title_block {
    font-size: 40px;
    color: #1b1b1b;
    margin-top: 0;
    margin-bottom: 50px;
    line-height: 40px;
}
.row.clip-at-home .inner-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.theme_ug_26 .bottom_about ul li a {
    font-size: 18px;
}
.theme_ug_26 .bottom_about ul li .fa {
    width: 54px;
    height: 54px;
}
.theme_ug_26 .col-lg-12.faq-about .content {
    overflow-y: auto !important;
    max-height: 650px;
}
.theme_ug_26 .col-lg-12.faq-about .content {
    overflow-y: auto !important;
    max-height: 650px;
    font-size: 18px;
    line-height: 20px;
}
.faq-about .title_block {
    margin-bottom: 40px;
}
.row.clip-at-home .inner-page iframe {
    width: 100%;
}
div#hero-carousel {
    width: 100%;
}
.theme_ug_26 .main-menu .container {
    display: flex;
    justify-content: space-between;
}
.theme_ug_26 i.mobile-nav-toggle.bi-list {
    text-shadow: 2px 2px 4px #00000075;
}
.theme_ug_26 header.header_3 .nav-collapse_ .nav > li i {
  
}
.hot-product li.span3 h5.product-name {
    margin: 0;
}
.theme_ug_26 .home-article div#product_list.hot-product {
    margin: 0;
}
.theme_ug_26 .content_product_listing .block-control .control-post a.active, .theme_ug_26 .content_product_listing .block-control .control-post a:hover {
    color: rgb(255 255 255);
}
footer .contact_us .fa {
    border: 0 !important;
    line-height: 36px;
    font-family: 'FontAwesome';
}
footer .contact_us .fa.fa-facebook::before {
    font-size: 0;
}
footer .contact_us .fa.fa-instagram::before {
    font-size: 0;
}
.hot-product.new-hot-product.flexslider .slides >li > a:hover {
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    box-shadow: inherit;
}
ul.slides.new-slides-product {
    margin-top: 10px;
}
ul.slides.new-slides-product .title-product.box_content {
    margin-bottom: 20px;
    margin-top: 10px;
}
.new-hot-product ol.flex-control-nav.flex-control-paging {
    margin: 0;
    margin-top: -15px;
    padding-bottom: 50px;
    z-index: 12;
    position: relative;
}
.contact .php-email-form input[type=text], .contact .php-email-form input[type=email], .contact .php-email-form textarea{
    padding: 20px 15px;
}
.gallery-page div#work_container {
    height: fit-content !important;
}
header.header_3 .nav-collapse_ .nav > li:hover > a {
    border-radius: 25px;
}

.content_product_listing div#category_list li {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 5px;
}
.content_product_listing div#category_list li:hover a {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}
@media (max-width: 1199px) {
  .mobile-nav-active .navmenu>ul{
    background-color: transparent;
  }
   
}
@media (max-width: 768px) {
  .theme_ug_26 .content_product_listing #product_list li.span3 {
    width: calc(100%);
    margin: 0;
  }
  .row.clip-at-home .inner-page {
    grid-template-columns: 1fr;
  }
  .theme_ug_26 .head_nav_top a {
      font-size: 8px;
  }
  .theme_ug_26 .bottom_about ul li a {
    font-size: 14px;
  }
  .theme_ug_26 .bottom_about ul li .fa {
    width: 35px;
    height: 35px;
  }
  .theme_ug_26 .bottom_about ul li .fa {
    width: 35px;
    height: 35px;
    font-size: 15px;
    padding: 8px;
  }
  .bottom_about ul li {
      width: 33%;
      margin: 0;
  }
  .bottom_about ul li {
    width: 33%;
    margin: 0;
  }
  .bottom_about ul.row{
    height: 90px !important;
  }
  #content .bottom_about .container {
      padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .flexslider .slides li {
    width: 100% !important; /* บังคับให้ Slide แต่ละแผ่นกว้างเต็มหน้าจอ */
    margin-right: 0 !important;
  }
  .head_title h1 {
      font-size: 38px;
  }
}

@media (max-width: 480px) {
  .quick_link ul li {
      padding: 3px 5px 3px;
  }
}
