.btn-logout-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

:root {
    --muted: #6b7280;
    /* เทา */
    --border: #e5e7eb;
    /* เส้นแบ่ง */
    --brand: #111827;
    /* ชื่อเดือน */
    --primary: #2563eb;
    /* ปุ่ม/จุด */
    --surface: #fafafa;
    /* แผงอ่อน */
    --chip: #f3f4f6;

    --event-1: #fef3c7;
    /* เหลืองอ่อน */
    --event-2: #fce7f3;
    /* ชมพูอ่อน */
    --event-3: #e0f2fe;
    /* ฟ้าอ่อน */
    --event-4: #dcfce7;
    /* เขียวอ่อน */
    --primary-color: #801424;
    --secondary-color: #932018;
    --tird-color: #801424;

    --dark: #121214;
    --hover: #801424;

    --blue: #3b3d80;
    --l-blue: #406ba5;
    --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%, #801424 60%, #932018 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: #932018;

    --c-bg: #1b1b1d;

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

    --saturation: 150%;

}

.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 0px 18px rgb(0 0 0 / 30%);
}

.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%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
}

.container,
.container-fluid {
    max-width: 1200px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

body .body-inner>#content,
body .body-inner>section,
body .body-inner>main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
}

body .body-inner>footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}

section,
main,
#content {
    width: 100%;
    max-width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
    max-width: 100%;
}

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

.header-extras {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-extras .user-info li {
    list-style: none;
}

.header-extras .user-info a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    /* ปรับสีตามธีม */
}

.header-extras .user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.header-extras .user-name {
    font-weight: 500;
    font-size: 18px;
}

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

.tb-language {
    border-radius: 100px;
    border: 1px solid #d5cbba;
    padding: 3px;
    line-height: 30px;
    display: -webkit-flex;
    height: 40px;
    margin-top: 20px;
    vertical-align: middle;
    background-color: #e9e9e9;
    color: #7a7a7a;
}

.tb-language img {
    height: 22px;
    margin: 0 3px;
}

.tb-language>a {
    color: inherit;
    padding: 0;
    margin: 0 5px;
}

.tb-language span {
    padding: 0 5px;
    color: #534d4d;
    font-size: 12px;
}

.tb-language>a.active {
    background-color: #ffffff;
    border-radius: 100px;
    line-height: 30px;
    display: inline-block;
    color: #5e5e5e;
    margin: 0;
    vertical-align: middle;
    align-content: center;
    font-weight: 500;
    box-shadow: 0 0 4px rgba(51, 51, 51, 0.27);
}

.tb-language>a:not(.active) .flag {
    display: none;
}

.flag {
    margin-right: 4px;
}

body.search-open #topbar,
body.search-open #logo,
body.search-open #mainMenu,
body.search-open .header-extras {
    opacity: 0;
    visibility: visible;
}

#search {
    width: 100%;
    float: right;
    left: initial;
    right: 0;
    height: 300px;
    background: #fff;
}

body.search-open #search {
    width: 100%;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.26);
    height: 80px;
    max-width: 1140px;
}

.header-extras>ul>li>a {
    padding: 0 !important;
}

.header-extras>ul>li a .circle {
    top: 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-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: 65%;
    content: '';
    left: 30%;
    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, #ffffff, #ffffff);
}

#header.header-sticky #mainMenu nav>ul>li>a {
    font-size: 18px;
    position: relative;
    font-weight: 400;
    display: inline-block;
    text-transform: inherit;
    padding: 0 50px;
    color: #760000;
}

.headbar a {
    position: absolute !important;
    right: 15px;
    top: -13px;
    bottom: 0;
    margin: auto;
}

.headbar.text-center .subtitle {
    margin: auto;
    margin-top: 20px;
    font-size: 16px;
}

.headbar .subtitle {
    max-width: 60%;
}

.headbar .btn-right {
    border-radius: 50px;
    color: #fff;
    background: var(--primary-color);
    display: inline-block;
    height: -webkit-fit-content;
    line-height: 40px;
    padding: 0 10px 0 20px;
    transition: all .3s ease-in-out
}

.headbar .btn-right:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--secondary-color) !important;
    transform: scale(1.025);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.headbar-img {
    width: 120px;
    float: right;
    position: absolute;
    right: 0;
    top: 0;
}


