:root {
    --primary-color: #07613b;
    --secondary-color: #65ce2b;
    --tird-color: #07613b;

    --dark: #121214;
    --hover: #07613b;

    --blue: #07613b;
    --l-blue: #07613b;
    --green: #60993d;
    --l-lgreen: #8bb83a;
    --red: #e3322a;

    --gradient: linear-gradient(27deg, rgba(112, 19, 11, 1) 0%, rgba(181, 37, 26, 1) 66%);
    --gradient-blue: linear-gradient(27deg, rgba(8, 19, 42, 1) 0%, rgba(57, 108, 174, 1) 60%, rgba(49, 130, 235, 1) 100%);
    --gradient-green: linear-gradient(319deg, rgba(174, 224, 81, 1) 2%, rgba(118, 166, 23, 1) 100%);
    --gradient-red: linear-gradient(27deg, rgba(112, 19, 11, 1) 0%, rgba(181, 37, 26, 1) 66%);

    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;

    --c-content: #e1e1e1;
    --c-action: #03d5ff;

    --c-bg: #1b1b1d;

    --glass-reflex-dark: 2;
    --glass-reflex-light: 0.3;

    --saturation: 150%;

}

/* Smooth scrolling for in-page anchors */
html {
    scroll-behavior: smooth;
}
/* Hero video section (home) */
#hero-section {
    position: relative;
    height: 105vh;
    overflow: hidden;
}

/* video เต็มจอ */
#hero-section .video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-section .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* overlay อยู่เฉพาะบน video */
#hero-section .video-overlay {
    position: absolute;
    inset: 0;
    
    background-image: url(../images/overlay.png); /* รูปเล็ก */
    background-repeat: repeat; /* สำคัญ: ให้เรียงต่อกัน */
    background-size: auto; /* ใช้ขนาดจริงของรูป */
    background-position: top left;
    z-index: 1;
    pointer-events: none;
}

/* ===== FIX: จัดข้อความให้อยู่กึ่งกลางจริง ===== */
#hero-section .hero-content {
    position: absolute; /* เปลี่ยนจาก relative */
    inset: 0;           /* เต็มพื้นที่ section */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* กัน container ภายในรบกวนการจัดกลาง */
#hero-section .hero-content .container-fluid,
#hero-section .hero-content .container-fullscreen {
    width: 100%;
}

/* ตัวอักษรคมชัด */
#hero-section .hero-content h1 {font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

#hero-section .hero-content p {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ปุ่ม */
#hero-section .btn-light {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    margin-top: 20px;
    transition: all 0.3s ease;
}
#hero-section .btn-light:hover {
    background: #fff;
    color: #000;
}

/* Disable sticky header (no fixed on scroll) */
#header.header-sticky .header-inner,
#header.header-sticky #header-wrap,
#header.header-sticky.sticky-active .header-inner,
#header.header-sticky.sticky-active #header-wrap {
    position: static !important;
    top: 0 !important;
    box-shadow: none !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 95%;
    }
}
.font-custom{ font-family: 'Encode Sans Condensed', sans-serif;}

.text-color{ color: var(--primary-color); }
.text-yellow{ color: var(--yellow) !important; }
.text-blue{ color: var(--blue) !important; }
.text-red{ color: var(--red) !important; }

.bg-color{ background:var(--primary-color); }
.flickity-button:hover{ background:var(--secondary-color); }

#header {
    /* top: 0px; */
    /* position: absolute; */
    /* left: 0; */
    width: 100%;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* หน้า index - ใช้ backdrop-filter */
#header.is-home {
    background-image: url(../images/header/bg-menu.jpg);
    /* background-color: rgba(255, 255, 255, 0.85); */
    backdrop-filter: blur(4px);
}

/* หน้าอื่นๆ - ใช้ background-color */
#header:not(.is-home) {
    background-image: url(../images/header/bg-menu.jpg);
}

/* หน้าแรก (Home/Index) */

.header-extras > ul > li a .circle, .tb-language span{ color: #e6e6e2;}

/* Left "More" menu next to logo */
.header-left-menu {
    position: relative;
    z-index: 1300;
    float: left;
    display: flex;
    align-items: center;
    margin-right: 20px;
    height: 80px;
}

.header-left-menu .nav-more {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-left-menu .nav-more > li {
    position: relative;
}

.header-left-menu .nav-more > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    line-height: 66px;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.header-left-menu .nav-more > li > a::after {
    content: "\e92e";
    font-family: inspiro-icons !important;
    font-size: 12px;
    margin-left: 6px;
}

.header-left-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 130px;
    margin-top: 0;
    padding: 8px 0;
    background-color: #0e3b13;
    border-radius: 4px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    border: 0px solid #eee;
    display: none;
    z-index: 1200;
}

.header-left-menu .dropdown-menu li {
    width: 100%;
}

.header-left-menu .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
    line-height: 24px;
}

.header-left-menu .dropdown-menu li a:hover
 {
    /* background-color: var(--secondary-color); */
    color: #e4c58a;
    text-decoration: none;
}

.header-left-menu .dropdown:hover > .dropdown-menu {
    display: block;
}


/* gradient-green */
.gradient-green {
    /* background: linear-gradient(270deg, #65cb2b, #56ab2f, #0c6d42); */
    /* background-size: 400% 400%; */
    /* animation: greenGradient 8s ease infinite; */
    color: #fff;
}

@keyframes greenGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* allproducts-section-brands */
.allproducts-section-brands {text-align: center;}
.allproducts-card-inner img {width: 13%;}

/* Popup banner vertical carousel (3 images visible, slide up/down) */
#popupBanner .popup-carousel-viewport {
    overflow: hidden;
}

#popupBanner .popup-carousel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* ใช้ CSS animation เลื่อนลงต่อเนื่อง */
    animation: popupScrollVertical 80s linear infinite;
}

#popupBanner .popup-slide {
    flex: 0 0 auto;
}

#popupBanner .popup-slide img {
    width: 80%;
    display: block;
    border-radius: 10px;
}

@keyframes popupScrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        /* เนื่องจากเรา duplicate ชุด slide 2 ชุด เลื่อนขึ้นครึ่งหนึ่งของความสูงทั้งหมดจะต่อเนื่องพอดี */
        transform: translateY(-50%);
    }
}



.float-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -92px;
    left: 13%;
}

.float-image img{
    width:25%;
    animation: bg-shift 1s ease-in-out infinite alternate-reverse, swing 8s ease-in-out infinite;
}

/* animation */

  
  @keyframes swing {
    0% {
      transform-origin: top;
      transform: perspective(550px)rotatex(15deg);
    }
  
    50% {
      transform: perspective(550px)rotatex(-20deg);
    }
  
    100% {
      transform-origin: top;
      transform: perspective(550px)rotatex(15deg);
  
    }
  }
  




h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ font-weight:500; letter-spacing: 0;}

body, p,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
#mainMenu nav > ul > li > a,
#footer p,
#footer,
button.btn, .btn:not(.close):not(.mfp-close), a.btn:not([href]):not([tabindex]),
.header-extras > ul > li .topbar-dropdown > .title{
    font-family: 'Jost', sans-serif;
    letter-spacing: 0;font-weight: 400;
}
body, p{
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.67);
}

body .body-inner{
    background: url(../images/bg-03.png) no-repeat;
    background-size: 100%;
    background-position: center 25%;
}
.list-icon.list-icon-colored li:before, .list-icon.icon-list-colored i{ color:var(--red); }
.metal-bg{
    background: linear-gradient(119deg, rgba(245, 245, 245, 1), rgba(255, 255, 255, 1) 14%, rgb(255, 255, 255) 19.33%, rgba(239, 238, 238, 1) 32.77%, rgb(207, 204, 204) 49.58%, rgb(213, 206, 206) 63.03%, rgba(221, 221, 221, 1) 71.01%, rgb(233, 233, 233) 87.82%, rgba(218, 218, 218, 1));
    border-radius: 20px;
    color: #16113b;
}
.extras-shopping {
    display: none;
}
.btn-nav-top {
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    outline: none;
    padding: 10px 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    background-color: #0b3910;
    border-color: #0b3910;
    border-width: 1px;
    border-style: solid;
    color: #fff !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 6px;
    outline: none;
    line-height: 14px;
}
.flickity-button:before{ color:#fff; }
.topbar-dropdown .title{ padding: 0px 10px; }
#search .search-form .form-control{
    margin: 0;
    margin-bottom: 0px;
    padding: 0;
    line-height: 40px;
    height: 40px;
    font-size: 16px;
}
#search .search-form{
    position: relative;
}
#search .search-form .text-muted{ font-size:10px; }
.list-search-position{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 12px !important;
    z-index: 205;
    max-height: 320px;
    overflow-y: auto;
}
.mt-31 {
    margin-top: 20rem !important;
}
.btn.btn-top-call{
    padding: 0 20px !important;
    margin-right: 20px;
}

.tb-language{
    border-radius: 100px;
    border: 1px solid #d5cbba;
    padding: 3px;
    line-height: 30px;
    display: -webkit-flex;
    height: 40px;
    margin-top: 20px;
    vertical-align: middle;
    background-color: #e9e9e9;
    color: #7a7a7a;
}
.tb-language img{height: 22px; margin: 0 3px;}
.tb-language > a{
    color: inherit;
    padding: 0;
    margin: 0 5px;
}
.tb-language span{
    padding: 0 5px;
    color: #534d4d;
    font-size: 12px;
}
.tb-language > a.active{
    background-color: #ffffff;
    border-radius: 100px;
    line-height: 30px;
    display: inline-block;
    color: #5e5e5e;
    margin: 0;
    vertical-align: middle;
    align-content: center;
    font-weight: 500;
    box-shadow: 0 0 4px rgba(51, 51, 51, 0.27);
}
.tb-language > a:not(.active) .flag{ display:none; }
.flag{ margin-right: 4px; }

body.search-open #topbar,
body.search-open #logo,
body.search-open #mainMenu,
body.search-open .header-extras{
    opacity: 0;
    visibility: visible;
}
#search{
    width: 100%;
    float: right;
    left: initial;
    right: 0;
    height: 300px;
    background: #fff;
}
body.search-open #search{
    width: 100%;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.26);
    height: 80px;
    max-width: 1140px;
}
.header-extras > ul > li > a {
    /* padding: 0 !important; */
}
.header-extras > ul > li a .circle{
    top: 0px;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50%;
background: #0b3910;

/*    border: 1px solid rgba(227, 227, 227, 0.97);*/
text-align: center;
transition: all .2s ease-in-out;
}
.header-extras > ul > li.extras-shopping a{ padding:0; }
.header-extras > ul > li.extras-shopping a span{
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    position: absolute;
    background-color: var(--red);
    border-radius: 50%;
    top: -10px;
    right: -6px;
    color: #fff;
    font-size: 11px;
}
.header-extras > ul > li a.circle,
.header-extras > ul > li a.circle i{
    line-height: 30px !important;
}
.header-extras > ul > li.top-language{
    border-left: 1px solid #ececec;
    margin-left: 20px;
    padding-left: 10px;
}
.header-extras > ul > li a:hover .circle{
    background: #0f2347;
    border-color: #0f2347;
    color: var(--primary-color);
    transform: scale(1.2);
}

.form-search{
    position: relative;
    line-height: 40px;
    border: 1px solid #ddd;
    border-radius: 7px;
    margin-top: 17px;
    width: 285px;
    max-width: 100%;
}
.search-box input{
    width: 100%;
    border: none;
    padding-right: 40px;
    background: transparent;
}
.search-box .btn-search{
    position: absolute;
    right: 0;
    min-width: 40px;
    text-align: center;
}

.headbar{ position:relative; margin-top: 10px; text-align: center;}
.sect-products .headbar .htitle {
    color: #07613b;
}




.brand-hero {
    position: relative;
    width: 100%;
    min-height: 800px;
    overflow: hidden;
    background: #0b390f;
  }
  
  /* Background Image */
  .brand-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 10px;
    border-radius: 20px;
  }
  
  /* Overlay Content */
  .brand-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    /* padding: 120px 20px; */
    text-align: center;
    color: #fff;
    top: 84px;
    left: 0%;
}
  
  .title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .subtitle {
    font-size: 19px;
    margin: 5px 0;
  }
  
  .btn-shop {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 40px;
    border-radius: 50px;
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
  }
  
  .btn-shop:hover {
    background: #e65c00;
  }
  .brand-media-content-left {
    position: relative;
    left: -23%;
    top: 224px;
    opacity: 0;
    transform: translateX(-100vw);
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1), opacity 0.9s cubic-bezier(.22, 1, .36, 1);
}
.brand-media-content-right {
    position: absolute;
    right: -101%;
    top: 266px;
    opacity: 0;
    transform: translateX(100vw);
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1), opacity 0.9s cubic-bezier(.22, 1, .36, 1);
}
.brandsname-left {
    position: absolute;
    top: 26px;
    left: 65%;
}
.brandsname-left h2 {
    color: #fff;
    font-size: 18px;
}
.brandsname-right {
    position: absolute;
    top: 26px;
    right: -90%;
}
.brandsname-right h2 {
    color: #fff;
    font-size: 18px;
}
.brand-content .btn-right{
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff8eb;
    color: #0b3910;
    border-radius: 30px;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid #ffffff;
}

