:root {
    --primary-color: #e3cb77;
    --secondary-color: #000;
    --tird-color: #000;

    --dark: #121214;
    --hover: #a09732;

    --blue: #3b3d80;
    --l-blue: #004f10;
    --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%;

}

body {
    overflow-x: hidden !important;
}

.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 .header-inner {
    background: #fff;
    box-shadow: 0 10px 15px rgb(0 0 0 / 30%);
}

.header-inner:before {
    position: absolute;
    content: "";
    width: 78%;
    height: 100%;
    right: -100px;
    top: 0;
    background: #000000;
    transform: skew(150deg);
}

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

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: 'Roboto', 'Noto Sans Thai', sans-serif;
    letter-spacing: 0;
}

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 {}

#page-title {
    clear: both;
    padding: 40px 0;
    background-color: #e4e4e4;
    position: relative;
}

.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 .text-muted {
    font-size: 10px;
}

.btn.btn-top-call {
    padding: 0 20px !important;
    margin-right: 20px;
}

.liextra-language {
    margin-top: 20px;
}

.tb-language {
    border-radius: 100px;
    border: 1px solid #d5cbba;
    padding: 3px;
    line-height: 30px;
    display: -webkit-flex;
    height: 40px;
    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 4px 0 0;
    color: #534d4d;
    font-size: 12px;
}

.tb-language>a {
    height: 31px;
    background-color: #ffffff;
    border-radius: 100px;
    line-height: 30px;
    display: inline-block;
    color: #5e5e5e;
    margin: 0 2px;
    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) {
    background: transparent;
    box-shadow: 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: 3px;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50%;
    background: #00b0ea;

    /*    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;
    text-align: center;
}

.sect-products .headbar .htitle {
    color: #000;
}

.sect-room .headbar .htitle {
    color: #000;
}

.sect-news .headbar .htitle {
    color: #000;
}

.headbar .htitle,
.htitle-dec {
    /*    background-color: var(--primary-color);*/
    color: #fff;
    line-height: 30px;
    display: inline-block;
    font-size: 2.5em;
}

/*h3.htitle:before {
    top: 18px;
    height: 3px;
    width: 75%;
    content: '';
    left: 20%;
    position: absolute;
    background-color: #ffffff;
}*/
#header.header-sticky .header-inner,
#header.header-sticky #header-wrap {
    transition: top .8s ease-in-out;
    top: -140px;
    background-image: linear-gradient(to right, #fff, #fff);
}

#header.header-sticky #mainMenu nav>ul>li>a {
    font-size: 18px;
    position: relative;
    font-weight: 400;
    display: inline-block;
    text-transform: inherit;
    padding: 0 15px;
    /* margin-left: 25px; */
    /*color: #000;*/
}

.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(--dark);
    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;
}



/*  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 25px;
    color: #f2da8b;
}

#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: #fff;
}


#header .header-inner #logo a>img {
    margin-top: 5px;
    height: 65px;
}

#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);
    background: var(--primary-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: var(--secondary-color);
    border-color: #fff;
}

.btn,
.btn i {
    color: #fff !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: #000 !important;
    border-color: var(--dark) !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.btn-nav-top span {
    font-size: 12px;
    padding: 0 15px;
}

.youtube-slide {
    position: relative;
    overflow: hidden;
}

.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;
    /* เต็มจอพอดี */
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
    justify-content: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 8px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding-right: 8px;
    color: #6c757d;
    font-weight: 400;

}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item a {
    color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-right: 10px;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);

    text-decoration: underline;
}

.breadcrumb-item.active a {
    pointer-events: none;
}

/* Breadcrumb Container */
.breadcrumb-container {
    margin: 20px 0;
}

.breadcrumb-container .container {
    padding: 0 15px;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 13px;
        padding: 12px 0;
    }

    .breadcrumb-item+.breadcrumb-item {
        padding-left: 6px;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        padding-right: 6px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }

    .breadcrumb-item+.breadcrumb-item {
        padding-left: 4px;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        padding-right: 4px;
    }
}

/* Scrap Price */
.sect-scrap-price {
    padding: 0px 0;
}

.table-box {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sect-buying-recycle {
    padding: 0;
}

.sect-buying-recycle .table-scroll {
    max-height: 675px;
    /* ปรับความสูงที่ต้องการ */
    overflow-y: auto;
    overflow-x: hidden;
}

.table-scroll {
    max-height: 306px;
    /* ปรับความสูงที่ต้องการ */
    overflow-y: auto;
    overflow-x: hidden;
}

.scrap-table {
    width: 100%;
    border-collapse: collapse;
}

.scrap-table th,
.scrap-table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: left;
}

.scrap-table th {
    background: #f7f7f7;
    position: sticky;
    top: 0;
    z-index: 2;
}

.sect-scrap-price .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.btn-back {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-back:hover {
    background: #e6c46b;
}

/* Right Image Box */
.image-box {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    background: #e7e7e7;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 22px;
}


/* Recommend Product */
.sect-product-grid {
    padding-bottom: 0px;
}

.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;
}

.product-card-carousel .product-card {
    overflow: hidden;
}

.bg-img {
    position: absolute;
    top: -25.4%;
    right: -2%;
}

.product-image {
    /* background: #e5e5e5; */
    /* height: 180px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-edit .product-image {
    /* background: #e5e5e5; */
    /* height: 180px; */
    display: unset;
    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 {
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 47px;
}

.product-card-carousel .description p {
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.5;
    max-height: calc(1.5em * 4);
}

/* ทำให้การ์ดสินค้าทั้งหมดมีความสูงเท่ากัน */
.product-card-carousel .product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    margin: 0;
}