.btn-primary {
    background: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-export {
    background: #28a745;
    color: white;
}

.btn-export:hover {
    background: #1e7e34;
}

/*  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 50px;
    /* margin-left: 25px; */
    color: #801424;
}

#mainMenu nav>ul>li>a::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 11px;
    /*    background-color: #c1b7b7;*/
    left: 2px;
    top: 0;
    transform: rotate(24deg);
}

#mainMenu nav>ul>li.active>a {
    color: var(--primary-color);

}

.dropdown-menu {
    font-size: 1em;
}

#mainMenu nav>ul>li.dropdown>a:after {
    font-family: inspiro-icons !important;
    content: "\e92e";
    font-size: 12px;
}

#mainMenu nav>ul>li.dropdown>a>span {
    padding-right: 20px;
}

#mainMenu nav>ul>li:hover>a,
#mainMenu nav>ul>li.dropdown:hover>a,
#mainMenu nav>ul>li .dropdown-menu>li:hover>a {
    /*    color: #ddd;*/
}

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

#mainMenu nav>ul>li .dropdown-menu {
    padding: 0;
    border: none;
    border-top: 2px solid var(--primary-color) !important;
}

#mainMenu nav>ul>li .dropdown-menu li {
    display: inline-block;
    line-height: 40px;
    width: 100%;
    float: left;
}

#mainMenu nav>ul>li .dropdown-menu li a {
    line-height: 40px;
    display: inline-block;
    width: 100%;
}

#mainMenu nav>ul>li .dropdown-menu li a {
    padding: 0 20px;
}

#mainMenu nav>ul>li .dropdown-menu li a:hover {
    background: var(--secondary-color);
    color: #fff !important;
    font-size: 1em;
    text-decoration: none;
}

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


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

#search .btn-search-close {
    background: var(--secondary-color);
    border-radius: 50%;
    top: 12px;
    right: 15px;
}

button.btn.btn-outline,
.btn:not(.close):not(.mfp-close).btn-outline,
a.btn:not([href]):not([tabindex]).btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
/* 
.btn,
button.btn,
.btn:not(.close):not(.mfp-close),
a.btn:not([href]):not([tabindex]) {
    padding: 0 24px;
    letter-spacing: 0;
    line-height: 40px;
    height: 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: all .2s ease-in-out;
    background: var(--primary-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(--red) !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

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

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


.card {
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    max-width: 1140px;
    width: calc(100% - 40px);
}

.widget-myaccount {
    text-align: left;
}

.widget-myaccount .user-item {
    font-size: 16px;
    margin-top: 0px;
    display: inline-table;
    width: 100%;
}

.p-dropdown-content .widget-myaccount h4 {
    font-size: 20px;
}

.widget-myaccount .user-item .cart-image {
    float: left;
    overflow: hidden;
    border-radius: 4px;
}

.widget-myaccount .user-item .user-meta {
    float: left;
    padding-left: 20px;
}

.btn-checkout {
    background-color: #e74c3c;
    /* สีแดง */
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-checkout:hover {
    background-color: #c0392b;
    /* สีแดงเข้มเมื่อ hover */
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.summary-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    text-align: left;
}

.summary-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.summary-item span {
    display: block;
    color: #555;
}

.gm-err-autocomplete {
    background-image: none !important;
}

.hidden {
    display: none !important;
}

.form-row-1col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-row-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-row-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-row-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-hidden {
    display: none;
}

/* จัด header ให้ h2 กับปุ่มอยู่บรรทัดเดียว */
.card-header {
    display: flex;
    justify-content: space-between;
    /* h2 ซ้าย ปุ่มขวา */
    align-items: center;
    margin-bottom: 15px;
}


.details-row {
    display: none;
}

.main-row.expanded .toggle-icon {
    transform: rotate(45deg);
}

.table-request-approval .main-row {
    background-color: #282b85 !important;
}

.main-row {
    cursor: pointer;
}