/* แก้ให้ hover เปลี่ยนเป็นขาวจริง */
.brand-content .btn-right:hover,
.brand-content .btn-right:hover span,
.brand-content .btn-right:hover i{
    background-color: #0b3910 !important;
    color: #ffffff !important;
}
.brand-content .btn-right:hover{
    border: 1px solid #ffffff;
}
.brand-btn {
    position: relative;
    bottom: -299px;
    left: -59%;
    z-index: 3;
}
  /* Media Section */
  .brand-media {
    position: absolute;
    margin-top:240px;
    left: 4%;
}
  
  .brand-logo {
    width: 120px;
    margin-bottom: 0px;
  }
  
  .brand-video {
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  }
  
  .brand-video.small {
    border-top: 4px solid hsl(0deg 0% 0% / 25%);
    border-left: 4px solid hsl(0deg 0% 0% / 20%);
    border-right: 4px solid hsl(0deg 0% 0% / 20%);
    width: 335px;
    position: relative;
    left: 11%;
    top: -107px;
    opacity: 0;
    transform: translateX(-100vw);
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1), opacity 0.9s cubic-bezier(.22, 1, .36, 1);
}
  
.brand-video.big {
    border-top: 4px solid hsl(0deg 0% 0% / 25%);
    border-left: 4px solid hsl(0deg 0% 0% / 20%);
    border-right: 4px solid hsl(0deg 0% 0% / 20%);
    width: 590px;
    position: relative;
    top: -445px;
    left: 91%;
    opacity: 0;
    transform: translateX(100vw);
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1), opacity 0.9s cubic-bezier(.22, 1, .36, 1);
}

/* เมื่อ scroll มาถึง brand-hero ให้โลโก้ซ้ายและวิดีโอเล็กวิ่ง + fade in จากซ้าย */
.brand-hero.in-viewport .brand-media-content-left,
.brand-hero.in-viewport .brand-video.small {
    opacity: 1;
    transform: translateX(0);
}

/* เมื่อ scroll มาถึง brand-hero ให้โลโก้ขวาและวิดีโอใหญ่ วิ่ง + fade in จากขวา */
.brand-hero.in-viewport .brand-media-content-right,
.brand-hero.in-viewport .brand-video.big {
    opacity: 1;
    transform: translateX(0);
}
  
  /* Responsive */
  @media (max-width: 768px) {
    .title {
      font-size: 32px;
    }
  
    .brand-video.small {
      position: relative;
      left: auto;
      top: auto;
      margin: 20px auto;
    }
  
    .brand-video.big {
      width: 100%;
    }
  }




/* Brands Shop Products Section - Layout from Image */
.sect-products-category {
    position: relative;
    /* min-height: 800px; */
    overflow: hidden;
}

.brands-shop-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.brands-shop-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.brands-shop-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 0px 167px;
    /* min-height: 800px; */
}

.brands-shop-header {
    text-align: left;
    padding: 20px 0;
    margin-bottom: 30px;
}

.brands-shop-title {
    font-size: 50px;
    font-weight: normal;
    color: #fff;
    margin: 0;
    font-family: futura-lt-w01-book, sans-serif;
}

.brands-shop-products-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.brands-shop-product-left,
.brands-shop-product-right {
    position: relative;
}

.product-category-title {
    font-size: 19px;
    color: #fff;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: futura-lt-w01-book, sans-serif;
}

/* Left Section: Freeze Dry Durian */
.brands-shop-product-left {
    display: flex;
    flex-direction: column;
}

.product-images-container {
    position: relative;
    margin-bottom: 20px;
    min-height: 300px;
}

.product-main-image {
    margin-bottom: 15px;
}

.product-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-inset-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
}

.product-inset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brands-shop-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2B328C;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.brands-shop-btn:hover {
    background: #1a1f5a;
    color: #fff;
    transform: translateY(-2px);
}

/* Right Section: Pop Up Dietary Supplements */
.brands-shop-product-right {
    position: relative;
}

.supplement-image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.supplement-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplement-text-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.supplement-text-overlay p {
    color: #fff;
    font-size: 14px;
    margin: 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.supplement-inset-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 2;
}

.supplement-inset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-shop-products-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .brands-shop-title {
        font-size: 36px;
    }
    
    .product-category-title {
        font-size: 16px;
    }
    
    .brands-shop-content-wrapper {
        padding: 30px 15px;
    }
}
.sect-news .headbar .htitle{color: #000;}
.headbar .htitle, .htitle-dec {
    /* background-color: #07613b; */
    color: #ffffff;
    line-height: 30px;
    display: inline-block;
    font-size: 3em;
    margin-left: 20px;
}

#header.header-sticky .header-inner, #header.header-sticky #header-wrap {
    transition: top .8s ease-in-out;
    top: -140px;
    /* background-image: linear-gradient(to right, #0b3910, #0b3910); */
}
#header.header-sticky #mainMenu nav > ul > li > a {
    font-size: 18px;
    position: relative;
    font-weight: 400;
    display: inline-block;
    text-transform: inherit;
    padding: 0 10px;
    color: #ffffff;
}
.headbar a {
    position: absolute !important;
    right: 15px;
    top: -13px;
    bottom: 0;
    margin: auto;
}
.headbar.text-center .subtitle{ margin:auto; margin-top:20px; font-size: 16px;}
.headbar .subtitle{ max-width: 60%; }
.headbar .btn-right{
    border-radius: 50px;
    color: #fff;
    background: var(--primary-color);
    display: inline-block;
    height: -webkit-fit-content;
    line-height: 40px;
    padding: 0 10px 0 20px;
    transition: all .3s ease-in-out
}
.headbar .btn-right:hover{
    background-color: #fff;
    border-color:#fff;
    color: var(--secondary-color) !important;
    transform: scale(1.025);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}
.headbar-img{
    width: 120px;
    float: right;
    position: absolute;
    right: 0;
    top: 0;
}

#header[data-transparent=true] + #page-title {
    top: 0;
    margin-bottom: 0px;
    position: relative;
    padding: 30px 0 30px;
}
/*  MENU */
#mainMenu nav > ul > li{ padding: 0; margin: 0;}
#mainMenu nav > ul > li > a {
    font-size: 18px;
    position: relative;
    font-weight: 400;
    display: inline-block;
    text-transform: inherit;
    padding: 0 80px;
    color: #ffffff;    text-shadow: 0 1px 3px rgb(0 0 0);
}
#mainMenu nav > ul > li > a::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 11px;
/*    background-color: #c1b7b7;*/
left: 2px;
top: 0;
transform: rotate(24deg);
}
#mainMenu nav > ul > li.active > a{
    color: var(--primary-color);

}
.dropdown-menu{ font-size: 1em; }
#mainMenu nav > ul > li.dropdown > a:after{
    font-family: inspiro-icons !important;
    content: "\e92e";
    font-size: 12px;
}
#mainMenu nav > ul > li.dropdown > a >span{ padding-right: 20px; }
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li.dropdown:hover > a,
#mainMenu nav > ul > li .dropdown-menu > li:hover > a{ 
/*    color: #ddd;*/
}
#mainMenu nav > ul > li.hover-active > a, #mainMenu nav > ul > li.hover-active > span, #mainMenu nav > ul > li.current > a, #mainMenu nav > ul > li.current > span, #mainMenu nav > ul > li:hover > a, #mainMenu nav > ul > li:hover > span, #mainMenu nav > ul > li:focus > a, #mainMenu nav > ul > li:focus > span{
    color: var(--primary-color);
}
#mainMenu nav > ul > li .dropdown-menu{
    padding: 0;
    border: none;
    border-top: 2px solid var(--primary-color) !important;
}
#mainMenu nav > ul > li .dropdown-menu li{
    display: inline-block;
    line-height: 40px;
    width: 100%;
    float: left;
}
#mainMenu nav > ul > li .dropdown-menu li a{
    line-height: 40px;
    display: inline-block;
    width: 100%;
}
#mainMenu nav > ul > li .dropdown-menu li a{ padding:0 20px; }
#mainMenu nav > ul > li .dropdown-menu li a:hover{ 
    background: var(--secondary-color);
    color:#fff !important; 
    font-size: 1em;
    text-decoration: none;
}
#mainMenu nav > ul > li:hover >a,
#mainMenu nav > ul > li.active >a{ 
    color: var(--primary-color);text-shadow: unset;
}


#header .header-inner #logo a > img {
    /* margin-top: 0; */
    height: 70px;
    /* padding-bottom: 5px; */
    padding: 10px 0px;
}
#search .btn-search-close{ 
    background: var(--secondary-color);
    border-radius: 50%;
    top: 12px;
    right: 15px;
}
button.btn.btn-outline, .btn:not(.close):not(.mfp-close).btn-outline, a.btn:not([href]):not([tabindex]).btn-outline{
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.btn, button.btn, .btn:not(.close):not(.mfp-close), a.btn:not([href]):not([tabindex]){
    padding: 0 24px;
    letter-spacing: 0;
    line-height: 40px;
    height: 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: all .2s ease-in-out;
    background: #f1e9de;
    border-color: #fff;
    color: #0b390f ;
}
a.btn.contact-btn {
    background-color: #0b390f !important;
    color: #fff !important;
}
a.btn.contact-btn:hover {
    color: #0b390f !important;
    border-color: #0b390f !important;
}
.btn:hover, button.btn:hover, button.btn:focus, button.btn:not(:disabled):not(.disabled):active, button.btn:not(:disabled):not(.disabled).active, .btn:not(.close):not(.mfp-close):hover, .btn:not(.close):not(.mfp-close):focus, .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled):active, .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled).active, a.btn:not([href]):not([tabindex]):hover, a.btn:not([href]):not([tabindex]):focus, a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled):active, a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled).active, .btn-circle:hover {
    transform: scale(1.025);
    background-color: #00432400 !important;
    border-color: #ffffff;
    color: #fff ;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}
.youtube-slide {
    position: relative;
    overflow: hidden;
}
.contact-form button.btn.btn-primary.btn-block:hover {
    color: #000;
}
.contact-form button.btn.btn-primary.btn-block {
    color: #fff;
}
.youtube-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.youtube-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* คลิกผ่านเพื่อให้ slider ปรับได้ */
}
.inspiro-slider .slide {
    min-height: 0 !important;
    height: 100vh !important; /* เต็มจอพอดี */
}


.core-value-section {
    background: #0b390f;
    padding: 0px 10px;
}
.core-value-inner {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
    border-radius: 12px; /* มุมโค้งเหมือนตัวอย่าง */
    display: flex;
    align-items: center;
}

/* VIDEO BACKGROUND */
.fullscreen .container-fullscreen .text-middle {
    margin-top: 80px;
}
.core-bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.core-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay ไล่สีซ้ายให้ข้อความอ่านง่าย */
.core-bg-video .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.35) 35%,
        rgba(0,0,0,0) 70%
    );
}

.core-value-inner .container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    padding: 100px 20px;
    color: #fff;
}

.core-content {
    text-align: left;
}

.core-content .title {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #fff;
}

.core-content .desc {
    font-size: 20px;
    margin-bottom: 40px;color: #fff;
}

.core-list {
    list-style: none;
    padding: 0;
}

.core-list li {
    font-size: 20px;
    margin: 18px 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .core-value-section {
        padding: 15px;
    }

    .core-content .title {
        font-size: 32px;
    }

    .core-content .desc,
    .core-list li {
        font-size: 18px;
    }
}



/*=================================
    About Three Css
===================================*/
/* =========================
   IMAGE FLOAT ANIMATION (WIX STYLE)
   ========================= */

   .about-image-wrapper {
    perspective: 800px;
    display: inline-block;
}

.about-image {
    width: 180px;
    height: auto;
    object-fit: cover;
    transform-style: preserve-3d;
    transform-origin: top center; /* จุดหมุนด้านบนเหมือนแขวน */

    /* Start hidden + tilted */
    opacity: 0;
    transform: rotateZ(0deg) translateX(0%) translateY(-50%)
               perspective(800px) rotateX(40deg) rotateY(0deg)
               translateX(0%) translateY(60%);

    /* Float-in + swing animation (แกว่งซ้าย-ขวา) */
    animation:
    wixFloatIn 1.6s cubic-bezier(.22,1,.36,1) forwards, 
    swingAutoAbout 6s ease-in-out infinite 1.6s;
}