/* ทำให้รูปภาพทุกการ์ดมีความสูงเท่ากัน */
.product-card-carousel .product-image {
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.product-card-carousel .product-image a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.product-card-carousel .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

/* ทำให้กล่องข้อความขยายเต็มพื้นที่ที่เหลือ */
.product-card-carousel .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.product-card-carousel .product-content .description {
    flex: 1 1 auto;
    min-height: 100px;
    display: block;
    overflow: hidden;
}

/* ถ้าไม่มี description ให้ใช้ min-height เพื่อให้การ์ดเท่ากัน */
.product-card-carousel .product-content .description:empty {
    min-height: 100px;
    display: block;
    flex: 1 1 100px;
}

.product-card-carousel .product-content .description p {
    min-height: calc(1.5em * 3);
    max-height: calc(1.5em * 3);
    margin: 0;
    padding: 0;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.5;
}

/* ถ้า p tag ว่างเปล่าหรือมีแค่ช่องว่าง ให้ใช้ min-height */
.product-card-carousel .product-content .description p:empty {
    min-height: 100px;
    display: block;
    line-height: 100px;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.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%;
    padding: 8px;
    /* height: 32px; */
    background: #000000;
    color: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

/* ซ่อนเมนูย่อยทั้งหมดก่อน */
.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;
}

/* รูปแบบลิงก์ */
.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: linear-gradient(-45deg, #8e8e8e, #b4b4b4, #c9c9c9, #a8a8a8);
    background-size: 400% 400%;
    animation: gradientAnimation 12s ease infinite;
    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;
}


.ab-service {
    background-image: url(../images/bg-ab.jpg);
    background-size: cover;
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 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 1;
    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 2;
    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 60;
    max-height: none;
}

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

/* Eighth card - Small */
.masonry-item:nth-child(8) {
    grid-column: span 1;
    grid-row-end: span 60;
    max-height: none;
}

/*buying recycle*/
.btn-pdf {
    text-align: right;
    margin-bottom: 0;
    margin-top: 30px;
}

/* Product Cards */
.product-content h4 {
    font-size: 18px;
}

.product-content .title a {
    font-size: 18px;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    /* height: 100%; */
}

.product-card-image img {
    width: 100%;
}

.product-content {
    padding: 10px;
}

.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;
}

/* ให้ทุก slide ของ gallery-thumbs แสดงรูปเต็ม */
.swiper.gallery-thumbs .swiper-slide {
    height: 120px;
    /* ปรับความสูงตามต้องการ */
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}

.swiper.gallery-thumbs .swiper-slide img {
    width: 100%;
    /* ขยายเต็มความกว้างของ slide */
    height: 100%;
    /* ขยายเต็มความสูงของ slide */
    object-fit: cover;
    /* ครอบคลุมเต็มพื้นที่ ไม่บิดสัดส่วน */
    display: block;
    /* ลบ space ใต้ img */
}

/* Active Thumbnail - แสดงกรอบเมื่อถูกเลือก */
.swiper.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(227, 31, 38, 0.4);
}

/* Hover effect สำหรับ thumbnail */
.swiper.gallery-thumbs .swiper-slide:hover {
    opacity: 1;
    transform: scale(1.02);
}

.project-gallery .swiper-slide a .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.project-gallery .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* สไตล์ icon-play ให้อยู่กลางภาพใหญ่ */
.project-gallery .swiper-slide a {
    position: relative;
    /* ให้ a เป็น reference */
}

/* Project Gallery - ให้แสดงปุ่มที่อยู่นอก container */
.project-gallery {
    position: relative;
    overflow: visible;
    padding: 0px;
}

/* Thumbnail Navigation Container */
.thumb-navigation {
    position: relative;
    width: 100%;
    height: 0;
    margin-top: -60px;
    /* วางทับบน thumbnail */
}

/* Thumbnail Navigation Buttons */
.gallery-thumbs {
    position: relative;
    overflow: visible;
}

.col-detail {
    position: relative;
}

.swiper-button-next-thumb,
.swiper-button-prev-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #f0f0f0;
}

