#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%;
}

.portfolio-details .carousel-indicators button.active {
  background-color: #ef6603;
}



/* 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;
}


/* ====== 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-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 {
    font-family: 'Prompt', sans-serif;
}
.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;
}
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 {
    display: none;
}
.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;
}
*/

#hero-carousel .carousel-item img.img-item-banner {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.hero .carousel-container:has(.ban-content-l) {
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 70vh;
}
@media (max-width: 768px) {
  #hero,
  section#hero,
  .hero.section.dark-background,
  .hero.section.dark-background[style] {
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    min-height: auto !important;
  }

  #hero-carousel,
  #hero-carousel .carousel-item,
  #hero-carousel .carousel-item.active,
  .hero .carousel-container {
    min-height: auto !important;
    padding-top: 0px;
    padding-bottom: 20px;
    height: auto;
  }

  .hero .carousel-container,
  .hero .carousel-container:has(.ban-content-l) {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 80px;
    padding-bottom: 0px;
    gap: 24px;
  }

  #hero-carousel .carousel-item.active img,
  #hero-carousel .carousel-item.active img.img-item-banner,
  #hero-carousel .carousel-item.active .carousel-container > img,
  #hero-carousel .carousel-item .carousel-container > img {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  #hero-carousel .carousel-item {
    background: none !important;
  }
  /*.hero .hero-waves {
    display: block;
    width: 100%;
    height: 30px;
    position: relative;
}*/
}
.recent-posts .blog-content .post-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: inherit;
}
.blog-posts .post-text{
   padding: 30px;
}
.blog-content .post-img .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-title p{
  font-family: 'Prompt', sans-serif;
}

#blog_news_listing {
  padding: 24px 0 48px;
}

#blog_news_listing .blog-news-listing {
  position: relative;
}

#blog_news_listing .blog-news-shell {
  position: relative;
}

#blog_news_listing .blog-news-swiper {
  padding: 8px 8px 52px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#blog_news_listing .blog-news-swiper .swiper-wrapper,
#blog_news_listing .blog-news-swiper .swiper-slide {
  height: auto;
}

#blog_news_listing .blog-news-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#blog_news_listing .blog-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

#blog_news_listing .blog-news-card__image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

#blog_news_listing .blog-news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#blog_news_listing .blog-news-card__body {
  padding: 24px;
}

#blog_news_listing .blog-news-card__category {
  margin: 0 0 12px;
  color: #ed1c24;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#blog_news_listing .blog-news-card__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.35;
}

#blog_news_listing .blog-news-card__title a {
  color: #1f2937;
  text-decoration: none;
}

#blog_news_listing .blog-news-card__title a:hover {
  color: #ed1c24;
}

#blog_news_listing .blog-news-card__meta {
  margin: 0;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

#blog_news_listing .blog-news-swiper .swiper-button-prev,
#blog_news_listing .blog-news-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  top: 44%;
  margin-top: 0;
  border-radius: 999px;
  background: #ed1c24;
  box-shadow: 0 12px 22px rgba(237, 28, 36, 0.26);
  z-index: 30;
  pointer-events: auto;
  touch-action: manipulation;
}

#blog_news_listing .blog-news-swiper .swiper-button-prev::after,
#blog_news_listing .blog-news-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

#blog_news_listing .blog-news-swiper .swiper-button-prev {
  left: -10px;
}

#blog_news_listing .blog-news-swiper .swiper-button-next {
  right: -10px;
}

#blog_news_listing .blog-news-swiper .swiper-button-disabled {
  opacity: 0.35;
}

#blog_news_listing .blog-news-swiper .swiper-pagination {
  bottom: 0 !important;
}

#blog_news_listing .blog-news-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: rgba(237, 28, 36, 0.2);
}

#blog_news_listing .blog-news-swiper .swiper-pagination-bullet-active {
  background: #ed1c24;
}