/* =========================
   FLOAT IN (เข้าแบบ Wix)
   ========================= */
@keyframes wixFloatIn {
    0% {
        opacity: 0;
        transform: rotateZ(0deg) translateX(0%) translateY(-50%)
                   perspective(800px) rotateX(-25.1862deg) rotateY(0deg)
                   translateX(0%) translateY(50%) scale(0.9);
    }
    60% {
        opacity: 1;
        /* Overshoot: lift a bit higher and rotate slightly more before settling */
        transform: rotateZ(0deg) translateX(0%) translateY(-50%)
                   perspective(800px) rotateX(32deg) rotateY(1deg)
                   translateX(0%) translateY(40%) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: rotateZ(0deg) translateX(0%) translateY(-50%)
                   perspective(800px) rotateX(29.7104deg) rotateY(0deg)
                   translateX(0%) translateY(50%) scale(1);
    }
}


/* =========================
   FLOAT LOOP (ลอยต่อเนื่อง)
   ========================= */
@keyframes floatLoop {
    0%, 100% {
        transform: rotateZ(0deg) translateX(0%) translateY(-50%)
                   perspective(800px) rotateX(29.7104deg) rotateY(0deg)
                   translateX(0%) translateY(50%);
    }
    50% {
        /* Softer, less \"rigid\" float movement */
        transform: rotateZ(0deg) translateX(0%) translateY(-50%)
                   perspective(800px) rotateX(30deg) rotateY(1deg)
                   translateX(0%) translateY(47%);
    }
}


.about-section {
    padding: 10px 10px;
    background-image: linear-gradient(to bottom, #d1decc, #f1e9de);
}
  .about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .about-card {
    background: url(../images/bg-ab-left.jpg) no-repeat center center;
    background-size: cover; 
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
  }

  .about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bg-ab-left.jpg) no-repeat center center;
    background-size: cover;
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
    z-index: 0;
    border-radius: 12px;
  }

  .about-card > * {
    position: relative;
    z-index: 1;
  }

  /* Premium Look เมื่อ scroll ถึง section */
  .about-section.in-viewport .about-card::before {
    transform: scale(1.15);
  }
  .about-card-inner {
    width: 100%;
    margin-top: 400px;
}


.product-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}
.product-title h3 {
    font-size: 36px;
}
.contact-link {
    color: #07613b;
    text-decoration: underline;
    font-weight: 500;
}

.contact-link:hover {
    color: #065c2f;
}

.product-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.section-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0 20px 0;
}

.product-section p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.product-list {
    list-style: none;
    padding-left: 0;
}

.product-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.product-list li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #07613b;
    font-weight: bold;
}

.catalog-list {
    list-style: none;
    padding-left: 0;
}

.catalog-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.catalog-list li:last-child {
    border-bottom: none;
}

.catalog-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.catalog-list a:hover {
    color: #07613b;
}

.catalog-list a i {
    color: #999;
    font-size: 12px;
}

.product-image-slider {
    position: sticky;
    top: 100px;
}

.product-image-slider img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-image-slider .carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.product-image-slider .carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    display: inline-block;
    cursor: pointer;
}

.product-image-slider .carousel .owl-dot.active {
    background: #07613b;
}

/* gradient-green */



/* Zoom functionality for product images */
.product-image-slider .zoomable-image {
    cursor: zoom-in;
    transition: transform 0.2s ease, opacity 0.2s ease;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.product-image-slider .zoomable-image:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Ensure carousel slides don't block clicks */
.product-image-slider .carousel .slide {
    cursor: default;
}

.product-image-slider .carousel .slide img.zoomable-image {
    pointer-events: auto;
    cursor: zoom-in;
}

/* Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeInZoom 0.3s ease;
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.zoom-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    cursor: zoom-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.zoom-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

@media (max-width: 767.98px) {
    .zoom-close {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }
    
    .zoom-modal-content {
        max-width: 95%;
        max-height: 85%;
    }
}




.allproducts-section {
    padding: 0px 10px 10px 10px;
    background: #0b390f;
}
  .allproducts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .allproducts-card {
    border-radius: 12px;
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
  .allproducts-card-inner {
    width: 100%;
}


.color_42 {
    color: #e4c58a;
}
.about-section-sec-section {
    padding: 40px;
    background: #0b390f;
  }
  .about-section-sec-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .about-section-sec-card {
    overflow: hidden;
    border-radius: 12px;
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 700px;
}
.about-1 h2 {
    margin-bottom: 27%;
}
.about-section-sec-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease; /* กำหนดเวลาและความนุ่มนวล */
  }
  .about-section-sec-card img:hover {
    transform: scale(1.1); /* ขยาย 10% ตอน hover */
  }
  .about-section-sec-card-inner {
    width: 100%;
}
.about-section-sec-image img {
    width: 125%;
}
.about-section-sec {
    background: #0b390f; 
    padding: 10px 10px 0px 10px;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    gap: 120px;
    text-align: left;
}
.about-section-sec h1 {color: #fff;padding: 20px 0px;}
.about-section-sec-box h2{color:#fff;    font-size: 50px;}
.about-section-sec-box p{color:#fff;}
.about-section-sec-card-right {
    width: 100%;
    height: 700px;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: unset;
    flex-direction: column;
    align-items: flex-start;
    background: radial-gradient(circle at 91.8% 91.6%, #E0410D 0%, rgba(224, 65, 13, 0) 51%), radial-gradient(circle at 6.5% 88%, rgba(243, 151, 11, 0.99) 0%, rgba(243, 151, 11, 0) 50%), radial-gradient(circle at 3.48% 10.44%, #E0410D 0%, rgba(224, 65, 13, 0) 70%), radial-gradient(circle at 95.38% 11.94%, #8B0000 0%, rgba(139, 0, 0, 0) 70%), radial-gradient(circle at 48.9% 49.5%, #0B3910 0%, rgba(11, 57, 16, 0) 100%);
}
  
  .about-section-sec .contact-box h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b3910; /* สีเขียวเข้ม */
    margin-bottom: 10px;
  }
  
  .about-section-sec .contact-box p {
    font-size: 16px;
    color: #0b3910;
    margin-bottom: 20px;
  }
  
  .about-section-sec .btn {
    display: inline-block;
    padding: 10px 40px;
    background: #0b3910;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .about-section-sec .btn:hover {
    background: #145c20;
  }


  



  .allcontact-section {
    padding: 10px;
    background: #0b390f;
}
  .allcontact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }
  .allcontact-card {
    overflow: hidden;
    border-radius: 12px;
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    min-height: 400px;
}
.allcontact-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease; /* กำหนดเวลาและความนุ่มนวล */
  }
  .allcontact-card img:hover {
    transform: scale(1.1); /* ขยาย 10% ตอน hover */
  }
  .allcontact-card-inner {
    width: 100%;
}
.allcontact-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.allcontact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.5);
    display: block;
}

/* Premium Look เมื่อ scroll ถึง section */
.allcontact-section.in-viewport .allcontact-image img {
    transform: scale(1.1);
}
.allcontact {
    /* background: #fdf6ec; */
    /* padding: 80px 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    text-align: center;
}
.allcontact-card-right {
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: unset;
    flex-direction: column;
    align-items: flex-start;
    background: #fdf6ec;
}
  
  .allcontact .contact-box h2 {
    font-size: 48px;
    font-weight: 400;
    color: #0b3910; /* สีเขียวเข้ม */
    margin-bottom: 10px;
  }
  .career-title {
    display: inline-block;
    transform-origin: top center; /* จุดหมุนด้านบนเหมือนแขวน */
    animation: swingAuto 3s ease-in-out infinite;
}