.swiper-button-next-thumb:hover,
.swiper-button-prev-thumb:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(227, 31, 38, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-next-thumb::after {
    content: '→';
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.swiper-button-prev-thumb::after {
    content: '←';
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.swiper-button-prev-thumb {
    left: -17px;
}

.swiper-button-next-thumb {
    right: -17px;
}

.swiper-button-next-thumb.swiper-button-disabled,
.swiper-button-prev-thumb.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive - ซ่อนปุ่มบนหน้าจอเล็ก */
@media (max-width: 768px) {
    .thumb-navigation {
        margin-top: -50px;
    }

    .swiper-button-prev-thumb {
        left: 0px;
    }

    .swiper-button-next-thumb {
        right: 0px;
    }

    .swiper-button-next-thumb,
    .swiper-button-prev-thumb {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    #header .header-inner #logo a>img {
        margin-top: 15px;
        height: 50px;
    }

    .header-inner:before {
        position: absolute;
        content: "";
        width: 78%;
        height: 100%;
        right: -185px;
        top: 0;
        background: #000000;
        transform: skew(150deg);
    }

    .thumb-navigation {
        margin-top: -45px;
    }

    .swiper-button-prev-thumb {
        left: 0px;
    }

    .swiper-button-next-thumb {
        right: 0px;
    }

    .swiper-button-next-thumb,
    .swiper-button-prev-thumb {
        width: 25px;
        height: 25px;
    }

    .swiper-button-next-thumb::after,
    .swiper-button-prev-thumb::after {
        font-size: 14px;
    }
}

.logo-brand-product img {
    width: 30%;
}

.product-image-brand img {
    width: 100%;
}

.product-brand-info h2 {
    margin-bottom: 0px;
}

.sec-product-detail {
    padding-bottom: 0px;
}

.sect-product-detail {
    padding-top: 0px;
}

.partner-logo img {
    padding: 10px 10px 0px 10px;
}

.detail-reg-1 img {
    width: 100%;
}

/* ==== Toggle Style ==== */
.title-reg-1 {
    cursor: pointer;
    background: #f7f7f7;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    transition: background 0.3s ease;
}

.title-reg-1:hover {
    background: #e9ecef;
}

.title-reg-1 h2 {
    font-size: 18px;
    margin: 0;
}

.toggle-icon {
    font-size: 16px;
    transition: transform 0.4s ease-in-out;
    display: inline-block;
}

.toggle-content {
    display: none;
    padding: 10px 15px;
    background: #fff;
    border-left: 3px solid #007bff;
    border-radius: 6px;
    margin-bottom: 10px;
}

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

.reg-1 {
    padding-top: 0px;
    padding-bottom: 40px;
}

.otop {
    padding-top: 0px;
    padding-bottom: 40px;
}

.product-standards {
    padding-top: 0px;
    padding-bottom: 40px;
}

.contact-box {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.contact-info h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.map-wrapper iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

.about-page {
    background-color: #fff;
}

.about {
    /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
    /* background-color: #fff; */
}

.about .shape1 {
    /* border-radius: 0px 0px 240px; */
    position: absolute;
    top: 576px;
    right: 2%;
    /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
    background-color: #6e5602;
    width: 939px;
    height: 725px;
    /* border-radius: 50%; */
    z-index: -1;
    -webkit-animation: animation1 5s ease-in infinite;
    animation: animation1 5s ease-in infinite;
    transform: skew(331deg);
}

.set-bg img {
    width: 100%;
}

.section-icons {
    padding: 60px 0;
    background-color: #fff;
}

.icon-box {
    background: transparent;
    padding: 20px;
    transition: .3s;
    border: 1px solid;
}

.icon-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1d2b53;
    margin-top: 20px;
    margin-bottom: 12px;
}

.about-img-placeholder img {
    width: 100%;
}

.icon-box p {
    text-align: left;
    color: #5d6778;
    font-size: 15px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.icon-wrap {
    position: absolute;
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.05);
}

.icon-wrap img {
    width: 40px;
    height: auto;
}

.icon-box:hover {
    transform: translateY(-5px);
    background-color: #2b274a;
}

.icon-box:hover h4,
.icon-box:hover p {
    color: #fff;
}

/* Service Style 3 */
.about-style3-experience {
    position: absolute;
    top: 60px;
    left: -15px;
    bottom: 60px;
    width: 70px;
    text-align: center;
    background-color: #e3cb77;
    box-shadow: 0 8px 20px rgb(0 0 0 / 47%);
}

.about-style3-experience p {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(90deg) translateX(0%);
    transform-origin: 0 0;
    width: max-content;
    margin: 30px 52px;
}

.service-style3-area {
    background-color: #000;
}

.sec-title .sub-title h3 {
    color: #f2da8b;
}

.service-style3__top .container {
    max-width: 1200px;
}

.service-style3__top {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 44px;
}

.service-style3-area .container::before {
    position: absolute;
    top: -120px;
    left: 535px;
    bottom: -80px;
    right: -100000px;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);

    content: "";
    transform: skew(150deg);
    z-index: -1;
}

.service-style3__top .sec-title {
    position: relative;
    display: block;
    padding: 0;
}

.sec-title .sub-title {
    position: relative;
    display: block;
    line-height: 0;
    padding-bottom: 9px;
}

.service-style3__top .text {
    position: relative;
    top: 0px;
    display: block;
    max-width: 630px;
    width: 100%;
}

/* reCAPTCHA Placeholder Styles */
.recaptcha-placeholder {
    display: inline-block;
    width: 100%;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 12px 15px;
    max-width: 304px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.recaptcha-box:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recaptcha-checkbox {
    position: relative;
    margin-right: 15px;
}

.recaptcha-checkbox input[type="checkbox"] {
    appearance: none;
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.recaptcha-checkbox input[type="checkbox"]:hover {
    border-color: #999;
}

.recaptcha-checkbox input[type="checkbox"]:checked {
    background: #1a73e8;
    border-color: #1a73e8;
}

.recaptcha-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.recaptcha-text {
    flex: 1;
}

.recaptcha-text span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    user-select: none;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    padding-left: 10px;
}

.recaptcha-logo svg {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.recaptcha-box:hover .recaptcha-logo svg {
    opacity: 1;
}

.recaptcha-badge {
    font-size: 10px;
    color: #555;
    font-weight: 500;
    display: block;
    margin-bottom: 1px;
}

.recaptcha-logo small {
    font-size: 8px;
    color: #999;
    display: block;
}

.recaptcha-logo small::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat center;
    background-size: contain;
    margin-right: 3px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 576px) {
    .recaptcha-box {
        max-width: 100%;
        font-size: 13px;
    }

    .recaptcha-checkbox input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }
}


.contact-product {
    padding-top: 0px;
    padding-bottom: 60px;
}

.contact-line {
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0px;
    margin-bottom: 20px;
    background-color: #fff;
}

.btn-contact {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
}

.btn-contact i {
    margin-right: 6px;
}


.qr-section img {
    width: 180px;
    height: auto;
    border-radius: 10px;
}

.contact-product .row {
    display: unset;
}

.text-section {
    width: 100%;
    left: 80%;
    top: 0px;
    position: absolute;
    text-align: left;
}

.text-section h2 {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

.text-section p {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    margin-bottom: 0px;
}

.contact-detail-right img {
    width: 100%;
}

/* MEMBER */
.member-edit-section {
    padding: 40px 0;
}

.profile-image {
    position: relative;
    display: inline-block;
}

.profile-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    border: 3px solid #ccc;
    margin-bottom: 10px;
}

#uploadImage {
    display: block;
    margin: 10px auto;
}

.form-group label {
    font-weight: bold;
    margin-top: 10px;
}

.toggle-section {
    margin-bottom: 10px;
}

.title-reg-1 {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.title-reg-1:hover {
    background: #e9ecef;
}

.toggle-content {
    display: none;
    background: #fff;
    padding: 10px 15px;
    border-left: 3px solid #007bff;
    border-radius: 5px;
}

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

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotate {
    transform: rotate(90deg);
}

.detail-reg-1 img {
    width: 100%;
    border-radius: 8px;
}

.toggle-content {
    display: none;
    transition: all 0.3s ease;
}

.toggle-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.toggle-icon {
    transition: transform 0.3s;
}

.toggle-icon.rotate {
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image img {
    object-fit: cover;
    border-radius: 12px;
}



/* 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 {
    background: linear-gradient(-45deg, #6b6b6b, #b4b4b4 0%, var(--primary-color), #000, #012b8e);
}

.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;
}

.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;
    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;
}


/* room */

.sect-room {
    padding: 60px 0;
}

.sect-room .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;
}

.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);
}

