/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
:root {
  --primary-color: #3B3B3B;
  --gray-2-color: #555555;
  --gray-3-color: #ECECEC;
  --gray-4-color: #F4F3F3;
  --gray-5-color: #F9F9F9;
  --red-color: #DD2731;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  color: var(--primary-color);
  background-color: #ffffff;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -moz-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

a:hover {
  color: var(--red-color);
}

/* h1, .h1 {font-size: 54px; font-weight: 500; line-height: 1.3;}
h2, .h2 {font-size: 32px; font-weight: 700;}
h3, .h3 {font-size: 24px; font-weight: 500;}
h4, .h4 {font-size: 18px; font-weight: 500; line-height: 1.5;}
h5, .h5 {font-size: 14px; font-weight: 400;}
h6, .h6 {font-size: 12px; font-weight: 400; line-height: 1.5;} */

h1,h2,h3,h4,h5,h6 {margin-bottom: .8rem;}

/* .text-white h3, .text-white .h3, .text-white h4, .text-white .h4 { font-weight: 400; }
.text-white h6, .text-white .h6 { font-weight: 300; }
.text-white p { font-weight: 300; } */

.line-clamp {
  display: -webkit-box;
  max-width: 100%;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp.line-1 {-webkit-line-clamp: 1;}
.line-clamp.line-2 {-webkit-line-clamp: 2;}
.line-clamp.line-3 {-webkit-line-clamp: 3;}

img {
  width: 100%;
  height: auto;
}

.img-cover {height: 100%; object-fit: cover;}

.text-pri {color: var(--primary-color);}
.text-gray-2 {color: var(--gray-2-color);}
.text-gray-3 {color: var(--gray-3-color);}
.text-gray-4 {color: var(--gray-4-color);}
.text-gray-5 {color: var(--gray-5-color);}
.text-red {color: var(--red-color);}

.bg-pri {background-color: var(--primary-color);}
.bg-gray-2 {background-color: var(--gray-2-color);}
.bg-gray-3 {background-color: var(--gray-3-color);}
.bg-gray-4 {background-color: var(--gray-4-color);}
.bg-gray-5 {background-color: var(--gray-5-color);}
.bg-red {background-color: var(--red-color);}

.p-section {
  padding: 90px 0;
}
.p-section-small {
  padding: 40px 0;
}
.p-section-medium {
  padding: 70px 0;
}
.p-section-top {
  padding-top: 80px;
}
.p-section-bottom {
  padding-bottom: 80px;
}

.btn-main {
  display: inline-block;
  text-align: center;
  background-color: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 12px 20px;
  -moz-transition: all .3s ease-out;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}
.btn-main:hover {
  background-color: var(--red-color);
  border-color: var(--red-color);
  color: #ffffff;
}
.bg-red .btn-main:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

.btn-main.outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-main.outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-main.outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-main.outline-white:hover {
  color: var(--red-color);
  border-color: var(--red-color);
}

.btn-underline {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
}
.btn-underline:hover {
  color: var(--red-color);
}
.btn-underline::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 2px;
  background: var(--primary-color);
  transition: background .3s ease-out;
}
.btn-underline:hover::after {
  background: var(--red-color);
}

.shadow-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(37, 37, 37, 0.9) 0%, rgba(37, 37, 37, 0.4) 35.58%, rgba(37, 37, 37, 0) 69.71%);
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}

.lazy {
  opacity: 0;
  transition: opacity .5s;
}

.lazy.loaded {
  opacity: 1;
}

.keep-right {
  width: 100%;
  margin-left: auto !important;
  padding-left: 15px;
}

.text-nowrap {
  white-space: nowrap;
}

.content-no-data {
  min-height: 10vh;
}

.container-fluid {
  padding-left: 100px;
  padding-right: 100px;
}

.page-mt {
  margin-top: var(--header-height);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
#header .logo {
  width: 100px;
}

.site-header .site-header-grid {
  display: grid;
  position: relative;
  grid-template-columns: 205px minmax(0, 1fr);
  grid-template-rows: 58px 56px;
}

.site-header-logo {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
}

.site-header-logo img {
  width: 115px;
}

.site-header-social {
  gap: 10px;
  border-bottom: 1px solid var(--gray-3-color);
}

.site-header-social > a:not(.site-header-lang),
.site-header-mobile-tools > a:not(.site-header-lang) {
  display: inline-flex;
  width: 26px;
  height: 26px;
}