@keyframes swingAuto {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(4deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}

/* Swing animation for about-image (works with existing 3D transforms) */
@keyframes swingAutoAbout {
    0%   { transform: rotateZ(0deg) translateX(0%) translateY(-50%) perspective(800px) rotateX(29.7104deg) rotateY(0deg) translateX(0%) translateY(50%); }
    25%  { transform: rotateZ(4deg) translateX(0%) translateY(-50%) perspective(800px) rotateX(29.7104deg) rotateY(0deg) translateX(0%) translateY(50%); }
    50%  { transform: rotateZ(0deg) translateX(0%) translateY(-50%) perspective(800px) rotateX(29.7104deg) rotateY(0deg) translateX(0%) translateY(50%); }
    75%  { transform: rotateZ(-4deg) translateX(0%) translateY(-50%) perspective(800px) rotateX(29.7104deg) rotateY(0deg) translateX(0%) translateY(50%); }
    100% { transform: rotateZ(0deg) translateX(0%) translateY(-50%) perspective(800px) rotateX(29.7104deg) rotateY(0deg) translateX(0%) translateY(50%); }
}

  
  .allcontact .contact-box p {
    font-size: 16px;
    color: #0b3910;
    margin-bottom: 20px;
  }
  
  .allcontact .btn {
    display: inline-block;
    padding: 10px 40px;
    background: #0b3910;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .allcontact .btn:hover {
    background: #145c20;
  }

  .footer-left img {
    width: 25%;
}
.footer-left h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 0px;
}
.footer-center {
    margin-top: 60px;
}
.footer-right {
    margin-top: 60px;
}
.site-footer {
    background: #0b3910;
    padding: 40px 20px 20px 20px;
    font-family: Kanit, sans-serif;
    font-size: 14px;
    color: #fff;
}
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1;
  }
  
  .footer-left h3 {
    margin-bottom: 10px;
  }
  
  .footer-left p {
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.6;
  }
  
  .footer-center h4,
  .footer-right h4 {
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;    color: #fff;
  }
  
  .footer-center ul,
  .footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-center li,
  .footer-right li {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
  }
  
  .footer-right .social li a {
    text-decoration: none;
    color: #ffffff;
  }
  
  .footer-right .social li a:hover {
    color: #f08475;
  }
  
  .sitemap {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
  }
  
  .sitemap:hover {
    color: #f08475;
  }
  a.sitemap:hover {color: #f08475!important;}



.mainbrands {
    display: flex;
    justify-content: space-between; /* ดันซ้าย-ขวา */
    align-items: center;           /* จัดแนวตั้งกลาง */
    gap: 20px;                     /* ระยะห่าง */
    padding: 10px 0;
  }
  
  .mainbrands-title p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
  }
  
  .mainbrands-item {
    display: flex;
    gap: 16px; /* ระยะห่างระหว่างโลโก้ */
  }
  
  .mainbrands-item img {
    position: absolute;
    max-height: 125px;
    object-fit: contain;
    right: 0;
    top: 0;
}
  .subbrands {
    display: flex;
    justify-content: space-between; /* ดัน title ไปซ้าย, item ไปขวา */
    align-items: center;
    gap: 20px;
    padding: 10px 0;
  }
  
  .subbrands-title p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
  }
  
  .subbrands-item {
    display: flex;
    gap: 16px; /* ระยะห่างโลโก้ */
  }
  
  .subbrands-item img {
    max-height: 40px;
    object-fit: contain;
  }

  .about-card-right{
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: unset;
    flex-direction: column;
    align-items: flex-start;
    background: radial-gradient(circle at 91.79036458333333% 91.63411458333334%, #E0410D 0%, 25.5%, rgba(224, 65, 13, 0) 51%), radial-gradient(circle at 6.503906249999999% 88.037109375%, rgba(243, 151, 11, 0.99) 0%, 25%, rgba(243, 151, 11, 0) 50%), radial-gradient(circle at 3.4830729166666665% 10.439453125%, #E0410D 0%, 42%, rgba(224, 65, 13, 0) 70%), radial-gradient(circle at 95.3857421875% 11.943359375%, #8B0000 0%, 42%, rgba(139, 0, 0, 0) 70%), radial-gradient(circle at 48.9013671875% 49.521484375%, #0B3910 0%, 100%, rgba(11, 57, 16, 0) 100%);}
  .about-card-right p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 15px;
  }
  .allproducts-carousel {
    position: relative;
    left: -4.5%;
}

.products-highlight-section{
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: unset;
    flex-direction: column;
    align-items: flex-start;
    background: radial-gradient(circle at 91.79036458333333% 91.63411458333334%, #E0410D 0%, 25.5%, rgba(224, 65, 13, 0) 51%), radial-gradient(circle at 6.503906249999999% 88.037109375%, rgba(243, 151, 11, 0.99) 0%, 25%, rgba(243, 151, 11, 0) 50%), radial-gradient(circle at 3.4830729166666665% 10.439453125%, #E0410D 0%, 42%, rgba(224, 65, 13, 0) 70%), radial-gradient(circle at 95.3857421875% 11.943359375%, #8B0000 0%, 42%, rgba(139, 0, 0, 0) 70%), radial-gradient(circle at 48.9013671875% 49.521484375%, #0B3910 0%, 100%, rgba(11, 57, 16, 0) 100%);}



    .products-highlight-section h2 {
        font-size: 55px;
        margin: 16px 0;
        color: #ffffff;
    }
    .products-highlight-section p {
        font-size: 14px;
        color: #ffffff;
        line-height: 1.6;
        padding: 20px 0px;
    }
.allproducts-carousel .flickity-button{display: none !important;}

/* All product category list (two columns) */
.allproduct-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 6px;margin-bottom: 30px;
}

.allproduct-category-col {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 0;
}

.allproduct-category-col li {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .allproduct-category-grid {
        flex-direction: column;
        gap: 4px;
    }
}
  .about-card-right h2 {
    font-size: 24px;
    margin: 16px 0;
    color: #ffffff;
  }
  .about-card h2 {
    font-size: 20px;
    margin: 16px 0;
  }
  .about-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
  }
  .about-image {
    position: relative;
    top: -84px;
    left: 13%;
    width: 100%;
    height: 240px;
    /* background: #e5e5e5; */
    /* border-radius: 8px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 95px;
}
  .about-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .sub-text {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
  }
  .brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
  }
  .brand-logos img {
    max-height: 40px;
    object-fit: contain;
  }
  .btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
  }
  .btn:hover {
    background: #333;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .about-container {
      grid-template-columns: 1fr;
    }
  }


section.sect-about h2 {
    font-size: 30px;
}
.sect-products-category-title {
    padding-bottom: 80px;    z-index: 2;
}
.brands-shop {
    padding: 18px 0;
    background: #eee4da;
    color: #222;    height: 70vh;
}
.brands-inner { margin-top: 145px;display: inline-block; gap: 12px; grid-template-columns: 1fr; align-items: center; }
.brands-cta { margin: 0; }
.btn { display: inline-block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight:600; }
.btn-primary { background:#0b66d1; color:#fff; }
.brands-title { margin: 0 0 6px; font-size: 20px; }
.brands-sub { margin: 0; font-size: 13px; color: #444; line-height:1.4; }
.brands-logos { list-style: none; padding: 0; margin: 12px 0 0; display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.logo-item img { display:block; max-width:100%; height:auto; object-fit:contain; }
/* Responsive */
@media (min-width: 720px) {
    .brands-inner {
        /* grid-template-columns: 220px 1fr; */
        /* align-items: center; */
    }
}
.about-three {
    background-image: linear-gradient(to right, #7e1313, #d80404);
    position: relative;
    display: block;
    padding: 60px 0px 60px 0px;
    z-index: 1;
}
.about-three .container {
    max-width: 1320px;
    padding-left: 12px;
    padding-right: 12px;
}
.about-three__img {
    position: relative;
    display: block;
    padding-top: 30px;
    z-index: 1;
}
.about-three h2 {
    font-size: 59px;
    line-height: 1.1em;
    font-weight: bold;
    text-transform: capitalize;
    color: #da0000;
    margin-bottom: 0px;
}

.sub-title {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}
.sub-title h5 {
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    text-transform: uppercase;
}
.about-three__img .shape1 {
    position: absolute;
    top: 445px;
    right: -121%;
    z-index: -1;
    opacity: 0.2;
}

/*.about-three__img::before {
    position: absolute;
    top: -15px;
    left: -8%;
    bottom: 198px;
    width: 64%;
    background: #fff;
    border-radius: 0px;
    content: "";
    z-index: -1;
}
*/
.about-three__content:before {
    position: absolute;
    top: -13px;
    left: -22%;
    bottom: -21px;
    width: 165%;
    background: #fff;
    border-radius: 0px;
    content: "";
    z-index: -1;
}
.about-three__img1 {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
}

.about-three__img1 img {
    width: 100%;
    transition: .5s ease;
    transform: scale(1.0);
}

.about-three__img2 {
    position: absolute;
    top: 140px;
    right: 0;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
}

.about-three__img2 img {
    width: 100%;
    transition: .5s ease;
    transform: scale(1.0);
}

.about-three__img-icon-box {
    position: absolute;
    left: 42%;
    top: -69px;
    border-radius: 50%;
    z-index: 5;
}


.about-three__img-icon-box .round-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
svg {
color: #fff;
    border-radius: 100px;
    background-color: #ffffffab;
    position: relative;
    top: 98px;
    left: -19px;
    width: 12em;
    height: 12em;
    margin: auto;
    animation: 25s spin infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

textPath {
  font-size:9.5px;    fill:#b00808;
}

.rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
.detail-inner {
    padding: 0 10px;
}
.btn-viewmore {
    position: relative;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 2em;
    color: #fff !important;
    margin: 20px;
    transition: all .2s ease-in-out;
    box-shadow: 0 3px 8px rgba(51, 51, 51, 0.19);
    background: var(--primary-color);
    z-index: 3;
}
.btn-viewmore::before {
    position: absolute;
    content: "";
    left: -20px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    background: url(../images/viewmore.png) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
    -webkit-animation: spin 5s linear infinite;
    -moz-animation: spin 5s linear infinite;
    animation: spin 5s linear infinite;
}
.rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.about-three__img-icon-box .round-text .curved-circle-3 {
    color: var(--thm-black);
    font-size: 16px;
    font-weight: 600;
}

.about-three__img-icon-box .icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #011c39;
    border-radius: 50%;
}

.about-three__content {
    position: relative;
    display: block;
    margin-left: 50px;    margin-top: 85px;
}

.about-three__content .sec-title-style3 {
    padding-bottom: 25px;
}

.about-three__content-text {
    position: relative;
    display: block;
}
.about-three__content-text h3 {
    font-weight: bold;
    margin-bottom: 0px;
}
.about-three__content-text p {
    font-weight:normal;
    margin: 0; 
}

.about-three__content-list {
    position: relative;
    display: block;
    margin-top: 40px;
}

.about-three__content-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 42px;
}

.about-three__content-list li:last-child {
    margin-bottom: 0;
}

.about-three__content-list li .icon-box {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    z-index: 1;
}

.about-three__content-list li .icon-box::before {
    position: absolute;
    right: 0px;
    bottom: 0px;
    border-bottom: 60px solid #f3f3f3;
    border-left: 60px solid transparent;
    width: 60px;
    content: "";
}

.about-three__content-list li .icon-box span {
    position: relative;
    display: inline-block;
    color: var(--thm-black);
    font-size: 50px;
    line-height: 50px;
    transition: all 300ms linear;
    transition-delay: 0.1s;
}

.about-three__content-list li:hover .icon-box span {
    color: #000;
    transform: rotateY(180deg);
}

.about-three__content-list li .text-box {
    position: relative;
    display: block;
    flex: 1;
    margin-left: 25px;
}

.about-three__content-list li .text-box h3 {
    color: var(--thm-black);
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.about-three__content-list li .text-box p {
    font-weight: 500;
}

.about-three__content-bottom {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.about-three__content-bottom .btn-box {
    position: relative;
    display: block;
}

.about-three__content-bottom .btn-box .thm-btn::before {
    background: var(--thm-black);
}

.about-three__content-bottom .author-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 30px;
    flex: 1;
}

.about-three__content-bottom .author-box .img-box {
    position: relative;
    display: block;
    width: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.about-three__content-bottom .author-box .img-box img {
    width: 100%;
}

.about-three__content-bottom .author-box .text-box-ab {
    position: relative;
    display: block;
    margin-left: 15px;
}

.about-three__content-bottom .author-box .text-box-ab p {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;    margin-bottom: 0px;
}

.about-three__content-bottom .author-box .text-box-ab h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}

.about-three__content-bottom .author-box .text-box-ab h3 a {
    color:#000;
}

.about-three__content-bottom .author-box .text-box-ab h3 a:hover {
    color: #000;
}
.section-about-1 img {
    width: 100%;
}
.section-about-1 .row {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Recommend Product */

    .product-card {
    /* width: 220px; */
    /*background: #ffffff;*/
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bg-img {
    position: absolute;
    top: -25.4%;
    right: -2%;
}
    .product-image {
    /* background: #e5e5e5; */
    /* height: 180px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-image img {
    width: 100%; 
    /* height: 64px; */
    /* opacity: 0.4; */
}

    .product-content {
      padding: 16px;
    }

    .category {
      font-size: 12px;
      color: #999;
      margin-bottom: 4px;
    }

    .title {
      font-size: 14px;
      font-weight: 700;
      color: #0a0a0a;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .price-area {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

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

    .price {
      font-size: 14px;
      font-weight: 700;
      color: #0a0a0a;
    }
	.add-button a {
		color: #fff;
	}
    .add-button {
        width: 100%;
        /* height: 32px; */
        background: #0b3910;
        color: #fff;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        line-height: 32px;
    }
/* ซ่อนเมนูย่อยทั้งหมดก่อน */
.main-list,
.main-list ul.dropdown-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.main-list ul.dropdown-list {
  display: none; /* ซ่อน submenu */
  padding-left: 15px; /* เยื้อง submenu */
  border-left: 2px solid #ccc; /* เส้นแบ่งเล็กน้อย */
}

/* แสดง submenu เมื่อ parent มี class active */
.main-list li.dropdown.active > ul.dropdown-list {
  display: block;
}


.privacy-request-form-wrapper {
    padding: 0 275px;
}
.privacy-request-form-wrapper h5 {
    text-align: center;
}
.privacy-request-form-wrapper p {
    text-align: center;
}

/* รูปแบบลิงก์ */
.main-list a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.main-list a:hover {
  background-color: #eee;
}

/* แสดง pointer cursor ถ้ามี submenu */
.main-list li.dropdown > a::after {
  content: '▼';
  float: right;
  font-size: 0.7em;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* หมุนลูกศรเมื่อ active */
.main-list li.dropdown.active > a::after {
  transform: rotate(-180deg);
}
.filter-section {
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
  }

  .filter-header {
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }

  .filter-header .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
  }

  /* หมุนลูกศรเมื่อเปิด */
  .filter-header.active .arrow {
    transform: rotate(180deg);
  }

  .filter-content {
    margin-top: 10px;
  }

  .filter-content.active {
    display: block;
  }

  label {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
    cursor: pointer;
  }

  input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
  }

  .seperator, .separator {
    color: #ccc;
    width: 100%;
    margin: 10px auto;
    overflow: hidden;
    text-align: center;
    line-height: 1.2em;
}
.color-label {
    font-weight: bold;
    margin-bottom: 8px;
  }
  .color-options {
    display: flex;
    gap: 12px;
  }
  .color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
  }
  /* สีพื้นวงกลม */
  .gray { background-color: #bcc0cb; }
  .dark-gray { background-color: #4d5154; }
  .light-gray { background-color: #c4c9d6; }

  /* เส้นขอบสีดำสำหรับที่เลือก */
  .selected {
    border-color: #3a3d3f;
  }
  .product h6 {
    margin-top: 10px;
}
.promotion-sub-banner img {
    width: 100%;
}
/* news */
.sect-article{ 
    position: relative;
    background: #fff;
    padding-top: 200px;padding-bottom: 170px;
}
.sect-article p {
    color: #fff;
}
.sect-article h5 {
    color: #fff;    margin-bottom: 20px;
}
.sect-article .headbar .btn{position: relative ! Important;
    margin-top: 20px;
    left: 0%;}
.sect-article .headbar h2 {
    margin-bottom: 20px;
    font-size: 3.5em;
    /* background: -webkit-linear-gradient(45deg, #f573b9, #5961de 80%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}
/*.sect-article::before{
    position: absolute;
    content: "";
    width: 50%;
    height: 87%;
    right: 0;
    bottom: 0;
    border-radius: 40px 0 0 0;
    background-image: linear-gradient(to right, #f573b9, #5961de);
}*/
.sect-article .decor.left img {
    position: absolute;
    height: 100%;
    top: 0;
    left: -70px;
    display: none;
}
.sect-article .rgh{ padding-right:40px; }
.sect-article .headbar{ 
    padding-left: 170px; 
    padding-top:100px;
}
.sect-article .blog-item .detail-inner{ 
    padding:20px; 
    text-align: center;
}
.sect-article .blog-item .detail-inner p {
    color: #fff;
}
.sect-article .blog-item .detail-inner span {
    color: #000000;
    background-color: #fff;
    padding: 5px 20px;
    border-radius: 15px;
}
.sect-article .blog-item .detail-inner h4{
    font-size: 26px;
    line-height: 1.25;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    margin: 7px 0;
}
.blog-item:hover {
    transform: translate(0, -10px) !important;
}
.blog-item::before {
    position: absolute;
    width: 80%;
    height: 10px;
    top: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 50%;
    z-index: -1;
    content: "";
    box-shadow: 0 43px 14px rgba(51, 51, 51, 0.23);
    transition: all 0.4s ease-in-out;
    opacity: 0;
}
.blog-item:hover::before {
    opacity: 1;
}
.blog-item {
    position: relative;
}
.blog-item, .list-whyus li span {
    transition: all .3s ease-in-out;
}
.blog-item img{ width:100%; }
.blog-item .inner {
    /* box-shadow: 0 0 10px rgba(51, 51, 51, 0.19); */
    border-radius: 14px;
    margin: 10px 0;
    overflow: hidden;
    text-align: center;
    background: #da0000;
}
.blog-item{ position:relative; }
.blog-item.article .date{
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 20px;
    border: 1px solid #fff;
    color: #fff;
    padding: 1px 8px;
    font-size: 13px;
    -webkit-backdrop-filter: blur(5px);
}
.sys-products #sortSelectProduct {
    text-align: right;
    margin-top: 0 !important;
    top: 3px;
    position: absolute;
    right: 0px;
}
#mainMenu-trigger { float: left;
}
.icon-box {
    margin-bottom: 0px;
    position: relative;
}
.icon-box.border {
    background-image: linear-gradient(to right, #0b4e90, #0b4e90);
    border: 0 !important;
    padding: 50px 0px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgb(58 56 56 / 50%);
}
.icon-box.border .icon i {
    background-color: transparent !important;
    color: #ffffff;
}
.icon-box.border .icon {
    border: 3px solid #fff;
    text-align: center;
    border-radius: 50%;
    background-color: transparent;
}
.icon-box.center h3{color: #fff;}
.icon-box.center p{color: #fff;}
.icon-box .icon i:after{    box-shadow: 0 0 0 3px #fff;}
/* clip */
.sect-clips {
    padding-top: 0;
    position: relative;
    z-index: 3;
    overflow: initial;
    background: #ededed;
    background: linear-gradient(to top, rgb(255 255 255) 8%, rgba(255, 255, 255, 1));
}
.company-name{
	display: inline-flex;
	text-align: left;
	align-items: center;
	margin-bottom: 15px;
}
.company-name img{ height:120px; margin-right: 15px;}
.company-name p{ margin-bottom: 0;}
.company-name .name-th{ font-weight: 600; }
.company-name .name-en{ letter-spacing: 1px !important;}

.text-color{ color: var(--primary-color);}
.sect-clips .cleft .htitle {
	font-size: 20px;
	font-weight: normal;
	text-align: center;
}
.sect-clips .cleft .htitle span {
	display: block;
}
.sect-clips .list-icon-about{
	width: 80%;
	margin: auto;
	margin-bottom: 20px;
	display: inline-block;
}
.sect-clips .list-icon-about li{
	width: calc(100%/3);
	text-align: center;
	float: left;
	line-height: 1.5;
	position: relative;
}
.sect-clips .list-icon-about li img{
	display: block;
	margin: 10px auto;
	width: 64px;
}
.sect-clips .list-icon-about li:before{
	position: absolute;
	content: "";
	width: 1px;
	height: 60%;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	background: #ddd;
}
.sect-clips .list-icon-about li:last-child:before{
	display: none;
}

.sect-clips .cleft .htitle h4 {
	font-size: 2em;
}

.box-btn {
	position: absolute;
	top: 100px;
	bottom: 0;
	left: 0;
	right: 0;
	display: -webkit-flex;
}

.box-btn a.play-button {
	width: 60px;
	height: 60px;
	z-index: 3;
	margin: auto;
	text-align: center;
	background: #fff;
	color: #000 !important;
	border: none !important;
}

.box-btn a i {
	color: #0f6dc4 !important;
}

.box-btn a.play-button {
	width: 60px;
	height: 60px;
	z-index: 3;
	margin: auto;
	text-align: center;
	background: #fff;
	color: #000 !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.box-btn a i {
	color: #e02121 !important;
	font-size: 24px;
}

.pulse {
	position: absolute;
	width: 60px;
	height: 60px;
	border: 2px solid #fff;
	border-radius: 50%;
	animation: pulse-animation 1.5s infinite ease-out;
/* top: 50%; */
top: 30px;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}

.pulse:nth-child(2) {
	animation-delay: 0.5s;
}

.pulse:nth-child(3) {
	animation-delay: 1s;
}

@keyframes pulse-animation {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}

	100% {
		transform: translate(-50%, -50%) scale(2);
		opacity: 0;
	}
}

.frame-wrap {
	position: relative;
	padding-left: 20%;
}

.prebox-video {
	position: absolute;
	left: 0;
	top: 0px;
	width: 20%;
	height: 100%;
	align-content: center;
	background: var(--primary-color);

}
.prebox-video img {
	width: 100%;
}

.fg-landscape {
    margin: 0;
    overflow: hidden;
    position: relative;
    top: -560px;
    margin-bottom: -560px;
    z-index: -1;
    float: left;
    
}

/* products */
.sect-products {
    padding: 0px 0px 80px 0;
    /* background-image: linear-gradient(to right, #5ed11e, #006632); */
    /* background-image: url(../images/bg-pro-well.jpg); */
    background-size: cover;
}
.ab-service {
    background-image: url(../images/bg-ab.jpg);
    background-size: cover;
}
/* Masonry Grid */
.masonry-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
/* grid-gap: 20px; */
/* grid-auto-rows: 10px; */
}

.masonry-item {
	grid-row-end: span 30;
	max-height: 320px;
	padding: 10px;
}

/* First card - Large */
.masonry-item:nth-child(1) {
	grid-column: span 2;
	grid-row-end: span 30;
}

/* Second card - Small */
.masonry-item:nth-child(2) {
	grid-column: span 1;
	grid-row-end: span 30;
}

/* Third card - Small */
.masonry-item:nth-child(3) {
	grid-column: span 1;
	grid-row-end: span 30;
}

/* Fourth card - Large */
.masonry-item:nth-child(4) {
	grid-column: span 1;
	grid-row-end: span 30;
}

/* Fifth card - Small */
.masonry-item:nth-child(5) {
	grid-column: span 1;
	grid-row-end: span 30;
}

/* Sixth card - Small */
.masonry-item:nth-child(6) {
	grid-column: span 2;
	grid-row-end: span 30;
	/* max-height: none; */
}



/*job application modal*/
.career-heading {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.career-list {
    list-style: none;
    padding-left: 0;
}

.career-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.career-list li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #07613b;
    font-weight: bold;
    font-size: 20px;
}

.career-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.job-listings {
    margin-top: 40px;
}

.job-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.job-card.active {
    border: 2px solid #07613b;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.job-card-header:hover {
    background: #f9f9f9;
}

.job-card-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.job-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
}

.job-position {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.job-card-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-apply {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-apply:hover {
    background: #07613b;
}

.chevron-icon {
    color: #666;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.job-card-content {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px solid #eee;
    margin-top: 0;
}

.job-card-content.show {
    display: block;
}

.job-card-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 15px 0;
}

.job-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.job-card-content ul {
    list-style: none;
    padding-left: 0;
}

.job-card-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.job-card-content ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #07613b;
    font-weight: bold;
}

/* Job Application Modal */
.job-application-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.job-application-modal.active {
    display: flex;
}

.job-application-modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.job-application-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.job-application-modal-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.job-application-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.job-application-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.job-application-form .form-group {
    margin-bottom: 20px;
}

.job-application-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.job-application-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.job-application-form .form-control:focus {
    outline: none;
    border-color: #07613b;
}

.job-application-form select.form-control {
    cursor: pointer;
}

.job-application-form .file-upload-wrapper {
    position: relative;
}

.job-application-form .file-upload-label {
    display: block;
    padding: 12px 15px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.job-application-form .file-upload-label:hover {
    border-color: #07613b;
    background: #f0f0f0;
}

.job-application-form .file-upload-label input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.job-application-form .file-name {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.job-application-form .recaptcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.job-application-form .pdpa-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.job-application-form .pdpa-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.job-application-form .pdpa-checkbox label {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.job-application-form .pdpa-checkbox label a {
    color: #07613b;
    text-decoration: underline;
}

.job-application-form .pdpa-checkbox label a:hover {
    color: #054a2a;
}

.job-application-form .btn-submit {
    width: 100%;
    background: #333;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.job-application-form .btn-submit:hover {
    background: #07613b;
}

.job-application-form .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.job-application-form .error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .job-application-modal-content {
        padding: 20px;
        max-height: 95vh;
    }

    .job-application-modal-header h2 {
        font-size: 20px;
    }
}


/* Product Cards */

.brandsproducts .product-card {
    box-shadow: unset;
}
.brandsproducts .flickity-button:before {
    color: #000000;
}
.brandsproducts .flickity-button {
    background: #07613b00;box-shadow:unset;
}
.brandsproducts.carousel:hover .flickity-button.previous{left: -40px !important;}
.brandsproducts.carousel:hover .flickity-button.next{right: -40px !important;}
.product-card {
    border: none;
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow:unset;
    position: relative;
    cursor: pointer;
    height: 100%;
    text-align: center;
}
.product-card p {
    margin-bottom: 0;
    padding: 10px 5px;
}
.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card:hover .card-img-top {
    transform: scale(1.1);
}

.product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .btn-view {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .btn-view {
    transform: translateY(0);
}

.product-card .btn-view:hover {
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    transition: all 0.3s ease;
}

.product-card .card-title {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    opacity: 0;
}
.product-card:hover .card-title {
    opacity: 1;;
}

.sect-partners {
    padding: 80px 0;
    /* background: linear-gradient(rgba(9, 120, 194, 1), rgba(92, 205, 229, 0.77)), url(../images/world-map.png) no-repeat; */
    /* background: linear-gradient(rgb(255 255 255 / 77%), #ffffff), url(../images/world-map.png) no-repeat; */
    background-position: center -19%;
    background-size: 50%;
    position: relative;
}
.partner-logo img {
    padding: 10px 10px 0px 10px;
}

/* service */
.sect-service{ padding:0; }
.list-service li{ float:left; }
.service-item{
    position: relative;
    background: rgb(16,25,86);
    background: linear-gradient(0deg, rgba(16,25,86,1) 0%, rgba(54,68,153,1) 100%);
    padding: 40px 15px;
    border-radius: 20px;
    width: -webkit-max-content;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin: 0 15px;
    width: 280px;
    box-shadow: 0 15px 10px rgba(3, 1, 1, 0.6);
}
.service-item img{ margin-bottom:20px; }
.service-item h4, .service-item p{ color:#fff; }
.sect-service .cleft{
    align-items: center;
    display: -webkit-flex;
}
.service-item{ transition: all .3s ease-in-out !important; }
.service-item:hover{ transform:translate(0,-10px) !important; }

/* service 
.sect-service{
    position: relative;
    background: url(../images/bg-service.png) no-repeat;
    background-size: 100%;
    background-position: center;
    min-height: 807px;
    z-index: 1;
}
.sect-service .headbar{ 
    float:right; 
    position: absolute;
    left: 38%;
    right: 0;
    margin: auto;
    top: 43%;
}
.sect-service .headbar .btn{
    position: relative !Important;
    margin-top: 20px;
}
.sect-service .service-list-content{ 
    float:left;
    text-align: center;
    position: relative;
    left: -14%;
    max-width: 80%;
    top: 60px;
}
.sect-service .service-list-content [class*="slc-"]{
    width: 400px;
    max-width: initial;
}
.sect-service .service-list-content .slc-1{ margin: 0 auto; float: none; }
.sect-service .service-list-content .slc-2{ clear: left; }

*/

/* category */
.sect-product{ padding:60px 0;}
.sect-product .container {
    max-width: 90%;
} 
.clip-card{
    background: var(--secondary-color);
    padding: 10px;
    border-radius: 18px;
    border: none;
    overflow: hidden;
}
.clip-card .card-title h2{
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
.clip-card .card-title a.btn-circle{
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    background: #c90608;
    color: #fff;
    border-radius: 50%;
    text-align: center;
}
.card-title{
    padding: 5px 15px;
    margin: 0;
}
.clip-card .card-title a i{ color: inherit; } 
.clip-card .card-body{
    padding: 0;
    border-radius: 11px;
    overflow: hidden;
}
.card-body p {
    font-size: 14px;
}
.clip-card .card-body .desc{
    position: absolute;
    left: 0;
    bottom: 50px;
    padding: 20px;
    color: #fff;
    opacity: 0;
    background: #2a362c;
    transition: all .3s ease-in-out;
}
.clip-card:hover .card-body .desc{
    bottom: 55px;
    opacity: 1;
}
.clip-card:hover img,
.product-item:hover img{
    transition: all .4s ease-in-out;
    transform: scale(1.1);
}




/* product */
.sect-product {
    margin-top: 0px;
    background-image: linear-gradient(to right, #ededed, #ededed);
    margin-bottom: 0px;
}
.product-item{ 
    position:relative; 
    padding: 3px;
    border-radius: 18px;
    border: none;
    overflow: hidden;
/*    background: #eceef2;*/
background: var(--secondary-color);
}
.product-item .htitle{
    margin-bottom: 0;
    font-size: 20px;
    margin-bottom: 10px;
        height: 59px;
/*    color: var(--secondary-color);*/
}
.product-item .htitle a{ color:inherit; }
.product-item .desc{
    margin: 10px 0;
    font-size: 14px;    height: 63px;
}
.product-item .htitle strong{
    font-weight: normal;
    color: #000;
}
.product-item .card-detail{
    text-align: center;
    margin: 10px 0;
    display: inline-block;
    width: 100%;
    padding: 0 15px;
}
.product-item .card-img{
    border-radius: 15px;
    overflow: hidden;
}
.product-item .price{
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
}
.product-item del{
    font-size: 0.8em;
    vertical-align: middle;
    letter-spacing: 0;
    color: #7c7a7a;
}
.product-item .btn-circle{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    background: var(--primary-color);
}
.product-item:hover .btn-circle{ 
    opacity: 1;
}

.product-item .htitle,
.product-item .desc,
.product-item .price{
    color: #fff;
}
.decor.man {
    position: absolute;
    bottom: 145px;
    right: -3%;
}
.decor.man img {
    width: 80%;
}
.decor.woman {
    position: absolute;
    top: -135px;
    right: -6%;
    overflow: hidden;
}
.btn-circle{
    min-width: initial;
    width: 60px;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    font-size: 23px;
    transition: all .3s ease-in-out;
}
.hr{
    display: inline-block;
    width: 100%;
    height: 1px;
    background: #c9c9c9;
}

/* blog */
.sect-article{
        position: relative;
    background: url(../images/service/bg.png) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
}
.sect-article .box-area-content{
    position: relative;
    padding-right: 16%;
}
.decor.tree{
    position: absolute;
    right: -28%;
    top: 3%;
    z-index: -1;
}
.clip-card.blog-item .card-title h2{
    font-size: 18px;
}
.blog-item .date{
    font-size: 14px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.69);
}
.blog-item .htitle{ 
    font-size: 16px;
    margin: 20px 0;
}
.blog-item .card-detail{ 
    padding: 10px 15px; 
    display: inline-block;    
}
.clip-card.blog-item .desc{font-size: 14px; margin: 15px 0;}
.clip-card.blog-item .card-title h2 a,
.clip-card.blog-item .desc{
    color: #fff;
}

.sect-cta{ 
    background: var(--secondary-color); 
    overflow: initial;
    z-index: 2;
}
.box-cer{
    position: relative;
    height: 400px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;
}
.box-cer::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: rgb(25,51,100);
    background: linear-gradient(0deg, rgba(25,51,100,1) 0%, rgba(25,51,100,0.25253851540616246) 62%, rgba(5,5,5,0) 100%);
}
.box-cer:hover::before{
    opacity: 0.5;
}
.box-cer img{
    position: absolute;
    top: 0;
    border-radius: 20px;
    box-shadow: 0 0 28px rgba(43, 43, 43, 0.27);
    transition: all .3s ease-in-out;
}
.box-cer:hover{ 
    overflow: initial;
}
.box-cer:hover img{
    top: initial;
    bottom: 0;
}
.shadow-down{ position: relative; }
.shadow-down:after{
    position: absolute;
    width: 120%;
    height: 30px;
    bottom: 0;
    left: -10%;
    right: 0;
    margin: 0 auto;
    border-radius: 0;
    z-index: -1;
    content: "";
    box-shadow: -1.9921875px 16.010416984558105px 24px rgba(255, 255, 255, 0.88);
    top: initial;
    bottom: 0px;
}

.red-box{
    padding: 0 40px;
    position: relative;
    z-index: 2;
    border-radius: 0 60px;
}
.red-box h4, .red-box p{ color: var(--secondary-color); }
.red-box h4{
    font-size: 2em;
    line-height: 1;
    margin-bottom: 20px;
}
.sect-partner{
    padding-bottom: 40px;
    z-index: 2;
    overflow: initial;
    background: rgb(255,255,255);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 34%, rgba(233, 236, 242, 1));
}



/* all-product*/

.all-product .headbar .htitle, .htitle-dec {
    color: #000;
    line-height: 30px;
    display: inline-block;
    font-size: 2.5em;
}
ul.item-3-column > li{width: 25%;
    display: inline-block;
    float: left;
    padding: 1%;}

/* project */

/* blog */
.sect-project{
        position: relative;
    background: url(../images/project/bg-project.jpg) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
}
.sect-project .headbar {
    padding-left: 55px;
    padding-top: 7px;
}
.sect-project .rgh {
    padding-left: 40px;
    padding-right: 0px;
}
.sect-project .headbar .btn {
    position: relative ! Important;
    margin-top: 20px;
    left: 0%;
}
.sect-project .box-area-content{
    position: relative;
    padding-right: 16%;
}
.decor.tree{
    position: absolute;
    right: -28%;
    top: 3%;
    z-index: -1;
}
.clip-card.blog-item .card-title h2{
    font-size: 18px;
}
.blog-item .date{
    font-size: 14px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.69);
}
.blog-item .htitle{ 
    font-size: 16px;
    margin: 20px 0;    color: #fff;
}
.blog-item .card-detail{ 
    padding: 10px 15px; 
    display: inline-block;    
}
.clip-card.blog-item .desc{font-size: 14px; margin: 15px 0;}
.clip-card.blog-item .card-title h2 a,
.clip-card.blog-item .desc{
    color: #fff;
}

.sect-cta{ 
    background: var(--secondary-color); 
    overflow: initial;
    z-index: 2;
}
.box-cer{
    position: relative;
    height: 400px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;
}
.box-cer::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: rgb(25,51,100);
    background: linear-gradient(0deg, rgba(25,51,100,1) 0%, rgba(25,51,100,0.25253851540616246) 62%, rgba(5,5,5,0) 100%);
}
.box-cer:hover::before{
    opacity: 0.5;
}
.box-cer img{
    position: absolute;
    top: 0;
    border-radius: 20px;
    box-shadow: 0 0 28px rgba(43, 43, 43, 0.27);
    transition: all .3s ease-in-out;
}
.box-cer:hover{ 
    overflow: initial;
}
.box-cer:hover img{
    top: initial;
    bottom: 0;
}
.shadow-down{ position: relative; }
.shadow-down:after{
    position: absolute;
    width: 120%;
    height: 30px;
    bottom: 0;
    left: -10%;
    right: 0;
    margin: 0 auto;
    border-radius: 0;
    z-index: -1;
    content: "";
    box-shadow: -1.9921875px 16.010416984558105px 24px rgba(255, 255, 255, 0.88);
    top: initial;
    bottom: 0px;
}

.red-box{
    padding: 0 40px;
    position: relative;
    z-index: 2;
    border-radius: 0 60px;
}
.red-box h4, .red-box p{ color: var(--secondary-color); }
.red-box h4{
    font-size: 2em;
    line-height: 1;
    margin-bottom: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.g-video {
    background-image: linear-gradient(to right, #d80404, #7e1313);
}
/*Gallery*/
.sec-gallery {padding: 0px;}

.sec-gallery .gallery-group { padding: 0px; }
.sec-gallery .gallery-group ul li {
    /*padding: 0px;*/
}
.sec-gallery .gallery-group .gallery-item {}
.sec-gallery .gallery-item .gallery-inner {
    position: relative;
    overflow: hidden;
    transition: all ease .3s; 
}
.sec-gallery .gallery-item .gallery-inner img { width: 100%; transition: all ease .5s;}
.sec-gallery .gallery-item .gallery-inner:hover img { transform: scale(1.1);}
.sec-gallery .gallery-item .gallery-inner:before{
    position: absolute;
    content: ''; 
    width: 100%;
    height: 0%;
    left: 0px;
    bottom: 0px;
    background: #000;
    opacity: 0;
    transition: all ease .3s; 
    z-index: 1;
}
.sec-gallery .gallery-item .gallery-inner:hover:before{
    height: 100%;
    opacity: .7;
}
.sec-gallery .gallery-item .gallery-inner .gallery-detail {
    position: absolute; 
    text-align: center;
    padding: 15px 10px;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 30%;
    transition: all ease .3s; 
    opacity: 0;
}
.sec-gallery .gallery-item .gallery-inner:hover .gallery-detail {
    opacity: 1;
    z-index: 1;
}
.sec-gallery .gallery-item .gallery-detail h4{
    margin-bottom: 10px;
    color: #fff;
}
.sec-gallery .gallery-item .gallery-detail a.btn-gallery {
    opacity: 1;
    color: #fff;
    padding:2px 10px;
    border: 1px solid #fff;
    border-radius: 3px;
}
.sec-gallery .gallery-item .gallery-detail a.btn-gallery:hover {
    color: #536b5d;
    border: none;
}
/*footer*/
footer {
    padding-bottom: 0px;
}
#footer{
    background-color: #0b3910;
}
.footer-content {
    padding: 20px 0px;
}
 #footer a {
    color: #ffffff !important;
}
#footer a:hover {color: #05c901!important;}
#footer p {
    color: #fff;
}
.widget .widget-title, .widget > h4 {
    font-family:'Kanit', sans-serif;
    margin-bottom: 10px;
}
.fa-map-marker:before {
    content: "\f041" !important;
}
button.btn.btn-primary.btn-block {
    color: #fff;
}
#footer .f-contact i {
    margin:0px 3px;
    width: 18px;
}
#footer .footer-content {
    padding: 0px;
}
#footer .social-icons {
    margin-top:15px;
}
 #footer .social-icons a {color: #0b3910!important;}

 .social-icons {
    text-align: center; /* จัดกลางแนวนอน */
}

.social-icons ul {
    display: flex !important;         /* ใช้ flex บังคับ */
    justify-content: center !important; /* จัดกลางแนวนอน */
    align-items: center;              /* จัดกลางแนวตั้งถ้าสูงไม่เท่ากัน */
    gap: 10px;                         /* ระยะห่างไอคอน */
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-icons li {
    float: none !important; /* ยกเลิก float เดิม */
}

#footer .copyright-content {
    background-color: #68ce24;
    border-top: none;
    min-height: 40px;
    padding: 5px 0;
}
.copyright-text {
    font-size: 12px;
    color: #000;
    padding: 0px;
    font-weight: 300;
    letter-spacing: 0.8px;
    text-align: center;
    background-color: #68ce24;
}
#footer .footer-content img {
    width: 20%;
}
.useful-link ul li {
    display: inline-block;
}
.useful-link ul li a{padding-right: 10px;padding-left: 10px;}
.useful-link ul li:after {
    width: 1px;
    height: 12px;
    background: #e1e1e1;
    position: absolute;
    content: "";
    top: 10px;
}

#scrollTop{ bottom: 56px !important; }
#scrollTop:after, #scrollTop:before{
    background-color: var(--secondary-color);
}
#scrollTop i {
    /* background-color: #5fc729 !important; */
}
.html-product-image img {
    width: 100%;
    margin-bottom: 30px;
}
/* topbar */

#topbar {
    width: 100%;
    line-height: 40px;
    height: 40px;
    display: none;
    /* display: -webkit-flex; */
    color: #333;
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    background-image: linear-gradient(to right, #6fd631, #0b3910);
}
.topbar-dropdown .title {
    padding: 0px 10px;
    color: #fff !important;
}
.topbar-dropdown {
    color: #000;
    float: right;
    font-size: 13px;
    font-weight: 400;
    position: relative;
}
.topbar-left a{
    margin-right: 15px;
    font-size: 13px;
}
.topbar-content ul li{ display:inline-block; }
.top-language span{
    line-height: 40px;
    display: inline-block;
    float: left;
    margin-right: 10px;
}
.topbar-content .social-icons.light li a:not(:hover) .image-icon-social{ filter: brightness(0) invert(1); }
ul.topbar-list{display: inline-block;}
ul.topbar-list .list li a {
    color: #ffffff;
}
ul.topbar-list > li{
    margin-left: 0px;
    float: left;
    line-height: 40px;
    margin-right: 15px;
}
.topbar-content {
    color: #fff;
}
.topbar-content a {
    color: #fff;
}
.top-language{ float: left; }
.top-language ul{ margin: 0; float: left;}
.top-language ul li{ 
    margin-left: 5px; 
    line-height: 80px;
}
.top-language ul li span{ display: none; }
.top-language a{ 
 display: inline-block;
 border: 2px solid transparent;
 width: 26px;
 height: 26px;
 border-radius: 50%;
 top: 5px;
 position: relative;
 box-shadow: 0 0 5px rgba(51, 51, 51, 0.24);
}
.top-language ul li.active > a{
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.top-language img{
    height: 100%;
    float: left;
    padding: 2px;
}
.top-language a.active img{ padding:0; }
.top-language a.active{ 
    border: 2px solid var(--primary-color); 
    box-shadow: none;
}
#topbar .social-icons li a{
    color: #fff;width: 20px;
}
#topbar .social-icons li a:not(:hover) img{ opacity: 1; }
#topbar a:hover{ color:#000; }
.topbar-inner .row {
    /* display: unset; */
}
.tb-menu-topleft {
    float: left;
}




.fix-dec-bg{ position: relative; }
ul.inline{ display: inline-block; }
ul.inline li{ display: inline-block; float: left; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ letter-spacing: 0;line-height: 1.5;}
.flickity-button{
    background: var(--primary-color);
}

.shadow-down{ position: relative; }
.shadow-down:after{
 position: absolute;
 width: 95%;
 height: 100%;
 top: -20px;
 left: 0;
 right: 0;
 margin: 0 auto;
 border-radius: 50%;
 z-index: -1;
 content: "";
 box-shadow: 0 50px 24px rgba(0, 0, 0, 0.18);
 transition: opacity 0.4s ease;
 opacity: 0.25;
}

.htitle{ color:var(--primary-color); }
.htitle.text-bg-2{ font-size: 3em; }


#btn-shopping-cart .item-count{
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    position: relative;
    top: -10px;
    color: #fff;
    font-size: 12px;
}