.sect-room {
    margin-top: 0px;
    margin-bottom: 0px;
}

.room-item {
    position: relative;
    padding: 3px;
    border-radius: 18px;
    border: none;
    overflow: hidden;
    /*    background: #eceef2;*/
    background: var(--secondary-color);
}

.room-item .htitle {
    margin-bottom: 0;
    font-size: 20px;
    margin-bottom: 10px;
    height: 59px;
    /*    color: var(--secondary-color);*/
}

.room-item .htitle a {
    color: inherit;
}

.room-item .desc {
    margin: 10px 0;
    font-size: 14px;
    height: 63px;
}

.room-item .htitle strong {
    font-weight: normal;
    color: #000;
}

.room-item .card-detail {
    text-align: center;
    margin: 10px 0;
    display: inline-block;
    width: 100%;
    padding: 0 15px;
}

.room-item .card-img {
    border-radius: 15px;
    overflow: hidden;
}

.room-item .price {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
}

.room-item del {
    font-size: 0.8em;
    vertical-align: middle;
    letter-spacing: 0;
    color: #7c7a7a;
}

.room-item .btn-circle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    background: var(--primary-color);
}

.room-item:hover .btn-circle {
    opacity: 1;
}

.room-item .htitle,
.room-item .desc,
.room-item .price {
    color: #fff;
}

.room-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    height: 100%;
}

.room-content .title a {
    font-size: 18px;
}

.room-content {
    padding: 16px;
}

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

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

.room-card .room-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;
}

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

.room-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;
}

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

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

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

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

.room-card:hover .card-title {
    opacity: 1;
    ;
}



.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;
}


/* member */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 1.5rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s;
}

.btn-green {
    background: #86c44d;
}

.btn-green:hover {
    background: #74ad42;
}

.btn-danger {
    background: #96c93d;
}

.btn-danger:hover {
    background: #7fb32f;
}

.btn-dark {
    background: #596e79;
}

.btn-dark:hover {
    background: #eee;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: scale(1.1);
}

.page-btn {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 6px;
}

.page-btn.active {
    background: #e5e7eb;
    font-weight: bold;
}

.member-table {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: #eee;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
}

.member-table thead th {
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.member-table tbody tr {
    transition: background 0.2s ease, transform 0.1s ease;
}

.member-table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.action-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


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

.note-modal-content {
    margin: 195px auto;
    width: 600px;
}

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

/*Slidebar*/

li.nav-item {
    border-bottom: 1px solid;
}

/* 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: linear-gradient(-45deg, #d80404, #a30303, #7e1313, #b80808);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

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

/* article */
.sect-news .shape2 {
    /* border-radius: 0px 0px 240px; */
    position: absolute;
    top: 0px;
    left: -40%;
    /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
    background-color: #bea259;
    width: 939px;
    height: 45px;
    /* border-radius: 50%; */
    z-index: -1;
    -webkit-animation: animation1 5s ease-in infinite;
    animation: animation1 5s ease-in infinite;
    transform: skew(331deg);
}

.news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
    padding: 15px;
}

/* Ensure every news card inside the carousel has the same height */
.sect-news .news-slide .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sect-news .news-slide .news-image {
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    margin: -15px -15px 15px;
}

.sect-news .news-slide .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sect-news .news-slide .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sect-news .news-slide .news-content h4 {
    min-height: calc(1.4em * 2);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.sect-news .news-slide .news-content p {
    flex: 1;
    margin-bottom: 16px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.6;
    min-height: 77px;
}

.sect-news .news-slide .news-content .btn {
    margin-top: auto;
}

.sect-news .news-slide .news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--dark);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    z-index: 1;
}

.sect-news .news-slide .news-date .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.sect-news .news-slide .news-date .month,
.sect-news .news-slide .news-date .year {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
    line-height: 1.1;
}

.post-meta-date {
    position: absolute;
    top: 155px;
    left: 15px;
    background: var(--dark);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    font-size: 12px;
}