@media (max-width: 991px) {
  #blog_news_listing {
    padding: 16px 0 40px;
  }

  #blog_news_listing .blog-news-swiper {
    padding: 8px 8px 44px;
    overflow: visible;
  }

  #blog_news_listing .blog-news-swiper .swiper-button-prev,
  #blog_news_listing .blog-news-swiper .swiper-button-next {
    display: flex;
    width: 52px;
    height: 52px;
    top: 35%;
  }

  #blog_news_listing .blog-news-swiper .swiper-button-prev {
    left: 0;
  }

  #blog_news_listing .blog-news-swiper .swiper-button-next {
    right: 0;
  }

  #blog_news_listing .blog-news-card__body {
    padding: 20px;
  }

  #blog_news_listing .blog-news-card__title {
    font-size: 20px;
  }
}

/* ===== 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: 30px;
}

section#home p
 {
    text-align: center !important;
}

@media (max-width: 768px) {
    section#home img {
        width: 100% !important;
    }
    section#home {
      padding-top: 5px !important;
      padding: 5px 60px 0px;
    }
    .hero .hero-waves {
        display: none;
    }
    section#sp-top-bar {
      display: none;
    }
}


section#sp-top-bar {
    background-color: #333333;
    color: #fff;
    padding: 0;
    font-size: 14px;
    position: relative;
    z-index: 1999;
    text-align: right;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
}
.lang-switch-inner {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.sp-column.lang-switch a.active {
    background: #fff;
    color: #f47c20 !important;
}
.sp-column.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 22px;
    padding: 2px 6px 2px 5px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    transition: all 0.2s ease;
}
.sp-column.lang-switch a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.sp-column.lang-switch a img {
    width: 11px;
    height: 11px;
    object-fit: cover;
    border-radius: 50%;
    flex: 0 0 auto;
}
#sp-top-bar a {
    color: #fff;
}

#sp-top2 {
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
}

#sp-top2 > .row {
    width: auto;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#sp-top1 {
    width: 22%;
}

#sp-top2 {
    width: 78%;
}

#sp-top2 .col-sm-8,
#sp-top2 .col-md-8 {
    width: auto;
    flex: 0 0 auto;
}

#sp-top2 .col-sm-4,
#sp-top2 .col-md-4 {
    width: auto;
    flex: 0 0 auto;
}

#sp-top2 .sp-column {
    text-align: right;
}

#sp-top2 p,
#sp-top2 span,
#sp-top2 a,
#sp-top2 li {
    white-space: nowrap;
}

header#header {
    padding-top: 50px;
}
section#sp-page-title {
    padding-top: 10px;
}
body.index-pag.scrolled header#header {
    padding-top: 20px;
}
.sp-column.pull-right.link_top_right {
    margin: 10px;
    float: right !important;
    font-weight: 300;
}
@media (max-width: 768px) {
    #sp-top-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    #sp-top-bar .container,
    #sp-top-bar .row {
        display: block !important;
    }
    #sp-top1 {
        display: block !important;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .lang-switch {
        display: inline-flex !important;
        padding: 3px 0;
        justify-content: flex-start;
    }
    .lang-switch-inner {
        display: inline-flex !important;
        gap: 2px;
        padding: 1px;
    }
    .sp-column.lang-switch a {
        min-height: 20px;
        padding: 2px 5px 2px 4px;
        font-size: 10px;
    }
    .sp-column.lang-switch a img {
        width: 10px;
        height: 10px;
    }
    .sp-column.pull-right.link_top_right {
        margin: 2px 0 8px;
        float: none !important;
        text-align: left;
        font-size: 12px;
        line-height: 1.5;
    }
    #sp-top-bar p,
    #sp-top-bar span,
    #sp-top-bar a {
        word-break: break-word;
    }
    section#sp-top-bar div#sp-top2 {
        display: none !important;
    }
    header#header {
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    .mobile-nav-active .mobile-nav-toggle {
    top: 40px;
     }

      div#content.page-custom,
      div#content.page-custom .container,
      div#content.page-custom .content-div,
      div#content.page-custom .inner-content,
      div#content.page-custom .inner-content > div {
          width: 100% !important;
          max-width: 100% !important;
          box-sizing: border-box;
          overflow-x: hidden;
      }



      div#content.page-custom .inner-content a,
      div#content.page-custom .inner-content span,
      div#content.page-custom .inner-content p {
          max-width: 100% !important;
          word-break: break-word;
      }

}

header#header {
    background: rgb(255 255 255 / 90%);
}

header#header .navmenu a {
    color: #000;
}
#header .navmenu > ul > li:hover > a,
#header .navmenu > ul > li.active > a,
#header .navmenu > ul > li.active > a:focus {
  background-color: #e52c25;
  color: #fff !important;
}

#header .navmenu .dropdown ul a,
#header .navmenu .dropdown ul a:focus {
  color: #111 !important;
  background: transparent;
}

#header .navmenu .dropdown ul li:hover > a,
#header .navmenu .dropdown ul li.active > a,
#header .navmenu .dropdown ul a:hover,
#header .navmenu .dropdown ul a:focus:hover {
  color: #e52c25 !important;
  background: transparent !important;
}
@media (max-width: 1199px) {
    #header .container-fluid.container-xl {
        display: flex;
        align-items: center;
        justify-content: space-between !important;
        gap: 12px;
        padding-left: 14px;
        padding-right: 14px;
    }

    #header .logo {
        margin-right: auto;
        flex: 0 1 auto;
        justify-content: flex-start;
    }

    #header .logo img {
        display: block;
        max-height: 42px;
        width: auto;
    }

    #header .navmenu {
        margin-left: auto;
        display: flex;
        justify-content: flex-end;
    }

    .mobile-nav-toggle {
        position: relative;
        width: 28px;
        height: 22px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after,
    .mobile-nav-toggle .hamburger-line {
        content: "";
        position: absolute;
        left: 2px;
        width: 24px;
        height: 2px;
        background: #460909;
        border-radius: 999px;
        transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease, bottom 0.25s ease;
    }
    .mobile-nav-toggle::before {
        top: 3px;
    }
    .mobile-nav-toggle .hamburger-line {
        top: 10px;
    }
    .mobile-nav-toggle::after {
        bottom: 3px;
    }
    .mobile-nav-active .mobile-nav-toggle::before {
        top: 10px;
        transform: rotate(45deg);
        background: #fff;
    }
    .mobile-nav-active .mobile-nav-toggle .hamburger-line {
        opacity: 0;
    }
    .mobile-nav-active .mobile-nav-toggle::after {
        bottom: 10px;
        transform: rotate(-45deg);
        background: #fff;
    }

    .mobile-nav-active #header .navmenu > ul > li > a.cuf {
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr) 28px;
        align-items: center;
        justify-content: stretch;
        text-align: left;
        gap: 10px;
        padding: 12px 18px;
        border-radius: 12px;
        min-height: 44px;
    }

    .mobile-nav-active #header .navmenu > ul > li > a.cuf > i.fa {
        grid-column: 1;
        width: 18px;
        min-width: 18px;
        margin: 0;
        text-align: center;
        line-height: 1 !important;
        background: transparent !important;
        border-radius: 0;
    }

    .mobile-nav-active #header .navmenu > ul > li > a.cuf > i.toggle-dropdown {
        grid-column: 3;
        margin-left: auto;
        width: 28px;
        min-width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(229, 44, 37, 0.12) !important;
        color: #9a4a24;
    }

    .mobile-nav-active #header .navmenu .active i,
    .mobile-nav-active #header .navmenu .active:focus i,
    .mobile-nav-active #header .navmenu a i.toggle-dropdown,
    .mobile-nav-active #header .navmenu a:focus i.toggle-dropdown {
        transform: none !important;
    }

    .mobile-nav-active #header .navmenu .dropdown ul a {
        padding: 10px 16px;
        font-size: 15px;
        text-align: left;
    }
}

.footer ul {
    list-style: none;
}
.widget-title
 {
    border: none;
}
/* ===== Footer Fix ===== */
#footer {
    background: #4d0909;
    color: #fff;
    padding: 40px 0 20px;
}