/* LOGO  */
#topbar .container-fluid,
#header .container-fluid{ 
    padding-left: 100px; 
    padding-right: 100px;
}

em.line{
    position: relative;
    width: 120px;
    height: 2px;
    background-color: #e1e1e1;
    margin: 0 auto;
    display: inline-block;
}
em.line::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background: var(--primary-color);
    bottom: 0;
    margin: auto;
    display: inline-block;
    margin-top: -1px;
}
em.line.line-left::before{ right:initial; float:left; }
.text-gradient{
    -webkit-text-fill-color: transparent !important;
    -webkit-background-clip: text !important;
    background: radial-gradient(circle at left top, #4b72ff 9%, #2250fc 48%, #6442ff 91%);
}

.slogan{
    z-index: 3;
    position: absolute;
    display: inline-block;
    float: left;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    margin-top: 15px;
    margin-left: 15px;
    letter-spacing: 1px;
    color: #fff;
}
.slogan span{
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 20px;
}
.slogan small{
    display: block;
    line-height: 1;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 6px;
}

.font18{ font-size: 18px; }
.font20{ font-size: 20px; }
.font-600{ font-weight: 600; }
.w100{ width: 100%;transition: all .4s ease-in-out;}
.w50{ width: 50%; display: inline-block; float: left; }

a{color: #121212;}
a:not(.btn):not(.badge):hover, a:not(.btn):not(.badge):focus, a:not(.btn):not(.badge):active{ color: #27171F; }
a:not(.btn):hover, a:not(.btn):focus, a:not(.btn):active{ color: var(--primary-color);}
[class*="col-md-"]{ float: left; }
#mainMenu nav > ul > li .dropdown-menu > li.current > a, #mainMenu nav > ul > li .dropdown-menu > li.current > span, #mainMenu nav > ul > li .dropdown-menu > li:hover > a, #mainMenu nav > ul > li .dropdown-menu > li:hover > span, #mainMenu nav > ul > li .dropdown-menu > li:focus > a, #mainMenu nav > ul > li .dropdown-menu > li:focus > span, #mainMenu nav > ul > li .dropdown-menu > li:active > a, #mainMenu nav > ul > li .dropdown-menu > li:active > span, #mainMenu nav > ul > li .dropdown-menu > li.hover-active > a, #mainMenu nav > ul > li .dropdown-menu > li.hover-active > span{
    color: #0163a4;
}



.text-link{
    display: inline-block;
    line-height: 24px;
} 
.text-link i{
    display: inline-block;
    line-height: 24px;
    vertical-align: middle;
}

.link-custom{ 
    color: #59d0b4; 
    display: inline-block;
    line-height: 40px;
}
.link-custom span{
    display: inline-block;
    float: left;
    margin-right: 12px;
}
.right-circle{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fcc013;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    display: inline-block;    
}
.right-circle i{ transition: all .2s ease-in-out;}
a:hover > .right-circle i{ transform: translate(3px,0);}
.text-lg{ font-weight: 800;  font-size: 4.3em; }
.text-md{ font-weight: 800;  font-size: 3.3em; }
.limit1, .limit2, .limit3, .limit4, .limit5{
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.limit1{-webkit-line-clamp: 1;}
.limit2{-webkit-line-clamp: 2;}
.limit3{-webkit-line-clamp: 3;}
.limit4{-webkit-line-clamp: 4;}
.limit5{-webkit-line-clamp: 5;}
.inline{ display: inline-block; }
.hvr-expand{ -webkit-transition: all ease-out 0.2s; -moz-transition: all ease-out 0.2s; -o-transition: all ease-out 0.2s; transition: all ease-out 0.2s;}
.hvr-expand:hover{ transform: scale(1.025);}

.hvr-up{ -webkit-transition: all ease-out 0.2s; -moz-transition: all ease-out 0.2s; -o-transition: all ease-out 0.2s; transition: all ease-out 0.2s;}
.hvr-up:hover{ transform: translate(0,-10px); box-shadow: 0 26px 23px rgba(51, 51, 51, 0.12);}


.top-contact{
    border-left: 1px solid rgba(148, 146, 146, 0.59);
    display: inline-block;
    margin-left: 15px;
    padding-left: 15px;
    line-height: 1;
}
.header-extras > ul > li{ margin-left: 0px; }
.header-extras > ul > li .topbar-dropdown > .title{
    font-size: 16px;
    font-weight: 500;
}
li.extras-contact {
    top: 21px;
    padding: 0 0px;
    position: relative;
    width: 125px;
    text-align: center;
}

/* custom */
.cf-parallax {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
.cf-title {
    margin: 0 0 70px 0;
    font-size: 38px;
    color: #fff;
    font-weight: 400;
}
.cf-titles p {
    color: #fff;
}
.cf-cta .btn-right{
    border-radius: 50px;
    color: #fff;
    background: var(--primary-color);
    display: inline-block;
    height: -webkit-fit-content;
    line-height: 40px;
    padding: 0 10px 0 20px;
    transition: all .3s ease-in-out;
}

.sidebar-left {
    padding: 0px;
}

.brands-all-section {
    padding: 0px;
}

.sys-products .body .row {
    display: unset;
}
.sys-products .body .lists .lists-item .product-image-box .body-image .show_img.active {margin: 0 auto;}
.sys-products .body .lists.column-2 .lists-item .title a h2 {font-size: 20px;letter-spacing: 0px;}
.sys-products .body .lists .lists-item .mdate {display: none;}
.sys-products .body .lists .lists-item .viewed {display: none;}
.sys-contacts .top .body-top .page-header{display: none;}
.sys-contacts .body .title h2 {font-size: 20px;}
.sys-products .body .lists.column-3 .lists-item .title a h2 {
    font-size: 18px;
    height: 81px;
}
.clip-card .embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    height: 285px;
    overflow: hidden;
}
.clip-card .embed-responsive-16by9::before {
    padding-top: 0%;
}
.box-item .price {
    display: none;
}

.sys-products .body .lists .lists-item .product-image-box .body-image .show_img.active {
    margin: 0 auto;
    height: 216px;
}
.sys-page .body .title h2 {
    margin-left: 16px;
    font-size: 24px;
}
.sys-product h2 {font-size: 20px;
}

.sys-gallery .body .title h2 {
    font-size: 24px;
}
.sys-articles .body .lists .lists-item h2 {font-size: 20px;}
.sys-article .body .title h2 {font-size: 20px;}

/* SLIDER  */
#slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    z-index: 1;
    top: -80px;
    margin-bottom: -80px;
}
#slider::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    /* background: #000000; */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 0%) 63%, rgb(0 0 0 / 50%) 100%);
    opacity: 0.4;
    backdrop-filter: blur(9px);
}

#slider::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    z-index: 1;
    pointer-events: none;
    /* background: #fff; */
    /* background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.93) 19.33%, rgba(252, 252, 255, 0.4) 49.16%, rgba(248, 248, 248, 0.11) 75.21%, rgba(255, 255, 255, 0)); */
    z-index: 198;
}