/* News Card Styles */
.news-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-item .news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-item .news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--dark);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.news-item .news-date .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.news-item .news-date .month {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

.news-item .news-content {
    padding: 15px;
    background: #fff;
}

.news-item .news-category {
    margin-bottom: 12px;
}

.news-item .category-tag {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item .news-title {
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item .news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.news-item .news-title a:hover {
    color: var(--primary-color);
}

.news-item .news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 67px;
}

.news-item .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
    color: #888;
}

.news-item .news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-item .news-meta i {
    font-size: 14px;
    color: var(--primary-color);
}

.btn-read-more {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
}

.btn-read-more:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* News Carousel Styles */
.news-slider {
    padding: 20px 0;
}

.news-slider .owl-item {
    padding: 0 10px;
}

/* Section Header Styles */
.sect-news .headbar {
    position: relative;
    margin-bottom: 50px;
}

.sect-news .h-title {
    font-size: 2.2em;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.btn-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-right:hover {
    color: var(--text-color);
    transform: translateY(-50%) translateX(5px);
}

.btn-right i {
    margin-left: 8px;
    color: var(--red);
    transition: transform 0.3s ease;
}

.btn-right:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for news */
@media (max-width: 768px) {
    .news-item {
        margin: 10px;
        min-height: 345px;
    }

    .news-item .news-image {
        height: 180px;
    }

    .news-item .news-content {
        padding: 15px;
    }

    .news-item .news-title {
        min-height: 25px;
    }

    .news-item .news-title a {
        font-size: 15px;
    }

    .news-item .news-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
        min-height: 43px;
    }

    .news-item .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-read-more {
        padding: 6px 16px;
        font-size: 13px;
        min-width: 100px;
    }

    .sect-news .h-title {
        font-size: 1.8em;
    }

    .btn-right {
        position: static;
        transform: none;
        margin-top: 15px;
        display: inline-block;
    }

    .btn-right:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 576px) {
    .news-item {
        min-height: 340px;
    }

    .news-item .news-image {
        height: 160px;
    }
}

.background-colored {
    background-color: var(--primary-color);
}

/* News Page Styles */
.sect-news-grid {
    padding: 60px 0;
    background: #fff;
}

.sect-news-grid .headbar {
    text-align: center;
    margin-bottom: 50px;
}

.sect-news-grid .h-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.sect-news-grid .desc {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* News Detail Page Styles */
.sect-news-detail {
    padding: 60px 0;
    background: #fff;
}

.modal-header .btn-close {
    float: right;
    margin-right: 0px;
    margin-top: -30px;
}

/* Privacy Policy Popup Styles */
.privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    /* เริ่มต้นซ่อนไว้ */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.privacy-popup-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.privacy-popup-header {
    padding: 25px 30px 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

#privacy-close-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: #000;
    position: absolute;
    top: 20px;
    right: 20px;
}

#privacy-close-btn i {
    color: inherit;
}

.privacy-popup-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.privacy-popup-header i {
    font-size: 28px;
    color: #fff;
}

.privacy-popup-body {
    padding: 30px;
    line-height: 1.6;
}

.privacy-popup-body p {
    margin-bottom: 15px;
    color: #333;
    font-size: 15px;
}

.privacy-popup-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-popup-body li {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.privacy-popup-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.privacy-popup-footer .btn {
    min-width: 120px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-popup-footer .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.privacy-popup-footer .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 31, 38, 0.3);
}

.privacy-popup-footer .btn:not(.btn-outline) {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.privacy-popup-footer .btn:not(.btn-outline):hover {
    background: #c21016;
    border-color: #c21016;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 31, 38, 0.3);
}

/* Article Styles */
.article-header {
    margin-bottom: 30px;
}

.article-meta {
    margin-top: 10px;
    margin-bottom: 20px;
}

.article-meta span {
    display: inline-block;
    margin: 0 15px 10px 0;
    color: #666;
    font-size: 14px;
}

.article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.article-featured-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.article-featured-image:hover img {
    transform: scale(1.02);
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 35px 0 20px 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 16px;
}

.article-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.article-quote p {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.article-quote cite {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Article Footer */
.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.article-tags {
    margin-bottom: 20px;
}

.tag-label {
    font-weight: 600;
    color: #666;
    margin-right: 15px;
}

.tag-item {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    margin: 0 5px 5px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.article-share {
    text-align: left;
}

.share-label {
    font-weight: 600;
    color: #666;
    margin-right: 15px;
}

.share-item {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.share-facebook {
    background: #3b5998;
}

.share-twitter {
    background: #1da1f2;
}

.share-linkedin {
    background: #0077b5;
}

.share-line {
    background: #00c300;
}

.share-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

/* contact */
/* Contact Section - Two Column Layout */
.contact-section {
    padding: 0;
    background-color: #fff;
}

.contact-section .container {
    max-width: 1200px;
}

.contact-section .container-fluid {
    padding: 0;
}

.contact-section .row {
    margin-bottom: 30px;
    ;
}

/* Top Row - LOCATION + SOCIAL and Map */
.contact-top-row {}

.contact-info-column {
    background-color: #ffffff;
    padding: 60px 50px;
}

.contact-map-column {
    background-color: #ffffff;
    padding: 0;
}

.contact-info-wrapper {
    width: 100%;
}

.contact-location h4,
.contact-social-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-location p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-details {
    color: #000 !important;
    font-weight: 500;
    font-size: 15px !important;
}

.contact-social-section {
    margin-top: 40px;
}

.contact-social-icons {
    display: flex;
    gap: 15px;
}

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

.contact-social-icons .social-icon:hover {
    background-color: #333;
    transform: scale(1.1);
}

/* Bottom Row - Contact Us Heading and Form */
.contact-bottom-row {
    margin: 0;
}

.contact-heading-column {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-heading {
    text-align: center;
}

.contact-heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-heading p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-form-column {
    background-color: #fff;
    padding: 60px 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-heading-column:before {
    content: "";
    position: absolute;
    inset: 0;
    left: -118%;
    top: 100px;
    height: 475px;
    width: 450%;
    background: linear-gradient(135deg, #f5f5f5, #c7c7c7);
    /* background: #f9f9f9; */
    z-index: -1;
}

.contact-location ul {
    padding-left: 0px;
}

.contact-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-form-wrapper {
    padding: 0;
}

.contact-form .form-control {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-bottom-color: #000;
    box-shadow: none;
    background: transparent;
}

.contact-form .form-control::placeholder {
    color: #999;
}

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

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-form .form-row .col-md-6 {
    flex: 1;
    padding: 0;
}

.contact-form textarea.form-control {
    resize: none;
    min-height: 120px;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.privacy-checkbox span {
    font-size: 14px;
    color: #666;
}

.contact-form .g-recaptcha {
    margin-bottom: 25px;
}

.btn-send {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-send:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {

    .contact-left-column,
    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-heading h2 {
        font-size: 32px;
    }

    .contact-map {
        height: 250px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.company-logo img {
    width: 50%;
}

.social-icons.social-icons-colored .social-line a,
.social-icons.social-icons-colored-hover .social-facebook a:hover {
    background-color: #00561a;
}

.social-icons.social-icons-rounded li a {
    border-radius: 50%;
    background-color: #000000 !important;
}

.particles canvas {
    height: unset !important;
}

/* footer */
#footer .footer-content {
    padding: 0px 0 40px;
}

.line-qr img {
    width: 49%;
}

.logo-footer img {
    width: 50%;
}

footer ul.list-contact li i {
    background: var(--secondary-color);
    color: #fff;
}

ul.list-contact li i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
}

.social-icons img {
    height: 16px;
}

.social-shopee a,
.social-shopee a:hover {
    background: #ee4d2d !important;
}

.social-shopee a img {
    filter: brightness(0) invert(1);
}

.list-contact li {
    line-height: 36px;
}

.ft-right-ab {
    margin-top: 20px;
    margin-bottom: 30px;
}

footer .ft-left {
    padding-left: 0;
}

#footer .logo-footer {
    height: 70px;
}

ul.social li {
    list-style: none;
}

.col-link-social {
    margin-top: 160px;
}

.social a i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    line-height: 30px;
    text-align: center;
    margin-right: 4px;
}

footer h4 {
    color: #fff;
}

footer a:hover {
    color: var(--dark) !important;
}

footer .link-box {
    position: relative;
    right: initial;
    bottom: initial;
    width: 100%;
    padding: 40px;
    height: 400px;
    margin-top: -300px;
}

footer .ft-right {
    padding-right: 0;
}

footer .ft-right .widget {
    display: inline-block;
    width: auto;
    float: left;
}

footer .ft-right .widget.info {
    width: 35%;
}

footer .ft-right .widget.links {
    width: 50%;
    padding-left: 30px;
}

footer .ft-right .widget.address {
    width: 36%;
}

.logo-f {
    text-align: center;
    margin-bottom: 15px;
}

footer {
    /* background: linear-gradient(to top, rgba(218, 218, 218, 1), rgb(233, 233, 233) 18.07%, rgb(255, 255, 255) 61.35%, rgba(255, 255, 255, 1)); */
    /* background: linear-gradient(-45deg, #b4b4b4, #8a8a8a, #4a4a4a, #000000); */
    background-image: url(../images/bg-footer.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-size: 400% 400%; */
    animation: gradientAnimation 20s ease infinite;
    /* background-image: url(../images/bg-f-well.jpg); */
    font-size: 14px;
    padding: 50px 0 0px 0;
    overflow: initial;
    z-index: 2;
    position: relative;
}

footer a:hover {
    color: #e9d186 !important;
}

.widget>h4 {
    font-weight: 500;
}

footer a,
footer p,
.list-icon.list-icon-arrow li:before {
    font-size: 14px;
    color: #fff !important;
}

footer .link-phone {
    font-size: 17px;
    padding-left: 10px;
    margin-bottom: 3px;
    display: inline-block;
}

footer .link-phone i {
    width: 26px;
}

footer .box-color {
    display: inline-block;
    background: var(--secondary-color);
    padding: 78px 30px 40px;
    color: #fff;
    position: absolute;
    bottom: 20px;
    right: 60px;
    line-height: 1.2;

    background: rgb(11, 38, 83);
    background: linear-gradient(to top, rgba(11, 38, 82, 1), rgba(255, 255, 255, 0.61));
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
}

footer .box-color img.icon-contact {
    width: 200px;
    margin-bottom: 20px;
}



.social-icons.social-title ul {
    display: inline-block;
    float: left;
}

.social-icons.social-title li {
    line-height: 32px;
    margin-bottom: 8px;
    display: -webkit-flex;
}

.social-icons.social-title li span {
    margin: 0 2px 0 10px;
    color: #493838;
    font-weight: 500;
    letter-spacing: 0px;
}

.social-icons.social-title li a {
    width: auto;
    padding-right: 20px;
    border-radius: 20px;
    background-color: #dfddc8;
}

.social-icons.social-title li a>i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    background: #fff;
    float: left;
    line-height: 32px !Important;
    color: #333;
}

.social-icons.social-title li.social-line a>i {
    background: #03c300;
}

.social-icons.social-title li.social-wechat a>i {
    background: #04cb0c;
    color: #fff;
}

.social-icons.social-title li.social-tiktok a>i {
    background: #000;
}

.social-icons.social-title li.social-facebook a>i {
    background: #227df5;
    color: #fff;
}

.social-icons.social-title li a:hover span {
    color: #fff;
}

.social-icons.social-title li.social-wechat a:hover {
    background-color: #04cb0c;
}

.social-icons.social-title li.social-tiktok a:hover i {
    opacity: 1;
}

.social-icons li.social-facebook a:hover {
    background-color: #227df5 !important;
    color: #fff;
}

.social-icons li.social-youtube a:hover {
    background-color: #ff0000 !important;
    color: #fff;
}

.social-icons li.social-line a:hover {
    background-color: #00c300 !important;
    color: #fff;
}

.social-icons li.social-x a {
    /*background-color:#000;*/
    color: #fff;
}

.social-icons li.social-x a:hover img,
.social-icons li.social-line a:hover img {
    filter: brightness(0) invert(1);
}

.social-icons li.social-tiktok a:hover {
    background-color: #000 !important;
    color: #fff;
}

.social-icons li.social-linkedin a:hover {
    background-color: #0b66c2 !important;
    color: #fff;
}

.social-icons.social-icons-colored .social-whatsapp a,
.social-icons.social-icons-colored-hover .social-whatsapp a:hover {
    background-color: #24d366 !important;
    color: #fff;
}

.social-icons.social-icons-colored-hover li a:not(:hover) .image-icon-social {
    filter: none;
}

.social-icons.social-icons-colored-hover li.social-x a:not(:hover),
.social-icons.social-icons-colored-hover li.social-tiktok a:not(:hover) {
    background: transparent;
    color: #000;
}

.social-icons.social-icons-colored-hover li a:not(:hover) .image-icon-social {
    filter: brightness(0) invert(1);
}

.social-icons.light li a:not(:hover) .image-icon-social {
    filter: brightness(0) invert(1);
}

.social-icons:not(.social-title) li.social-instagram a:hover {
    background-color: transparent;
    background: url('../images/social/instagram-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.social-icons:not(.social-title) li.social-tiktok a:hover {
    background-color: transparent;
    background: #000 url('../images/social/tiktok-bg.webp') no-repeat;
    background-size: 15px;
    background-position: center;
}

.social-icons li.social-tiktok a:hover i {
    opacity: 0;
}

.image-icon-social {
    height: 13px;
    top: -1px;
    position: relative;
    filter: brightness(0) invert(1);
}

footer .social-icons li.social-line a:hover .image-icon-social {
    filter: brightness(0) invert(1);
}

.social-x a:hover {
    color: #0766c2;
}

footer .social-icons li.social-instagram a:hover {
    color: #fff;
}

.social-icons li:hover img {
    -webkit-animation: toTopFromBottom 0.3s forwards;
    animation: toTopFromBottom 0.3s forwards;
}

.social-icons img {
    height: 16px;
}

.social-icons.social-icons-colored .social-gmail a,
.social-icons.social-icons-colored-hover .social-gmail a:hover {
    background-color: #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.34) inset;
}


.img-qrcode {
    width: 125px;
    border-radius: 4px;
    float: right;
}

.footer-bottom {
    padding: 10px 0 10px 0;
    /* margin: 19px; */
}

.ft-logo {
    float: left;
    height: 50px;
}

footer .ftb-2 {
    text-align: center;
}

footer .ftb-1 .inset {
    display: inline-block;
}

.footer-bottom .list-links li {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

.footer-bottom .list-links a {
    display: inline-block;
    margin: 0 2px;
    font-size: 12px;
    font-weight: 500;
}

.footer-content ul {
    padding-left: 0rem;
}

.col-links-right {
    text-align: right;
}

.copyright-text {
    display: inline-block;
    margin: 0;
    font-size: 12px;
}



#scrollTop {
    bottom: 56px !important;
}

#scrollTop:after,
#scrollTop:before {
    background-color: var(--secondary-color);
}

#scrollTop i {
    background-color: #000 !important;
    width: 40px !important;
    height: 40px !important;
}

/* topbar */

#topbar {
    width: 100%;
    line-height: 40px;
    height: 40px;
    display: -webkit-flex;
    color: #333;
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    background-image: linear-gradient(to right, #b4b4b4, #b4b4b4);
}

.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;
}

.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;
}

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




.pagination .page-item:not(.disabled).active>.page-link,
.pagination .page-item:not(.disabled):active>.page-link,
.pagination .page-item:not(.disabled):focus>.page-link,
.pagination .page-item:not(.disabled):hover>.page-link {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    box-shadow: none;
}

.fix-dec-bg {
    position: relative;
}

ul.inline {
    display: inline-block;
}

.footer-right h4 {
    margin-right: 112px;
    /* margin-left: 28px; */
}

.footer-content .social-icons {
    float: right;
}

ul.inline {
    padding-left: 0px;
    display: inline-block;
}

ul.inline li {
    display: inline-block;
    float: left;
    color: #fff;
}

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: 12px;
}

.header-extras>ul>li .topbar-dropdown>.title {
    font-size: 16px;
    font-weight: 500;
}


/* custom */
.sidebar-left {
    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;
}

#slider::before {
    position: absolute;
    content: "";
    width: 100%;
}

#slider .slide {
    position: relative;
    /*aspect-ratio: 21/8;*/
}

#slider .flickity-viewport {
    height: 391px !important;
    /* ← ปรับเอง */
}

#slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#slider .slide .embed-responsive {
    height: 100%;
    width: initial;
}

#slider .flickity-page-dots {
    bottom: 25px;
}