#wrapper-footer-shadowline {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

#footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

#footer .one_third {
    float: none !important;
    width: 360px !important;
    margin: 0 !important;
    text-align: center;
}

#footer .one_third ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .widget-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

#footer .one_third li {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

#footer iframe {
    max-width: 100% !important;
}

#footer-copyright {
    text-align: center;
    color: #fff;
    padding-top: 25px;
}

#footer-copyright p {
    margin-bottom: 20px;
    font-size: 16px;
    font-style: italic;
}

#footer-copyright img {
    max-width: 110px;
    height: auto;
}


#footer .clear {
    display: none;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    #footer {
        padding: 30px 0 20px;
    }

    #footer-container {
        display: block;
    }

    #footer .one_third,
    #footer .one_third.last {
        width: 100% !important;
        margin: 0 0 30px !important;
        text-align: center;
    }

    #footer iframe {
        width: 100% !important;
        max-width: 300px !important;
        height: 140px !important;
    }

    #footer .widget-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    #footer .one_third li {
        font-size: 14px;
    }

    #footer-copyright p {
        font-size: 13px;
        line-height: 1.6;
        word-break: break-word;
    }

    .youtube.section {
      max-width: 100%;
      overflow: hidden;
    }

    .youtube-responsive {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      overflow: hidden;
    }

    .youtube-responsive iframe,
    .youtube-responsive embed,
    .youtube-responsive object {
      width: 100% !important;
      max-width: 100% !important;
      aspect-ratio: 16 / 9;
      height: auto !important;
      display: block;
    }
    #youtube.youtube.section {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }

    #youtube.youtube.section > div {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden;
    }

    #youtube object,
    #youtube embed,
    #youtube iframe {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 9;
      display: block;
    }

}
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
  width: 8%;
  opacity: 1;
  z-index: 10;
}