.bulk-actions {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden-actions {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.table-request-approval .form-check-input {
    width: unset;
    position: unset;
    margin-left: 0rem;
}

.sect-pagination {
    padding: 0px 0px 30px 0px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}


.toggle .ac-item .ac-title:before {
    display: none;
}

.ac-content {
    display: none;
    padding: 10px;
    background: #f9f9f9;
}

.ac-content.open {
    display: block;
}



/* ปุ่มดูทั้งหมด */
.btn-all {
    background-color: #282b85;
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    /* font-size: 0.9rem; */
    transition: 0.3s;
}


.btn-all:hover {
    background-color: #0056b3;
}

.card .card-header {
    background-color: #fff;
    border-bottom: 0px solid #e6e8eb;
    font-weight: 600;
    padding: 1.8rem 2rem;
}

.card-total {
    padding-left: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bulk-actions button {
    background-color: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    margin-left: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.bulk-actions button:hover:enabled {
    background-color: #0056b3;
}

.bulk-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    /* ระยะห่างระหว่าง 2 col */
    margin-bottom: 12px;
}

#checkoutForm,
#checkinForm {
    position: relative;
    /* z-index: 9999; */
}

#checkoutForm input,
#checkinForm input,
#checkoutForm textarea,
#checkinForm textarea {
    position: relative;
    /* z-index: 10000;*/
    /*ให้ input อยู่บนสุด */
}

.error-msg {
    color: red;
    font-size: 12px;
}

/* Login */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 2 คอลัมน์ */
    gap: 8px 16px;
    /* ระยะห่างระหว่างช่อง */
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.checkbox-group label:hover {
    background: #e9ecef;
}

.checkbox-group p {
    width: 100%;
    margin-bottom: 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-grid div {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.card h2 {
    font-size: 24px;
    font-weight: bold;
}

.form-row-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 คอลัมน์เท่าๆ กัน */
    gap: 16px;
    /* ระยะห่างระหว่างช่อง */
    margin-bottom: 20px;
}

.form-row-4col div {
    display: flex;
    flex-direction: column;
}

.form-row-4col label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-row-4col input {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.checkin-hidden {
    display: none !important;
}

/* Responsive: tablet = 2 คอลัมน์ */
@media (max-width: 991px) {
    .form-row-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: mobile = 1 คอลัมน์ */
@media (max-width: 576px) {
    .form-row-4col {
        grid-template-columns: 1fr;
    }
}

.form-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 3 คอลัมน์เท่ากัน */
    gap: 16px;
    /* ระยะห่างระหว่างช่อง */
    margin-bottom: 16px;
}

.form-row-3col label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #333;
}

.form-row-3col input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-row-3col input:focus {
    border-color: #0b79d0;
    box-shadow: 0 0 4px rgba(11, 121, 208, 0.3);
    outline: none;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* ซ้ายกว้างกว่า ขวาแคบกว่า */
    gap: 16px;
    margin-bottom: 16px;
}

.form-row-2col label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-row-2col textarea,
.form-row-2col input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    resize: vertical;
    min-height: 100px;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-row-2col textarea:focus,
.form-row-2col input:focus {
    border-color: #0b79d0;
    box-shadow: 0 0 4px rgba(11, 121, 208, 0.3);
    outline: none;
}

@media (max-width: 768px) {
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

.p-dropdown {
    float: left;
    font-size: 24px;
    font-weight: 400;
    position: relative;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: .3rem;
}

input,
select,
textarea {
    width: 100%;
    padding: .5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

button {
    color: #fff;
    border: none;
    padding: .6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #004999;
}

#login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #292a86;
}

.login-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 380px;
    text-align: center;
}

.login-box img {
    width: 51%;
}

.login-box h2 {
    margin-bottom: 1rem;
    color: #282b85;
}

.forgot {
    margin-top: 1rem;
    font-size: 14px;
}

.forgot a {
    color: #282b85;
    cursor: pointer;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
}

.popup-content h3 {
    margin-top: 0;
    color: #282b85;
}

.popup-content input {
    width: 100%;
    padding: .6rem;
    margin: .8rem 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#send-reset {
    background: #28a745;
}

#send-reset:hover {
    background: #1e7e34;
}

button {
    color: #fff;
    border: none;
    padding: .6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.popup button {
    margin-top: 1rem;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background: #f4f4f4;
}

.status.success {
    color: green;
    font-weight: bold;
}

.status.pending {
    color: orange;
    font-weight: bold;
}




/* products */
.sect-products {
    padding: 80px 0;
    background-image: url(../images/bg-pro-well.jpg);
    background-size: cover;

}

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

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(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;
}

/* Product Cards */
.product-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%;
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

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

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

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

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

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

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

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

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

    position: relative;
}

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

/* service */
.sect-service {
    padding: 0;
}

.list-service li {
    float: left;
}

.service-item {
    position: relative;
    background: rgb(16, 25, 86);
    background: linear-gradient(0deg, rgba(16, 25, 86, 1) 0%, rgba(54, 68, 153, 1) 100%);
    padding: 40px 15px;
    border-radius: 20px;
    width: -webkit-max-content;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin: 0 15px;
    width: 280px;
    box-shadow: 0 15px 10px rgba(3, 1, 1, 0.6);
}

.service-item img {
    margin-bottom: 20px;
}

.service-item h4,
.service-item p {
    color: #fff;
}

.sect-service .cleft {
    align-items: center;
    display: -webkit-flex;
}

.service-item {
    transition: all .3s ease-in-out !important;
}

.service-item:hover {
    transform: translate(0, -10px) !important;
}

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

*/

/* category */
.sect-product {
    padding: 60px 0;
}

.sect-product .container {
    max-width: 90%;
}

.clip-card {
    background: var(--secondary-color);
    padding: 10px;
    border-radius: 18px;
    border: none;
    overflow: hidden;
}

.clip-card .card-title h2 {
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.clip-card .card-title a.btn-circle {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    background: #c90608;
    color: #fff;
    border-radius: 50%;
    text-align: center;
}

.card-title {
    padding: 5px 15px;
    margin: 0;
}

.clip-card .card-title a i {
    color: inherit;
}

.clip-card .card-body {
    padding: 0;
    border-radius: 11px;
    overflow: hidden;
}

.clip-card .card-body .desc {
    position: absolute;
    left: 0;
    bottom: 50px;
    padding: 20px;
    color: #fff;
    opacity: 0;
    background: #2a362c;
    transition: all .3s ease-in-out;
}

.clip-card:hover .card-body .desc {
    bottom: 55px;
    opacity: 1;
}

.clip-card:hover img,
.product-item:hover img {
    transition: all .4s ease-in-out;
    transform: scale(1.1);
}




/* product */
.sect-product {
    margin-top: 0px;
    background-image: linear-gradient(to right, #67cbe1, #0b4e90);
    margin-bottom: 0px;
}

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

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

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

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

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

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

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

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

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

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

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

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

.decor.man {
    position: absolute;
    bottom: 145px;
    right: -3%;
}

.decor.man img {
    width: 80%;
}

.decor.woman {
    position: absolute;
    top: -135px;
    right: -6%;
    overflow: hidden;
}

.btn-circle {
    min-width: initial;
    width: 60px;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    font-size: 23px;
    transition: all .3s ease-in-out;
}

.hr {
    display: inline-block;
    width: 100%;
    height: 1px;
    background: #c9c9c9;
}

/* blog */
.sect-article {
    position: relative;
    background: url(../images/service/bg.png) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
}

.sect-article .box-area-content {
    position: relative;
    padding-right: 16%;
}

.decor.tree {
    position: absolute;
    right: -28%;
    top: 3%;
    z-index: -1;
}

.clip-card.blog-item .card-title h2 {
    font-size: 18px;
}

.blog-item .date {
    font-size: 14px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.69);
}

.blog-item .htitle {
    font-size: 16px;
    margin: 20px 0;
}

.blog-item .card-detail {
    padding: 10px 15px;
    display: inline-block;
}

.clip-card.blog-item .desc {
    font-size: 14px;
    margin: 15px 0;
}

.clip-card.blog-item .card-title h2 a,
.clip-card.blog-item .desc {
    color: #fff;
}

.sect-cta {
    background: var(--secondary-color);
    overflow: initial;
    z-index: 2;
}

.box-cer {
    position: relative;
    height: 400px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.box-cer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: rgb(25, 51, 100);
    background: linear-gradient(0deg, rgba(25, 51, 100, 1) 0%, rgba(25, 51, 100, 0.25253851540616246) 62%, rgba(5, 5, 5, 0) 100%);
}

.box-cer:hover::before {
    opacity: 0.5;
}

.box-cer img {
    position: absolute;
    top: 0;
    border-radius: 20px;
    box-shadow: 0 0 28px rgba(43, 43, 43, 0.27);
    transition: all .3s ease-in-out;
}

.box-cer:hover {
    overflow: initial;
}

.box-cer:hover img {
    top: initial;
    bottom: 0;
}

.shadow-down {
    position: relative;
}

.shadow-down:after {
    position: absolute;
    width: 120%;
    height: 30px;
    bottom: 0;
    left: -10%;
    right: 0;
    margin: 0 auto;
    border-radius: 0;
    z-index: -1;
    content: "";
    box-shadow: -1.9921875px 16.010416984558105px 24px rgba(255, 255, 255, 0.88);
    top: initial;
    bottom: 0px;
}

.red-box {
    padding: 0 40px;
    position: relative;
    z-index: 2;
    border-radius: 0 60px;
}

.red-box h4,
.red-box p {
    color: var(--secondary-color);
}

.red-box h4 {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 20px;
}

.sect-partner {
    padding-bottom: 40px;
    z-index: 2;
    overflow: initial;
    background: rgb(255, 255, 255);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 34%, rgba(233, 236, 242, 1));
}



/* all-product*/

.all-product .headbar .htitle,
.htitle-dec {
    color: #000;
    line-height: 30px;
    display: inline-block;
    font-size: 2.5em;
}

ul.item-3-column>li {
    width: 25%;
    display: inline-block;
    float: left;
    padding: 1%;
}

/* project */

/* blog */
.sect-project {
    position: relative;
    background: url(../images/project/bg-project.jpg) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
}

.sect-project .headbar {
    padding-left: 55px;
    padding-top: 7px;
}

.sect-project .rgh {
    padding-left: 40px;
    padding-right: 0px;
}

.sect-project .headbar .btn {
    position: relative ! Important;
    margin-top: 20px;
    left: 0%;
}

.sect-project .box-area-content {
    position: relative;
    padding-right: 16%;
}

.decor.tree {
    position: absolute;
    right: -28%;
    top: 3%;
    z-index: -1;
}

.clip-card.blog-item .card-title h2 {
    font-size: 18px;
}

.blog-item .date {
    font-size: 14px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.69);
}