.site-header-social img,
.site-header-mobile-tools img {
  width: 100%;
  height: 100%;
}

.site-header-lang {
  margin-left: 4px;
}

.site-header .navbar {
  grid-column: 2;
  min-width: 0;
}

.site-header .navbar-nav {
  gap: clamp(18px, 2.15vw, 36px);
  padding: 14px 0;
}

.site-header .nav-link {
  padding: 2px 0 !important;
  color: var(--primary-color);
  white-space: nowrap;
  position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--red-color);
}

.site-header .nav-link.main-menu::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--red-color);
  transition: all .3s ease-in-out;
}
.site-header .nav-link.main-menu:hover::after,
.site-header .nav-link.main-menu.active::after {
  width: 100%;
}

.site-header .navbar-toggler {
  border: 0;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.site-header .nav-search img {
  width: 16px;
  height: 16px;
}

.site-header .nav-search {
  border: 0;
  background: transparent;
}

.products-mega-menu {
  position: fixed;
  top: var(--header-height, 114px);
  right: 0;
  left: 0;
  z-index: 1029;
  max-height: calc(100vh - var(--header-height, 114px));
  max-height: calc(100dvh - var(--header-height, 114px));
  padding: 36px 0 48px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--primary-color);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.products-mega-menu.no-transition {
  transition: none;
}

.products-menu-icon,
.brands-menu-icon {
  display: none;
}

.products-menu:hover > .products-mega-menu,
.products-menu:focus-within > .products-mega-menu,
.products-menu.is-open > .products-mega-menu,
.brands-menu:hover > .brands-mega-menu,
.brands-menu:focus-within > .brands-mega-menu,
.brands-menu.is-open > .brands-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.products-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(50px, 8vw, 140px);
}

.products-mega-menu h3 {
  margin-bottom: 20px;
}

.products-mega-intro p {
  max-width: 350px;
  margin-bottom: 54px;
}

.products-mega-intro .btn {
  text-transform: uppercase;
}

.products-mega-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.products-mega-links li + li {
  margin-top: 12px;
}

.products-mega-links a:hover,
.products-mega-links a:focus {
  color: var(--red-color);
}

.products-mega-menu .btn-main { padding: 8px 16px;}

.brands-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.brands-menu-icon {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.brands-menu.is-open .brands-menu-icon {
  transform: rotate(180deg);
}

.brands-mega-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px clamp(30px, 5vw, 80px);
}