#hero-carousel .carousel-control-prev-icon,
#hero-carousel .carousel-control-next-icon {
  background-image: none !important;
  width: 48px;
  height: 48px;
}

#hero-carousel .carousel-control-prev-icon::before,
#hero-carousel .carousel-control-next-icon::before {
  font-family: "bootstrap-icons" !important;
  color: #fff !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 48px;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

#header .navmenu > ul > li > a.cuf{
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2 !important;
    row-gap: 6px;
    column-gap: 5px;
}

#header .navmenu > ul > li > a.cuf > i.fa{
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
    line-height: 1 !important;
    margin: 0 0 4px 0;
}

#header .navmenu > ul > li > a.cuf > i.toggle-dropdown{
    display: inline-block;
    position: static !important;
    transform: none !important;
    margin-left: 5px;
    line-height: 1 !important;
}
.fa-edit:before, .fa-pencil-square-o:before {
    content: "\f044";
}

/*s_index_history*/
#s_index_history{
  padding: 0px 0px;

}

#s_index_history .inner-page{
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

#s_index_history .zoneleft{
  width: 58%;
}

#s_index_history .zoneright{
  width: 42%;
}

#s_index_history .heading{
  font-size: 25px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 20px;
}

#s_index_history .sec_1 span{
  display: block;
  color: #ff3333;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 32px;
}

#s_index_history .sec_2{
  display: flex;
  gap: 35px;
  color: #aaa;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.95;
  padding-bottom: 25px;
  border-bottom: 4px solid #ff1f1f;
}

#s_index_history .sec_2 .content{
  width: 50%;
}

#s_index_history .sec_3{
  display: flex;
  align-items: center;
  margin-top: 30px;
}

#s_index_history .sec_3 .text{
  font-size: 24px;
  color: #111;
  line-height: 1.3;
}

#s_index_history .social-2{
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#s_index_history .social-2 li a{
  width: 48px;
  height: 48px;
  border: 2px solid #999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 24px;
}

#s_index_history .zoneright img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* มือถือ */
@media (max-width: 767px){
  #s_index_history .inner-page,
  #s_index_history .sec_2,
  #s_index_history .sec_3{
    display: block;
  }

  #s_index_history .zoneleft,
  #s_index_history .zoneright,
  #s_index_history .sec_2 .content{
    width: 100%;
  }

  #s_index_history .heading{
    font-size: 22px;
  }

  #s_index_history .sec_1 span{
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  #s_index_history .sec_2{
    font-size: 14px;
    line-height: 1.85;
  }

  #s_index_history .sec_3 .text{
    font-size: 21px;
    line-height: 1.3;
  }

  #s_index_history .zoneright{
    margin-top: 25px;
  }

  #s_index_history .social-2{
    margin-top: 15px;
  }
}