.blog-item .htitle {
    font-size: 16px;
    margin: 20px 0;
    color: #fff;
}

.blog-item .card-detail {
    padding: 10px 15px;
    display: inline-block;
}

.clip-card.blog-item .desc {
    font-size: 14px;
    margin: 15px 0;
}

.clip-card.blog-item .card-title h2 a,
.clip-card.blog-item .desc {
    color: #fff;
}

.sect-cta {
    background: var(--secondary-color);
    overflow: initial;
    z-index: 2;
}

.box-cer {
    position: relative;
    height: 400px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.box-cer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: rgb(25, 51, 100);
    background: linear-gradient(0deg, rgba(25, 51, 100, 1) 0%, rgba(25, 51, 100, 0.25253851540616246) 62%, rgba(5, 5, 5, 0) 100%);
}

.box-cer:hover::before {
    opacity: 0.5;
}

.box-cer img {
    position: absolute;
    top: 0;
    border-radius: 20px;
    box-shadow: 0 0 28px rgba(43, 43, 43, 0.27);
    transition: all .3s ease-in-out;
}

.box-cer:hover {
    overflow: initial;
}

.box-cer:hover img {
    top: initial;
    bottom: 0;
}

.shadow-down {
    position: relative;
}

.shadow-down:after {
    position: absolute;
    width: 120%;
    height: 30px;
    bottom: 0;
    left: -10%;
    right: 0;
    margin: 0 auto;
    border-radius: 0;
    z-index: -1;
    content: "";
    box-shadow: -1.9921875px 16.010416984558105px 24px rgba(255, 255, 255, 0.88);
    top: initial;
    bottom: 0px;
}