.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: 2em;
    letter-spacing: 0;
    line-height: 1;
}

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

.inspiro-slider .slide .slide-captions .text-link img {
    display: block;
    margin: 0 auto;
    margin-bottom: 5px;
    height: 40px;
}

.inspiro-slider .slide .slide-captions .text-link {
    position: absolute;
    bottom: -240px;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
}

.ratio-1x1 {
    --bs-aspect-ratio: 80%;
}

.member-edit .ratio-1x1 {
    --bs-aspect-ratio: 25% !important;
}

.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;
}

/* 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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 75%;
    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;
}



.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;
        right: 10px;
    }

    #mainMenu-trigger {
        float: left;
        margin-left: 16px;
    }

    #topbar .container-fluid,
    #header .container-fluid {
        padding-left: 0px;
        padding-right: 0px;
    }

    #slider .flickity-viewport {
        height: 225px !important;
    }

    .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;
    }

    .about-three {
        padding: 0px 0px 0px 0px;
        z-index: 1;
    }

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

    .about-style3-experience p {
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        transform: rotate(90deg) translateX(0%);
        transform-origin: 0 0;
        width: max-content;
        margin: 16px 41px;
    }

    .about .shape1 {
        /* border-radius: 0px 0px 240px; */
        position: absolute;
        top: 858px;
        right: -169%;
        /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
        background-color: #6e5602;
        width: 939px;
        height: 100px;
        /* border-radius: 50%; */
        z-index: -1;
        -webkit-animation: animation1 5s ease-in infinite;
        animation: animation1 5s ease-in infinite;
        transform: skew(331deg);
    }

    .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;
    }

    footer {
        background: linear-gradient(180deg, #685b2e, #000);
    }





}