/* ===== Missing from file 1 ===== */

body,h1, h2, h3, h4, h5, h6, ul, ol, p, a , u , li {
    font-family: 'Prompt', sans-serif !important;
}

/* Product testimonial */
.product .testimonials .testimonial-item {
  background: #fff;
  padding: 0;
  border-radius: 12px;
}

.product .testimonials .testimonial-item a {
  display: block;
}

.product .testimonials .testimonial-item > a {
  text-align: center;
  padding: 0;
}

.product .testimonials .testimonial-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: inherit;
}

.product .testimonials .testimonial-item .box_content {
  height: 120px;
}

.testimonial-item.item-list-product .product-price {
  text-align: center;
  display: flex;
  justify-content: center;
}

.testimonial-item.item-list-product .product-price span:not(:last-child) {
  margin-right: 10px;
}

.testimonial-item.item-list-product .product-price span.price.price-old {
  line-height: 29px;
}

/* Page custom */
div#content.pages.page-custom {

}

img#pd-top-banner {
  width: 100%;
  height: 380px;
}

/* Recent posts widget */
.recent-posts-widget .post-item {
  flex-direction: row;
  height: auto;
  border-radius: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}

.recent-posts-widget.widget-item .post-recent-img {
  margin-right: 15px;
}

/* Menu category */
.menu .sub-menu {
  display: none;
  padding-left: 15px;
}

.menu .has-sub.active > .sub-menu,
.has-sub.active > .sub-menu {
  display: block;
}

.menu li {
  margin-bottom: 5px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.toggle-btn {
  cursor: pointer;
  padding: 5px;
}

.has-sub.active .toggle-btn i {
  transform: rotate(180deg);
}

.categories-widget .menu ul li {
  padding-bottom: 5px;
  padding-top: 5px;
}

.categories-widget .menu ul {
  padding-top: 5px;
}

/* Blog detail swiper */
.slide-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-swiper .slide-image {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-swiper .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.blog-details .post-swiper .slide-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  z-index: 2;
}

.blog-details .post-swiper h2 {
  font-size: 28px;
  margin: 0;
}

.blog-details .post-swiper,
.blog-details .post-swiper .swiper-slide {
  height: 400px;
  min-height: 300px;
  max-height: 500px;
}

.blog-details .post-swiper .slide-image {
  height: 100%;
}

.blog-details .article {
  overflow: hidden;
}

.blog-details .post-swiper {
  margin-bottom: 30px;
}

.blog-details .swiper-slide {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

/* Page title banner */
.page-title.dark-background {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.page-title-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-title.dark-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}

.page-title .container {
  position: relative;
  z-index: 3;
  color: #fff;
}

.page-title .title-banner {
  width: 100%;
}

.title-banner .breadcrumbs a,
.title-banner .breadcrumbs .current {
  color: #fff;
}

/* Search box */
.search-container {
  position: relative;
}

#search_buttom {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
}

#form-search {
  position: absolute;
  top: 45px;
  right: 0;
  width: 260px;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s;
  z-index: 999;
}

#form-search input[type="text"] {
  width: 100%;
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 4px;
  outline: none;
}

#form-search button {
  margin-top: 8px;
  width: 100%;
  background: #0d6efd;
  border: none;
  color: #fff;
  padding: 6px;
  border-radius: 4px;
}

.search-container.active #form-search {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.row-fluid.text-center .content {
    color: #FFF;
}

.container {
    max-width: 1170px;
}

@media only screen and (min-width: 992px) {
    #our_expert em.title {
        height: 55px;
        display: block;
        font-size: 19px;
    }
}

#footer .inner-page{
    display:flex !important;
    flex-wrap:wrap;
    width:100%;
}

#footer .col_1{
    width:20% !important;
}

#footer .col_2{
    width:20% !important;
}

#footer .col_3{
    width:20% !important;
}

#footer .col_4{
    width:40% !important;
}

#footer .col_1,
#footer .col_2,
#footer .col_3,
#footer .col_4{
    float:left !important;
}

#footer .col_4 ul{
    width:100% !important;
}