.red-box {
    padding: 0 40px;
    position: relative;
    z-index: 2;
    border-radius: 0 60px;
}

.red-box h4,
.red-box p {
    color: var(--secondary-color);
}

.red-box h4 {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.g-video {
    background-image: linear-gradient(to right, #d80404, #7e1313);
}

/*Gallery*/
.sec-gallery {
    padding: 0px;
}

.sec-gallery .gallery-group {
    padding: 0px;
}

.sec-gallery .gallery-group ul li {
    /*padding: 0px;*/
}

.sec-gallery .gallery-group .gallery-item {}

.sec-gallery .gallery-item .gallery-inner {
    position: relative;
    overflow: hidden;
    transition: all ease .3s;
}

.sec-gallery .gallery-item .gallery-inner img {
    width: 100%;
    transition: all ease .5s;
}

.sec-gallery .gallery-item .gallery-inner:hover img {
    transform: scale(1.1);
}

.sec-gallery .gallery-item .gallery-inner:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 0%;
    left: 0px;
    bottom: 0px;
    background: #000;
    opacity: 0;
    transition: all ease .3s;
    z-index: 1;
}

.sec-gallery .gallery-item .gallery-inner:hover:before {
    height: 100%;
    opacity: .7;
}

.sec-gallery .gallery-item .gallery-inner .gallery-detail {
    position: absolute;
    text-align: center;
    padding: 15px 10px;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 30%;
    transition: all ease .3s;
    opacity: 0;
}

.sec-gallery .gallery-item .gallery-inner:hover .gallery-detail {
    opacity: 1;
    z-index: 1;
}

.sec-gallery .gallery-item .gallery-detail h4 {
    margin-bottom: 10px;
    color: #fff;
}

.sec-gallery .gallery-item .gallery-detail a.btn-gallery {
    opacity: 1;
    color: #fff;
    padding: 2px 10px;
    border: 1px solid #fff;
    border-radius: 3px;
}

.sec-gallery .gallery-item .gallery-detail a.btn-gallery:hover {
    color: #536b5d;
    border: none;
}

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

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

footer ul.list-contact li i {
    background: #2186ba;
    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;
    padding-right: 55px;
}

footer h4 {
    color: #fff;
}

footer a:hover {
    color: var(--red) !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 {

    font-size: 14px;
    padding: 0px 0 0px 0;
    overflow: initial;
    z-index: 2;
    position: relative;
    background-color: #801424;
}

.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;
       width: 100%;
}

@media screen and (max-width: 1024px) {
    .container,
    .container-fluid {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .card {
        width: calc(100% - 40px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    section,
    main,
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 425px) {
    .container,
    .container-fluid {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .card {
        width: calc(100% - 30px);
        max-width: 100%;
        padding: 20px 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    section,
    main,
    #content {
        padding-left: 10px;
        padding-right: 10px;
    }
}

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

.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: var(--danger) !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, #c31731, #801424);
}

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




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

ul.inline {
    display: inline-block;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    letter-spacing: 0;
    line-height: 1.5;
}

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

.shadow-down {
    position: relative;
}

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

.htitle {
    color: var(--primary-color);
}

.htitle.text-bg-2 {
    font-size: 3em;
}


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



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

em.line {
    position: relative;
    width: 120px;
    height: 2px;
    background-color: #e1e1e1;
    margin: 0 auto;
    display: inline-block;
}

em.line::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background: var(--primary-color);
    bottom: 0;
    margin: auto;
    display: inline-block;
    margin-top: -1px;
}

em.line.line-left::before {
    right: initial;
    float: left;
}

.text-gradient {
    -webkit-text-fill-color: transparent !important;
    -webkit-background-clip: text !important;
    background: radial-gradient(circle at left top, #4b72ff 9%, #2250fc 48%, #6442ff 91%);
}

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

.slogan span {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 20px;
}

.slogan small {
    display: block;
    line-height: 1;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 6px;
}

.font18 {
    font-size: 18px;
}

.font20 {
    font-size: 20px;
}

.font-600 {
    font-weight: 600;
}

.w100 {
    width: 100%;
    transition: all .4s ease-in-out;
}

.w50 {
    width: 50%;
    display: inline-block;
    float: left;
}

a {
    color: #121212;
}

a:not(.btn):not(.badge):hover,
a:not(.btn):not(.badge):focus,
a:not(.btn):not(.badge):active {
    color: #27171F;
}

a:not(.btn):hover,
a:not(.btn):focus,
a:not(.btn):active {
    color: var(--primary-color);
}

[class*="col-md-"] {
    float: left;
}

#mainMenu nav>ul>li .dropdown-menu>li.current>a,
#mainMenu nav>ul>li .dropdown-menu>li.current>span,
#mainMenu nav>ul>li .dropdown-menu>li:hover>a,
#mainMenu nav>ul>li .dropdown-menu>li:hover>span,
#mainMenu nav>ul>li .dropdown-menu>li:focus>a,
#mainMenu nav>ul>li .dropdown-menu>li:focus>span,
#mainMenu nav>ul>li .dropdown-menu>li:active>a,
#mainMenu nav>ul>li .dropdown-menu>li:active>span,
#mainMenu nav>ul>li .dropdown-menu>li.hover-active>a,
#mainMenu nav>ul>li .dropdown-menu>li.hover-active>span {
    color: #0163a4;
}



.text-link {
    display: inline-block;
    line-height: 24px;
}

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

.link-custom {
    color: #59d0b4;
    display: inline-block;
    line-height: 40px;
}

.link-custom span {
    display: inline-block;
    float: left;
    margin-right: 12px;
}

.right-circle {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fcc013;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    display: inline-block;
}

.right-circle i {
    transition: all .2s ease-in-out;
}

a:hover>.right-circle i {
    transform: translate(3px, 0);
}

.text-lg {
    font-weight: 800;
    font-size: 4.3em;
}

.text-md {
    font-weight: 800;
    font-size: 3.3em;
}

.limit1,
.limit2,
.limit3,
.limit4,
.limit5 {
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.limit1 {
    -webkit-line-clamp: 1;
}

.limit2 {
    -webkit-line-clamp: 2;
}

.limit3 {
    -webkit-line-clamp: 3;
}

.limit4 {
    -webkit-line-clamp: 4;
}

.limit5 {
    -webkit-line-clamp: 5;
}

.inline {
    display: inline-block;
}

.hvr-expand {
    -webkit-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
    transition: all ease-out 0.2s;
}

.hvr-expand:hover {
    transform: scale(1.025);
}

.hvr-up {
    -webkit-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
    transition: all ease-out 0.2s;
}

.hvr-up:hover {
    transform: translate(0, -10px);
    box-shadow: 0 26px 23px rgba(51, 51, 51, 0.12);
}


.top-contact {
    border-left: 1px solid rgba(148, 146, 146, 0.59);
    display: inline-block;
    margin-left: 15px;
    padding-left: 15px;
    line-height: 1;
}

.header-extras>ul>li {
    margin-left: 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::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.46) 63%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.4;
    backdrop-filter: blur(9px);
}

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

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

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

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

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

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

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

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

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

.engine_by_shopup_bottom h1 {
    display: none;
}

.engine_by_shopup_bottom h2 {
    display: none;
}

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


@media(max-width: 480px) {

    #header .header-inner #logo a,
    #header .header-inner #logo a span,
    #header #header-wrap #logo a,
    #header #header-wrap #logo a span {
        position: absolute;
        left: 57px;
    }

    .topbar-content {
        height: 40px;
    }

    .header-extras {
        float: right;
    }

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

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

    .slide-captions {
        width: auto;
        max-width: 60%;
        float: left;
        text-align: center;
        top: -15px;
        position: relative;
    }

    .slide-captions h1 {
        font-size: 10px;
        line-height: 12px;
        margin-bottom: 0px !important;
    }

    .slide-captions h4 {
        font-size: 18px;
        padding-right: 0px;
        margin-bottom: 0px;
    }

    .card {
        margin: 0 auto;
        padding: 20px 15px;
        margin-bottom: 20px;
        border-radius: 15px;
        width: calc(100% - 30px);
        max-width: 100%;
    }
}

.profile-info {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 1140px;
    width: calc(100% - 40px);
    margin: 0 auto;
    font-family: "Prompt", sans-serif;
}

.profile-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-item {
    flex: 1 1 calc(50% - 10px);
    background: #f7f7f7;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.logo {
    height: 40px;
}

.nav-center h1 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
}

.menu-icon {
    font-size: 20px;
    cursor: pointer;
}



@media (max-width: 600px) {
    .info-item {
        flex: 1 1 100%;
    }

    .nav-center h1 {
        font-size: 18px;
    }

    .nav-right span {
        display: none;
        /* ซ่อนชื่อบนมือถือ */
    }
}