.inspiro-slider .slide .slide-captions {
    width: 80%;
    text-align: center;
    margin: auto;
}

.inspiro-slider .slide .container,
.inspiro-slider .slide .container-wide {
    align-self: auto !important;
}

.inspiro-slider .slide .slide-captions {
    top: 160px;
}

.inspiro-slider .slide .slide-captions>p,
.inspiro-slider .slide .slide-captions h1 {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    color: #fff;
}

.inspiro-slider .slide .slide-captions h1 {
    font-weight: 500;
    font-size: 3em;
    letter-spacing: 0;
    line-height: 1.5;
}

.inspiro-slider .slide .slide-captions h1 span {
    font-family: "STIX Two Text", "Noto Sans Thai", sans-serif !important;
    display: block;
    font-size: 2em;
    margin-bottom: 10px;
    letter-spacing: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.42);
}

.inspiro-slider .slide .slide-captions>p {
    font-size: 1.7em;
    color: #fff;
    margin-bottom: 20px;
}

.engine_by_shopup_bottom {
    z-index: 3000;
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 10px;
}
.engine_by_shopup_bottom h1 { display: none;}
.engine_by_shopup_bottom h2 {display: none;}

.news-blog-sec {padding-bottom: 0px;
}
.latest-blog-3.blog-post{
    margin-bottom:30px;    background-color: rgb(255 255 255 / 80%);
}
.opacity-03 {
    opacity: 0.3;
}
.overlay-main {
position: absolute;
    left: 0;
    top: 65%;
    width: 100%;
    height: 35%;
    opacity: 0.5;
}
.bg-secondry {
    background-color: #1a1a1a;
}
.p-a30 {
    padding: 30px;
}
.text-white {
    color: #FFF;
}
.wt-post-text p:last-child {
    margin: 0;
}
.text-white p{ color: #FFF;}
.latest-blog-3.post-overlay .wt-post-info{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    display:table;  
}
.latest-blog-3.post-overlay{
    height:552px;
}
.latest-blog-3.post-overlay .wt-post-info .post-overlay-position{
    display:table-cell;
    vertical-align:bottom;
}
.latest-blog-3.post-overlay .wt-post-meta a{
    color:#fff;
}
.latest-blog-3.post-overlay .wt-post-meta i{
    color:#FF9800;
}
.latest-blog-3.post-overlay.date-style-3 .post-date{
    top:0px;
}
.latest-blog-3.post-overlay.date-style-3 .wt-post-meta .post-date i{
    color:#fff;
}
.latest-blog-3.blog-md .wt-post-media {
    width:230px;
    float:left;
    margin-right:30px;
}
.latest-blog-3.blog-md .wt-post-info {
    border:none;
}
.latest-blog-3.blog-md .wt-post-tags {
    border:none;
    display:inline-block;
    padding:0;
}
.latest-blog-3.blog-md .wt-post-meta i{
    color:#FF9800;
}
.latest-blog-3.blog-md.date-style-3 .post-date{
    bottom:-10px;
    top:auto;
}
.latest-blog-3.blog-md.date-style-3 .wt-post-meta .post-date i{
    color:#fff;
}
.wt-img-effect img {
    display: block;
    margin: 0;
    width: 100%;
    height: auto;
    box-shadow: 0 0 0 rgb(0 0 0 / 0%);
    -webkit-box-shadow: 0 0 0 rgb(0 0 0 / 0%);
    -moz-box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.25s;
    -moz-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
}
.wt-img-effect.zoom-slow img {
    transition: all 10s;
    -moz-transition: all 10s;
    -webkit-transition: all 10s;
    -o-transition: all 10s;
}
.wt-img-effect.zoom-slow:hover img {
    -moz-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}
.blog-post {
    position: relative;
    margin-bottom: 40px;
}
.wt-img-effect {
    position: relative;
    overflow: hidden;
    display: block;
}
.news-blog-sec:before {
    position: absolute;
    left: 0px;
    top: 0px;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
}
.section-content .row {
    display: unset;
}
.wt-post-info.p-a30.p-b20.text-white {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: table;
}
.post-overlay-position {
    display: table-cell;
    vertical-align: bottom;
}
.bg-secondry {
    background-color: #1a1a1a;
}

.overlay-main {
    position: absolute;
    left: 0;
    top: 65%;
    width: 100%;
    height: 35%;
    opacity: 0.5;
}
@media screen and (min-width: 1690px) and (max-width: 2056px) {
.allcontact {
    margin-top: 100px;}

}
@media only screen and (max-width:991px) {
.latest-blog-3.post-overlay{
    height:360px;
}
}
@media only screen and (max-width:640px) {
.latest-blog-3.blog-md .wt-post-media {
    width:100%;
}
}


/* Privacy Policy Page */
.privacy-policy-content h4 {
	font-size: 1.5em;
	font-weight: 600;
	color: var(--primary-color);
	margin-top: 30px;
	margin-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 10px;
}

.privacy-policy-content p {
	line-height: 1.8;
	margin-bottom: 15px;
}

.privacy-policy-content ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 15px;
}