@media screen and (min-width: 1280px) and (max-width: 1910px) {
    .sect-scrap-price {}

    .scrap-price-left {
        padding-left: 125px;
        padding-top: 35px;
        padding-bottom: 0px;
    }

    .scrap-price-full {
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 35px;
        padding-bottom: 0px;
    }

    .table-scroll {
        max-height: 205px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #header.header-sticky #mainMenu nav>ul>li>a {
        font-size: 16px;
        position: relative;
        font-weight: 400;
        display: inline-block;
        text-transform: inherit;
        padding: 0 10px;
        /* margin-left: 25px; */
        color: #f2da8b;
    }

    #mainMenu nav>ul>li>a {
        font-size: 16px;
        position: relative;
        font-weight: 400;
        display: inline-block;
        text-transform: inherit;
        padding: 0 10px;
        color: #f2da8b;
    }

}

@media screen and (min-width: 1920px) and (max-width: 2056px) {
    .service-style3-area .container::before {
        position: absolute;
        top: -120px;
        left: 36%;
        bottom: -80px;
        right: -100000px;
        content: "";
        z-index: -1;
    }

    #slider .flickity-viewport {
        height: 527px !important;
    }

    .about .shape1 {
        /* border-radius: 0px 0px 240px; */
        position: absolute;
        top: 576px;
        right: -36%;
        /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
        background-color: #6e5602;
        width: 100%;
        height: 725px;
        /* border-radius: 50%; */
        z-index: -1;
        -webkit-animation: animation1 5s ease-in infinite;
        animation: animation1 5s ease-in infinite;
        transform: skew(331deg);
    }

    .sect-news .shape2 {
        /* border-radius: 0px 0px 240px; */
        position: absolute;
        top: 0px;
        left: -25%;
        /* background: radial-gradient(ellipse farthest-corner at right bottom, #ffffac 0% 0%, #ffffac 8%, #ffffac 30% 30%, #ffffac 40%, #d1b464 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%); */
        background-color: #bea259;
        width: 939px;
        height: 45px;
        /* border-radius: 50%; */
        z-index: -1;
        -webkit-animation: animation1 5s ease-in infinite;
        animation: animation1 5s ease-in infinite;
        transform: skew(331deg);
    }

    .scrap-price-left {
        padding-left: 197px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .scrap-price-full {
        padding-left: 120px;
        padding-right: 120px;
        padding-top: 35px;
        padding-bottom: 0px;
    }
}