#footer .col_4 li{
    width:100% !important;
}

#footer .col_4 .footer-address{
    max-width:500px;
    line-height:1.8;
}

#footer .footer-phone{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

#footer .footer-phone a{
    white-space:nowrap;
}

#footer-copyright {
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.2);
}

#footer-copyright .footer-powered-by {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#footer-copyright .footer-powered-by a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#footer-container {
    display: flex;
    flex-direction: column;
}
#footer h3 {
    color: white;
    font-size: 26px;
    margin-top: 0px;
    text-transform: uppercase;
}
.col-md-3 {
    float: left;
}
.footer .col_1 {
  text-align: left;
}

.footer .logoimg {
  max-width: 280px;
}

.footer .logoimg img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

.footer-main > div {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .footer-main > .col_1 {
    flex: 0 0 28%;
    max-width: 28%;
  }

  .footer-main > .col_2 {
    flex: 0 0 22%;
    max-width: 22%;
  }

  .footer-main > .col_3 {
    flex: 0 0 22%;
    max-width: 22%;
  }

  .footer-main > .col_4 {
    flex: 0 0 28%;
    max-width: 28%;
  }
}

@media (max-width: 767px) {
  .footer-main > div {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer .logoimg {
    max-width: 220px;
    margin: 0 auto;
  }
}
#bsrifooter h3 {
    color: white;
        font-size: 20px;
    margin-top: 0px;
    text-transform: uppercase;
}
#hero-carousel .carousel-item .carousel-container .tp-caption img {
    display: none !important;
}
.sp-page-title .container {
    width: 100%;
    max-width: 100%;
    padding: 0px;
}
section#sp-page-title .sp-page-title {
  padding: 0;
}
#bsrifooter li a {
    color: #FFF;
}
#bsrifooter li span.footer-company-name {
    color: #ff3333;
}
#bsrifooter .col_4 li.footer-hotline {
    color: #ff3333;
    font-size: 15px;
    white-space: nowrap;
}
#bsrifooter li a:hover {
    color: #ff3333;
}

section#safety {
    background-image: url(http://www.srithaigroup.com/templates/store_template/srithaigroup/images/service.png) !important;
    background-attachment: fixed;
    background-size: cover;
    padding-bottom:50px;
    padding-top: 50px;
}

#safety .inner-page{
    text-align: center;
    color: #fff;
}

#safety .inner-page h3{
    margin: 0 0 16px;
    color: #fff;
    font-size: 72px;
    line-height: 1;
    font-weight: 300;
}

#safety .row-fluid.text-center img.center-block{
    display: block;
    margin: 0 auto 18px;
    max-width: 120px;
    height: auto;
}

#safety .row-fluid.text-center .content{
    max-width: 1320px;
    margin: 0 auto;
    color: #fff;
    font-size: 22px;
    line-height: 1.95;
    font-weight: 300;
    letter-spacing: 0;
}

#safety .readmornut{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px !important;
}

section#home {
    padding-bottom: 10px;
}
section#s_index_history {
    padding-top: 10px;
}

a.readmornut {
  color: #FFFFFF;
}

.social-2 .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-style: normal;
}

.social-2 .fa::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.social-2 .fa-facebook::before {
  content: "\f39e";
}

.social-2 .fa-youtube::before {
  content: "\f167";
}

.social-2 .fa-twitter::before {
  content: "\e61b"; /* X / Twitter ใหม่ */
}

.social-2 .fa-google-plus::before {
  content: "\f1a0"; /* ใช้ Google แทน */
}

.social-2 .fa-instagram::before {
  content: "\f16d";
}

@media (max-width: 767px) {
    div#content.page-custom .col-1 {
        flex: unset;
        width: 100%;
    }
    div#content.page-custom .col-2 {
        flex: unset;
        width: 100%;
    }
}
ul.social-2 li {
  border: none;
}
#blog_news_listing {
    background-image: url(../images/index_bg_3.png) !important;
    background-size: 100% auto;
    padding-bottom: 50px;
    padding-top: 50px;
}

.hero .wave1 use ,.hero .wave2 use ,.hero .wave3 use {
    fill: #ff3333;
}