.privacy-policy-content ul li {
	margin-bottom: 10px;
}

.privacy-policy-content address {
	font-style: normal;
	line-height: 1.8;
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-top: 20px;
}

/* PDPA Banner */
.pdpa-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(26, 27, 75, 0.95);
	color: #fff;
	padding: 20px;
	z-index: 1100;
	display: none;
	backdrop-filter: blur(5px);
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.pdpa-banner.show {
	display: block;
}
.pdpa-content p a:hover {
    color: #f08475 !important;
}
.pdpa-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 55%;
	margin: 0 auto;
	gap: 20px;
}

.pdpa-content p {
	margin: 0;
	font-size: 0.95em;
	color: #fff;
}

.pdpa-content p a {
	color: var(--secondary-color);
	text-decoration: underline;
}

.pdpa-content p a:hover {
	color: #fff;
}

#pdpa-accept-btn {
	flex-shrink: 0;
	background: var(--secondary-color);
	color: #fff;
}

#pdpa-accept-btn:hover {
	background: #7ca535;
}

.pdpa-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

#pdpa-settings-btn {
	background: transparent;
	border: 1px solid #fff;
	color: #fff!important;
}

#pdpa-settings-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* Cookie Settings Button (Fixed Side) */
.cookie-settings-footer button#cookie-settings-save {
    color: #fff;
}
.cookie-settings-footer button#cookie-settings-save:hover {
    color: #0b3910;
}
.cookie-settings-footer .btn:not(.btn-primary):hover {
    background: #e0e0e0;
    color: #0b3910;
}
.cookie-settings-btn {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
	transform-origin: center;
	background-color: rgba(26, 27, 75, 0.95);
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	z-index: 1099;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
}