@media (max-width: 1440px) {
    .service-style3__top p {
        color: #fff !important;
    }
}

@media (max-width: 991px) {

    /* Dropdown menu padding for tablet/mobile */
    #mainMenu nav>ul>li .dropdown-menu li a {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .sect-news {
        padding-top: 80px;
    }

    /* Dropdown menu padding for mobile */
    #mainMenu nav>ul>li .dropdown-menu li a {
        padding: 0 15px;
        color: var(--primary-color) !important;
    }

    #mainMenu nav>ul>li:hover>a,
    #mainMenu nav>ul>li.active>a {
        color: var(--primary-color) !important;
    }

    .scrap-price-left {
        padding: 40px !important;
    }

    .contact-form-column {
        padding: 25px !important;
    }

    .g-recaptcha {
        scale: 0.8;
        left: -25px;
        position: relative;
    }

    .contact-form-column .form-group .row .col-lg-6:not(:last-child) {
        margin-bottom: 25px !important;
    }
}

@media (max-width: 425px) {

    /* Dropdown menu padding for mobile */
    #mainMenu .container {
        padding: 0 20px !important;
    }

    .product-info {
        padding-top: 50px;
    }

    .contact-heading-column:before {
        top: 50px;
    }

    .btn-pdf {
        text-align: center;
        margin-bottom: 10px;
        margin-top: 0;

        button {
            width: 100%;
        }
    }
}

@media (max-width: 375px) {
    .contact-form-column {
        padding: 10px !important;
    }
}

@media (max-width: 320px) {
    .g-recaptcha {
        scale: 0.7;
        left: -30px;
    }
}

.sect-buying-recycle {
    .form-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

#sect-news {
    .news-card {
        min-height: 345px;
    }

    .news-card .news-image {
        min-height: 180px;
    }

    .news-card .news-title {
        min-height: 25px;
    }

    .news-card .news-excerpt {
        min-height: 43px;
    }
}