.brands-mega-links li + li{
  margin-top: 0;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(37, 37, 37, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.search-container {
  position: fixed;
  top: var(--header-height, 114px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1041;
  overflow-y: auto;
  border: 1px solid var(--primary-color);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.search-backdrop.is-open,
.search-container.is-open {
  opacity: 1;
  visibility: visible;
}

.search-form {
  display: flex;
  align-items: center;
  width: min(650px, calc(100% - 48px));
  height: 50px;
  margin: 100px auto 40px;
  padding: 0 16px;
  background: var(--gray-4-color);
}

.search-form-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.search-form-input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--primary-color);
  font: inherit;
}

.search-form-input::-webkit-search-cancel-button {
  display: none;
}

.search-close {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.search-close img {
  width: 100%;
  height: 100%;
}

body.search-open {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .site-header .site-header-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 74px auto;
  }

  .site-header-logo {
    grid-row: 1;
  }

  .site-header-logo img {
    width: 112px;
  }

  .site-header .navbar {
    grid-column: 2;
    position: static;
    gap: 12px;
  }

  .site-header-mobile-lang {
    margin-left: 0;
  }

  .site-header .navbar-collapse {
    position: absolute;
    top: var(--header-height, 74px);
    left: 50%;
    right: auto;
    z-index: 1030;
    width: 100vw;
    max-height: calc(100vh - var(--header-height, 74px));
    max-height: calc(100dvh - var(--header-height, 74px));
    padding: 12px 24px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-50%);
    border-top: 1px solid var(--gray-3-color);
    border-bottom: 1px solid var(--gray-3-color);
    background: #fff;
  }

  .site-header .nav-link {
    padding: 6px 0 !important;
    display: inline-block;
  }

  .site-header .nav-search {
    display: inline-flex;
  }

  .site-header-mobile-tools {
    border-top: 1px solid var(--gray-3-color);
  }

  .products-mega-menu .container-fluid { padding-left: 0; padding-right: 0; }

  .products-mega-menu {
    position: static;
    display: none;
    max-height: none;
    padding: 16px 0 16px 16px;
    overflow: visible;
    border: 0;
    border-left: 1px solid var(--gray-3-color);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .products-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
  }

  .products-menu-icon {
    display: block;
    flex: 0 0 auto;
    transition: transform .2s ease;
  }

  .brands-menu-icon {
    display: block;
  }

  .products-menu.is-open .products-menu-icon {
    transform: rotate(180deg);
  }

  .products-menu.is-open > .products-mega-menu {
    display: block;
  }

  .brands-menu.is-open > .brands-mega-menu {
    display: block;
  }

  .products-mega-grid {
    display: block;
  }

  .products-mega-grid > div + div {
    margin-top: 24px;
  }

  .products-mega-menu h3 {
    margin-bottom: 12px;
  }

  .products-mega-intro p {
    max-width: 420px;
    margin-bottom: 18px;
  }

  .products-mega-links li + li {
    margin-top: 9px;
  }

  .brands-mega-links {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar-collapse {
    padding-left: 16px;
    padding-right: 16px;
  }

  .search-form {
    width: calc(100% - 32px);
    height: 56px;
    margin-top: 48px;
    padding: 0 14px;
  }

  .search-form-input {
    padding: 0 14px;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background: var(--white-color);
  color: var(--black-color);
}

.footer-border {
  width: calc(100% - (90px * 2));
  height: 1px;
  background: var(--gray-3-color, #ECECEC);
  margin: 0 auto;
}

.footer .footer-top {
  padding: 40px 0;
}

.footer .logo {
  width: 120px;
}

.footer-img {
  width: 110px;
}

.contact-w-icon .icon { width: 28px; height: 28px; border: 1px solid var(--primary-color, #3B3B3B); padding: 6px; margin-right: 10px; }

.social-footer a { width: 26px; height: 26px; }

.footer .footer-top .menu {
  list-style: none;
  padding-left: 0;
}

.footer .footer-top .menu li {
  margin-bottom: 14px;
}
.footer .footer-top .menu li:last-child {
  margin-bottom: 0;
}

.footer .copyright {
  padding: 18px 0;
}

.footer .copyright a:hover {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.custom-pagination ul {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.custom-pagination .item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-3-color);
  border-radius: 0;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease-out;
}

.custom-pagination .item:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.custom-pagination li.active .item {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.custom-pagination li.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.custom-pagination .item-next-prev svg {
  width: 38px;
  height: 38px;
}

.custom-pagination .item-next-prev svg .bg { color: #ffffff; transition: .3s ease-out; }
.custom-pagination .item-next-prev svg .border { color: var(--gray-3-color); transition: .3s ease-out; }
.custom-pagination .item-next-prev svg .chev { color: var(--primary-color); transition: .3s ease-out; }

.custom-pagination .item-next-prev svg:hover .bg { color: var(--primary-color); }
.custom-pagination .item-next-prev svg:hover .border { color: var(--primary-color); }
.custom-pagination .item-next-prev svg:hover .chev { color: #ffffff; }

.custom-pagination .dots .item {
  background: transparent;
  cursor: default;
  color: var(--primary-color);
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--primary-color) transparent var(--primary-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Figure
--------------------------------------------------------------*/
figure {
  overflow: hidden;
  margin: 0;
}
.on-hover-img figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-out !important;
	transition: .3s ease-out !important;
}
.on-hover-img:hover figure img{
	-webkit-transform: scale(1.12);
	transform: scale(1.12);
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 90vh;
  position: relative;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero.home {
  min-height: calc(100vh - var(--header-height, 114px));
}

.hero.products {
  min-height: 45vh;
}

/* Container สำหรับคุมวิดีโอ */
.hero .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  /* ป้องกันการคลิกบนวิดีโอ */
}

/* ทำให้ Iframe ใหญ่กว่าจอเพื่อซ่อนขอบดำ (Scale เล็กน้อย) */
.hero .video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* อัตราส่วน 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* อัตราส่วน 16:9 */
  transform: translate(-50%, -50%);
}

.hero .img-banner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
}

.img-banner.pc {
  display: block;
}
.img-banner.mb {
  display: none;
}

.hero .content {
  position: relative;
  z-index: 3;
}

.bannerSwiper {
  --swiper-parallax-opacity: 0;
}

.bannerSwiper .swiper-pagination-bullets {
  bottom: 3%;
}

.home-banner .swiper-pagination-bullet {
  background-color: #ffffff;
}

.home-banner .swiper-pagination-bullet-active {
  background-color: #ffffff;
}

@media (max-width: 991px) {
  .hero {
    min-height: 60vh !important;
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100vw !important;
  }
  .img-banner.pc {
    display: none;
  }
  .img-banner.mb {
    display: block;
  }
}

@media (max-width: 575px) {
  .hero h1 br{
    display: none;
  }
}

/*--------------------------------------------------------------
# Swiper
--------------------------------------------------------------*/
.swiper-container {
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  transition: color 0.3s ease-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--red-color);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border: 1px solid #aaaaaa;
  background: #ffffff;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.swiper-pagination-bullets-dynamic {
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
}

.has-bullet .swiper-pagination-bullets {
  bottom: 0;
}

.swiper.has-bullet {
  padding-bottom: 42px;
}

.relatedSwiper, .productSwiper { position: unset; }
.swiper-button-prev.related, .swiper-button-prev.product { left: -55px; }
.swiper-button-next.related, .swiper-button-next.product { right: -55px; }

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.item-box.category { color: var(--primary-color); min-height: 160px; }
.item-box.category .icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.item-box.category:hover { border-color: var(--red-color); }
.item-box.category:hover .icon {
  filter: brightness(0) saturate(100%) invert(24%) sepia(91%) saturate(3124%) hue-rotate(340deg) brightness(93%) contrast(90%);
}

.home-about { max-width: 80%; }
.home-about-logo {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 180px;
  transform: translateX(-45%);
  z-index: 1;
}
.guarantee-icon { width: 18px; }

.care-text-box {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  transform: translate(-25%, 45%);
  padding: 34px 40px;
  box-shadow: 0px 20px 25px -5px #0000001A;
}

.home-care { max-width: 74%; }

/*--------------------------------------------------------------
# Our Products
--------------------------------------------------------------*/
.product-card { background: #ffffff; border: 1px solid #ffffff; padding: 25px; }
.product-card:hover { border-color: var(--red-color); }

.product-card img { width: 80%; padding: 20px 0; }

.category-card .img-container { background: #ffffff; }
.category-card img { width: 70%; padding: 40px 0; }

.product-detail-img { width: 55%; }
.product-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.product-spec { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--gray-3-color); }
.product-spec-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-color); }

.btn-main.outline.filter {
  border-width: 1px;
  padding: 8px 16px;
  text-transform: none;
}

.product-catalog-sidebar-column {
  position: sticky;
  top: calc(var(--header-height, 114px) + 18px);
  z-index: 2;
}
.product-catalog-sidebar {
  max-height: calc(100vh - var(--header-height, 114px) - 30px);
  max-height: calc(100dvh - var(--header-height, 114px) - 30px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 1rem;
  scrollbar-width: thin;
}
.product-catalog-sidebar .category-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.product-catalog-sidebar .menu-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.product-catalog-sidebar a { color: var(--gray-2-color); text-decoration: none; }
.subcategory-menu { margin-bottom: .8rem; }
.subcategory-menu-header { display: flex; align-items: start; gap: 1.2rem; }
.subcategory-menu-link { display: flex; align-items: flex-start; gap: .75rem; flex: 1; }
.subcategory-menu-link .menu-icon { margin-top: .2em; }
.subcategory-menu.is-open .subcategory-menu-link,
.subcategory-menu.is-open .subcategory-menu-toggle,
.product-catalog-sidebar .submenu a:hover,
.product-catalog-sidebar .submenu a:focus { color: var(--red-color); }
.subcategory-menu.is-open .menu-icon { filter: brightness(0) saturate(100%) invert(24%) sepia(91%) saturate(3124%) hue-rotate(340deg) brightness(93%) contrast(90%); }
.subcategory-menu-toggle {
  display: inline-flex;
  justify-content: center;
  width: 10px;
  height: 10px;
  padding: 0;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--red-color);
}
.subcategory-menu-toggle svg { transition: transform .25s ease; }
.subcategory-menu.is-open .subcategory-menu-toggle svg { transform: rotate(180deg); }
.product-catalog-sidebar .submenu {
  display: none;
  gap: .55rem;
  padding: .5rem 0 .1rem 2.25rem;
}
.submenu-empty { color: var(--gray-2-color); font-size: .875rem; }
.subcategory-menu.is-open .submenu { display: grid; }
.product-catalog-sidebar .direct-product { display: block; margin-bottom: .75rem; }
.product-group + .product-group { margin-top: 3rem; }
.product-group-title {
  border-bottom: 2px solid currentColor;
  padding-bottom: 30px;
  margin-bottom: 40px;
}
.product-group .product-card {
  border-color: var(--gray-3-color);
  min-height: 350px;
}
.product-group .product-card:hover {
  border-color: var(--red-color);
}
.product-filter-overlay { position: fixed; inset: 0; z-index: 1040; background: rgba(0, 0, 0, .28); }
.product-filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1041;
  width: min(380px, 100%);
  padding: 4.5rem 2.5rem 2.5rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--primary-color);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .3s ease, visibility .3s;
}
.product-filter-panel.is-open { visibility: visible; transform: translateX(0); }
.filter-panel-open { overflow: hidden; }
.product-filter-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.filter-clear { margin-left: auto; border: 0; padding: 0; background: none; }
.filter-close { border: 0; padding: 0; background: none; font-size: 1.75rem; line-height: 1; }
.filter-group { display: grid; gap: 1rem; margin: 0 0 2rem; border: 0; }
.filter-group legend { width: 100%; padding-bottom: .6rem; border-bottom: 1px solid var(--gray-3-color); }
.filter-group label { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.filter-group input { width: 15px; height: 15px; accent-color: var(--primary-color); }
.filter-result-count { border-top: 1px solid var(--gray-3-color); padding-top: 1rem; }
.product-filter-empty { min-height: 40vh; }
@media (max-width: 991.98px) {
  .product-catalog-sidebar-column { position: static; }
  .product-catalog-sidebar { max-height: 320px; margin-bottom: 2rem; }
}
@media (max-width: 575px) {
  .product-filter-panel { padding: 5rem 1.5rem 1.5rem; }
}

/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
.service-card {
  border: 1px solid var(--gray-3-color);
  background-color: #ffffff;
}
.service-card-content {
  padding: 30px;
}
.service-card .description { color: var(--primary-color); height: 63px; }
.service-card:hover .btn-underline::after { background: var(--red-color); }

.service-card.related .service-card-content {
  padding: 18px 16px;
}

.support-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .8);
  border-left: 1px solid rgba(255, 255, 255, .8);
}

.support-stat {
  display: flex;
  padding: 34px 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
}

.support-intro {
  max-width: 680px;
}

.support-steps {
  margin-top: 48px;
}

.support-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.support-step:last-child {
  margin-bottom: 0;
}

.support-step-number {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
}

.support-step h4 {
  margin-bottom: 6px;
}

.support-step p {
  margin-bottom: 0;
  line-height: 1.7;
}

@media (min-width: 992px) {
  .support-stats-column {
    position: sticky;
    top: var(--header-height, 114px);
    align-self: flex-start;
  }
}

@media (max-width: 575px) {
  .support-stat {
    min-height: 150px;
    padding: 16px 10px;
  }

  .support-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .support-step-number {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

.contact-bottom-img.shadow-img::before { background: #3B3B3B4D; }
.content-b-icon { width: 24px; height: auto; }

.partnersSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.partnersSwiper .swiper-slide {
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: center;
}
.partnersSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.multi-brand-icon { width: 24px; }
.performance-icon { width: 20px; }
.performance { border: 1px solid #C4C7C74D }

.emergency-support { border-left: 3.5px solid var(--primary-color, #3B3B3B) }

/*--------------------------------------------------------------
# Brands
--------------------------------------------------------------*/
.brand-card { background: #ffffff; border: 1px solid var(--gray-3-color); padding: 0 14px 16px 14px; color: var(--primary-color); }
.brand-card img { width: 80%; object-fit: contain; }
.brand-card:hover { border-color: var(--red-color); }

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about-image-frame {
  position: relative;
  z-index: 0;
  margin-right: 32px;
}

.about-image-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16px;
  left: 16px;
  width: calc(100% + 22px);
  height: calc(100% + 22px);
  border: 2px solid #DD273133;
}

.about-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid #fff;
}

.vision-line {
  width: min(340px, 60%);
  height: 1px;
  margin: 40px auto;
  background: linear-gradient(90deg, #ECECEC 0%, #555555 50%, #ECECEC 100%);
  opacity: .2;
}

.choose-pvp-item {
  height: 100%;
  padding: 0 20px 20px 24px;
  border-left: 1px solid #FFFFFF1A;
}

.industry-list {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  user-select: none;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.industry-list.is-scrollable {
  cursor: grab;
}

.industry-list.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.industry-list::-webkit-scrollbar {
  display: none;
}

.industry-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--gray-2-color);
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: start;
}

.industry-item::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background-color: var(--red-color);
}

.item-box { background: #ffffff; border: 1px solid var(--gray-3-color); padding: 30px; }
.item-box.about .icon { width: 24px; height: 24px; }

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.news-card {
  background-color: #ffffff;
}
.news-card-content {
  padding: 20px;
}
.news-card .title, .news-card .description { color: var(--primary-color); }

.card-underline {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  width: calc((100% - 40px) * 0.15);
  height: .5px;
  background: var(--red-color);
  transition: width .3s ease-out;
}
.has-card-underline:hover .card-underline {
  width: calc((100% - 40px) / 2);
}

.detail-title { position: relative; padding-left: 20px; margin-bottom: 38px; }
.detail-title::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: calc(100% * 1.1);
  background: var(--primary-color);
  transform: translateY(-50%);
}

.content-detail h1, .content-detail h2, .content-detail h3, .content-detail h4, .content-detail h5, .content-detail h6, .content-detail p, .content-detail ul, .content-detail ol{
  margin-bottom: 1.8rem;
}

.social-share-list { gap: 12px; }
.social-share { width: 38px; height: 38px; }
.copy-link { position: relative; }
.copy-link::after {
  content: "Copied!";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 2;
  padding: 5px 9px;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .2s ease, transform .2s ease;
}
.copy-link.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

hr.end-article { background: #C4C7C74D; margin: 48px 0; opacity: .2;}

.article-date svg { width: 12px; height: 12px; margin-bottom: 3px; }

/*--------------------------------------------------------------
# Knowledge
--------------------------------------------------------------*/
.knowledge-card {
  background-color: #ffffff;
}
.knowledge-card-content {
  padding: 20px 20px 40px 20px;
}
.knowledge-card .title, .knowledge-card .description { color: var(--primary-color); }

.knowledge-card.has-card-underline:hover .card-underline {
  width: calc((100% - 40px) * 0.7);
}

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.form-box {
  background-color: #ffffff;
  border: 1px solid var(--gray-3-color);
  padding: 40px 40px;
}

.contact-w-i svg,
.contact-w-i img {
  width: 20px;
  height: auto;
  margin-right: 16px;
  flex-shrink: 0;
}

.content-contact { max-width: 610px; }

/*--------------------------------------------------------------
# Form
--------------------------------------------------------------*/
.form-label {
  text-transform: uppercase;
}

.form-control {
  padding: 12px 12px;
  background-color: var(--gray-4-color);
  color: var(--primary-color);
  border: 0;
  border-radius: 0;
}

.form-control:focus {
  background-color: var(--gray-4-color);
  color: var(--primary-color);
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--primary-color) 50%, transparent);
}

.form-control::placeholder {
  color: var(--primary-color);
}

.form-select {
  padding: 12px 36px 12px 12px;
  font-size: 14px;
  font-weight: 400;
  background-color: var(--gray-4-color);
  color: var(--black-color);
  border: 0;
  border-radius: 0;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.108 8.465'%3E%3Cpath d='M1.428 0L0 1.424l7.054 7.041 7.054-7.041L12.679 0 7.054 5.612Z' fill='%233B3B3B'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-size: 10px;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 1px 0 0 rgba(31, 57, 109, .5);
}

.form-select option {
  font-weight: 400;
  color: var(--white-color);
  background-color: var(--primary-color);
}

.form-select option:first-child {
  color: var(--black-color);
}

/*--------------------------------------------------------------
# Google Map
--------------------------------------------------------------*/
.container-iframe {
  width: 100%;
  height: 100%;
}

.container-iframe iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/*--------------------------------------------------------------
# Popup
--------------------------------------------------------------*/
#popup .modal {
  z-index: 3000;
}

#popup .modal-backdrop {
  z-index: 2900;
}

#popup .close {
  background: transparent;
  border: none;
  position: absolute;
  top: -30px;
  right: 0;
  color: #ffffff;
  padding: 0;
}

#popup .close svg {
  width: 22px;
  height: 22px;
}

/*--------------------------------------------------------------
# CKEDITOR5
--------------------------------------------------------------*/
figure.image {
  margin: 1.5rem auto;
}
figure.image img,
img.image_resized {
  height: auto !important;
}

.image-style-align-left {
  float: left;
  margin-right: 1.5em !important;
}

.image-style-align-right {
  float: right;
  margin-left: 1.5em !important;
}

.image_resized {
  margin-left: auto;
  margin-right: auto;
}

.image-style-block-align-right {
  margin-left: auto;
  margin-right: unset;
}

.image-style-block-align-left {
  margin-right: auto;
  margin-left: unset;
}

.marker-yellow {
  background-color: #b9b924;
  color: #fff;
}

.marker-green {
  background-color: #17c117;
  color: #fff;
}

.marker-pink {
  background-color: #f63666;
  color: #fff;
}

.marker-blue {
  background-color: #2B5597;
  color: #fff;
}

.pen-red {
  color: #e91313;
}

.pen-green,
.pen-red {
  background-color: transparent;
}

.pen-green {
  color: #180;
}

figure.media {
  display: block;
  background: transparent;
  width: auto;
  padding: 10px;
}

blockquote {
  border-left: 5px solid #ccc;
  font-style: italic;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  padding-left: 1.5em;
  padding-right: 1.5em;
  margin: 0 0 1rem;
}

figure.table {
  width: 100% !important;
  overflow-x: auto;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .g-lg-custom {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
}

@media (min-width: 576px) {
  .swiper-pagination.related, .swiper-pagination.product {
    display: none;
  }
}

@media (max-width: 1440px) {
  .container-fluid {
    padding-left: 70px;
    padding-right: 70px;
  }
  .footer-border { width: calc(100% - (60px * 2)); }
}

@media (max-width: 991px) {
  /* h1, .h1 {font-size: 44px;}
  h2, .h2 {font-size: 26px; font-weight: 700;}
  h3, .h3 {font-size: 20px; font-weight: 500;} */
  .container-fluid {
    padding-left: 50px;
    padding-right: 50px;
  }
  .footer-border { width: calc(100% - (40px * 2)); }
  .page-detail br, .content-detail br {
    display: none;
  }
  .content-detail h1, .content-detail h2, .content-detail h3, .content-detail h4, .content-detail h5, .content-detail h6, .content-detail p, .content-detail ul, .content-detail ol{
    margin-bottom: .8rem;
  }
  .detail-title { margin-bottom: 1rem; }
  .about-image-frame { margin: 0 32px 64px 0; }
  .swiper-button-prev.related, .swiper-button-prev.product { left: -45px; }
  .swiper-button-next.related, .swiper-button-next.product { right: -45px; }
  .home-about { max-width: 90%; }
  .home-about-logo { width: 110px; }
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-border { width: calc(100% - (10px * 2)); }
  .p-section {padding: 60px 0;}
  .swiper-button-next, .swiper-button-prev { width: 32px; height: 32px; }
  .swiper-button-prev.related, .swiper-button-prev.product { left: 0; }
  .swiper-button-next.related, .swiper-button-next.product { right: 0; }
  .home-about { max-width: 100%; }
  .home-about-logo { width: 110px; transform: translateX(0); }
  .home-care { max-width: 100%; }
  .care-text-box { width: 220px; transform: translate(-4%, 16%); padding: 20px; }
  .industry-list {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    overflow-x: visible;
    user-select: auto;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
  }
  .industry-list.is-scrollable,
  .industry-list.is-dragging {
    cursor: auto;
  }
  .industry-item {
    white-space: normal;
    scroll-snap-align: none;
  }
}

@media (max-width: 575px) {
  .p-section {
    padding: 50px 0;
  }
  .content-text h1 br, .content-text h2 br, .content-text h3 br, .content-text h4 br, .content-text h5 br, .content-text h6 br, .content-text p br, .content-text ul br{
    display: none;
  }
  .has-pagination { padding-bottom: 40px; }
  .swiper-button-prev.related,
  .swiper-button-next.related {
    display: none;
  }
  .swiper-button-prev.product,
  .swiper-button-next.product {
    display: none;
  }
  .hero h1 br, .hero p br { display: none; }
  .site-header-social > a:not(.site-header-lang),
  .site-header-mobile-tools > a:not(.site-header-lang) { width: 34px; height: 34px; }
  .social-footer a { width: 34px; height: 34px; }
  .maintenance-logo { width: 80%; }
}