.cookie-settings-btn:hover {
	background-color: rgba(26, 27, 75, 1);
	padding-right: 25px;
}

.cookie-settings-btn i {
	font-size: 16px;
}

.cookie-settings-btn span {
	display: inline-block;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1200;
	overflow-y: auto;
	backdrop-filter: blur(5px);
}

.cookie-settings-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.cookie-settings-content {
	background: #fff;
	border-radius: 12px;
	max-width: 800px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	position: relative;
}

.cookie-settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	border-bottom: 1px solid #e0e0e0;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 10;
}

.cookie-settings-header h2 {
	margin: 0;
	font-size: 24px;
	color: #1a1b4b;
}

.cookie-settings-close {
	background: none;
	border: none;
	font-size: 32px;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.cookie-settings-close:hover {
	background: #f0f0f0;
	color: #333;
}

.cookie-settings-body {
	padding: 30px;
}

.cookie-settings-body > p {
	margin-bottom: 25px;
	color: #666;
	line-height: 1.6;
}

.cookie-category {
	margin-bottom: 25px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.cookie-category-header {
	padding: 20px;
	background: #f9f9f9;
}

.cookie-toggle-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.cookie-toggle {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
	flex-shrink: 0;
}

.cookie-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 26px;
}

.cookie-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
	background-color: var(--secondary-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
	transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-slider {
	background-color: #4CAF50;
	cursor: not-allowed;
}

.cookie-info {
	flex: 1;
}

.cookie-info h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
	color: #1a1b4b;
}

.cookie-info p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.cookie-category-detail {
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

.cookie-settings-footer {
	padding: 20px 30px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	position: sticky;
	bottom: 0;
	background: #fff;
}

.cookie-settings-footer .btn {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.cookie-settings-footer .btn-primary {
	background: var(--secondary-color);
	color: #fff;
}

.cookie-settings-footer .btn-primary:hover {
	background: #7ca535;
}

.cookie-settings-footer .btn:not(.btn-primary) {
	background: #f0f0f0;
	color: #333;
}

.cookie-settings-footer .btn:not(.btn-primary):hover {
	background: #e0e0e0;
}

@media (max-width: 768px) {
	.cookie-settings-btn {
		padding: 10px 15px;
		font-size: 12px;
	}
	
	.cookie-settings-btn span {
		display: none;
	}
	
	.cookie-settings-content {
		max-width: 95%;
		margin: 10px;
	}
	
	.cookie-settings-header,
	.cookie-settings-body,
	.cookie-settings-footer {
		padding: 15px 20px;
	}
	
	.pdpa-content {
		flex-direction: column;
		max-width: 100%;
		gap: 15px;
	}
	
	.pdpa-buttons {
		width: 100%;
		flex-direction: column;
	}
	
	.pdpa-buttons .btn {
		width: 100%;
	}
}

.subpage{padding: 0;}
.sys-products > .container-fluid > span {float: unset;}
.content {
    padding-right: 0px;
    margin-bottom: 26px;
}
.mdate{display: none;}
.viewed{display: none;}
.sys-articles .body .lists .lists-item .border {margin-bottom: 30px;}
.sys-clips .body .lists .lists-item h2 {font-size: 20px;}

@media(max-width: 1512px){
    .slogan{ display:none; }
    .fix-img-about{ top:20%; }
    .fix-img-about img{width: 82%;}
    .sect-service .headbar{ left: 45%; }
    .decor.woman img{ width: 200px;}
    .decor.man img{ width:220px; }
    .sect-partner{ padding-top:40px; }
    .sect-cta h2{ font-size: 2em; }

}
@media(max-width: 1315px){
    body .body-inner{ zoom: 0.9; }
    .sect-service .service-list-content{
        left: 0;
        max-width: 60%;
        top: 60px;
    }
    .sect-service .service-list-content [class*="slc-"]{ width: 315px; }
}


@media(max-width: 480px){
#header .header-inner #logo a, #header .header-inner #logo a span, #header #header-wrap #logo a, #header #header-wrap #logo a span {
    position: absolute;
    left: 57px;
}
.topbar-content {
    height: 40px;
}
    .header-extras {
        float: right;
    }
#mainMenu-trigger {
    float: left;
    margin-left: 16px;
}
#topbar .container-fluid, #header .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}
.slide-captions {
    width: auto;
    max-width: 60%;
    float: left;
    text-align: center;
    top: -15px;
    position: relative;
}
.slide-captions h1 {
    font-size: 10px;
    line-height: 12px;
    margin-bottom: 0px!important;
}
.slide-captions h4 {
    font-size: 18px;
    padding-right: 0px;
    margin-bottom: 0px;
}
.sect-about {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    padding: 60px 0; /* เพิ่มระยะหายใจด้านบน-ล่าง */
  }
  
  .sect-about .container {
    max-width: 100% !important; /* ลบข้อจำกัด container เดิม */
    padding-left: 30px;  /* ปรับ padding ตามต้องการ */
    padding-right: 30px;
  }
.about-three {
    padding: 0px 0px 0px 0px;
    z-index: 1;
}
.about-three__content {
    position: relative;
    display: block;
    margin-left: 0px;
    margin-top: 85px;
}
.about-three h2 {
    font-size: 45px;
    line-height: 1em;
    margin-bottom: 0px;
}
.about-three__content .sec-title-style3 {
    padding-bottom: 10px;
}
.sect-product .container {
    max-width: 100%;
}
ul.item-3-column > li {
    width: 50%;
    display: inline-block;
    float: left;
    padding: 1%;
}
.product-item .desc {
    margin: 10px 0;
    font-size: 14px;
    height: unset;
}

/* Privacy Policy Page - Tab Style */
.custom-page-wrapper {
    padding: 0;
}
.tab-pane ul {
    padding-left: 22px;
}
.tabs.policy-tabs {
    padding: 0px 120px;
}
.policy-tabs {
    position: relative;
    margin-bottom: 30px;
}

.hamburguer-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(26, 27, 75, 0.9);
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

.hamburguer-btn.active {
    display: block;
}

.hamburguer {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburguer span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburguer-btn.active .hamburguer {
    display: none;
}

.close {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: center;
    position: relative;
}

.close span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.close span:first-child {
    transform: rotate(45deg);
}

.close span:last-child {
    transform: rotate(-45deg);
}

.hamburguer-btn.active .close {
    display: flex;
}

.policy-tabs .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.policy-tabs .nav-tabs .nav-item {
    margin-bottom: -2px;
}

.policy-tabs .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    padding: 15px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.policy-tabs .nav-tabs .nav-link:hover {
    border-bottom-color: #e0e0e0;
    color: var(--primary-color);
    background: #f9f9f9;
}

.policy-tabs .nav-tabs .nav-link.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}

.policy-tabs .tab-content {
    min-height: 400px;
}

.policy-tabs .tab-pane {
    display: none;
}

.policy-tabs .tab-pane.active {
    display: block;
}

.privacy-content {
    min-height: 500px;
}

.privacy-section {
    display: none;
}

.privacy-section.active {
    display: block;
}

.privacy-header {
    margin-bottom: 30px;
    text-align: center;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.company-name span {
    display: block;
    margin-top: 5px;
}

.privacy-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1b4b;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.privacy-intro {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #666;
}

.privacy-detail {
    line-height: 1.8;
    color: #666;
}

.privacy-detail h4,
.privacy-detail h3 {
    color: #1a1b4b;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-detail p {
    margin-bottom: 15px;
}

.privacy-detail ul,
.privacy-detail ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.privacy-detail li {
    margin-bottom: 10px;
}

/* Cookie Categories */
.cookie-categories {
    margin-top: 30px;
}

.cookie-category-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.cookie-category-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.cookie-category-header h3 {
    margin: 0;
    font-size: 20px;
    color: #1a1b4b;
    flex: 1;
}

.cookie-status {
    margin-left: 15px;
}

.cookie-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-badge.always-on {
    background: #4CAF50;
    color: #fff;
}

.cookie-badge.optional {
    background: #ff9800;
    color: #fff;
}

.cookie-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.cookie-detail {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    line-height: 1.8;
}

.cookie-detail p {
    margin-bottom: 10px;
}

/* Contact Info */
.contact-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .hamburguer-btn {
        display: block;
    }
    
    .policy-tabs .nav-tabs {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: left 0.3s ease;
        padding: 60px 20px 20px;
        flex-direction: column;
        border-bottom: none;
        border-right: 1px solid #e0e0e0;
    }
    
    .policy-tabs .nav-tabs.show {
        left: 0;
    }
    
    .policy-tabs .nav-tabs .nav-link {
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid transparent;
        padding: 15px;
        text-align: left;
    }
    
    .policy-tabs .nav-tabs .nav-link.active {
        border-bottom-color: #e0e0e0;
        border-left-color: var(--primary-color);
    }
}

@media (max-width: 768px) {
    .privacy-title {
        font-size: 24px;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .cookie-category-header {
        flex-direction: column;
    }
    
    .cookie-status {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .policy-tabs .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Privacy Request Form Styles */
.privacy-request-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-request-form-wrapper .form-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.privacy-request-form-wrapper .form-description {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
}

.privacy-request-form .form-group {
    margin-bottom: 25px;
}

.privacy-request-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.privacy-request-form .required {
    color: #e74c3c;
    margin-left: 3px;
}

.privacy-request-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.privacy-request-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.privacy-request-form .form-control.error {
    border-color: #e74c3c;
}

.privacy-request-form .file-hint {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.privacy-request-form .file-upload-wrapper {
    position: relative;
}

.privacy-request-form .file-upload-label {
    display: inline-block;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.privacy-request-form .file-upload-label:hover {
    background: #e9ecef;
    border-color: var(--primary-color, #007bff);
}

.privacy-request-form .file-upload-label input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.privacy-request-form .file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
}

.privacy-request-form .pdpa-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-request-form .pdpa-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.privacy-request-form .pdpa-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.6;
}

.privacy-request-form .pdpa-checkbox label a {
    color: var(--primary-color, #007bff);
    text-decoration: underline;
}

.privacy-request-form .pdpa-checkbox label a:hover {
    text-decoration: none;
}

.privacy-request-form .recaptcha-wrapper {
    margin: 20px 0;
}

.privacy-request-form .error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.privacy-request-form .error-message:not(:empty) {
    display: block;
}

.privacy-request-form .btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-color, #007bff);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.privacy-request-form .btn-submit:hover {
    background: var(--secondary-color, #0056b3);
}

.privacy-request-form .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .privacy-request-form-wrapper {
        padding: 20px 15px;
    }
    
    .privacy-request-form-wrapper .form-title {
        font-size: 20px;
    }
    
    .privacy-request-form .form-control {
        padding: 10px 12px;
    }
}









}