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

body,
p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.67);
    margin-bottom: 0;
}

body .body-inner {
    background-image: linear-gradient(to bottom, #790012 5%, #ffffff 15%);
    background: url(../images/bg-pro-well.jpg) no-repeat;
    background-size: 100%;
    /*background-color: #801424;*/
    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 {}

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

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

#mainMenu nav>ul>li:hover,
#mainMenu nav>ul>li.active {
    background-color: #801424;

}

/* Login */
.widget-myaccount {
    text-align: left;
}

.widget-myaccount .user-item {
    margin-top: 8px;
    display: inline-table;
    width: 100%;
}

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

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

.logo img {
    width: 100%;
}

.card {
    margin-top: 35px;
    /* background-image: linear-gradient(to bottom, #790012 5%, #ffffff 15%); */
    /* background: #fff; */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card thead {
    background-color: #fff;
}

/* .study-card .nav-tabs {
    position: absolute;
    top: 95px;
} */

/*.card:before {
    position: absolute;
    content: "";
    left: -25%;
    top: -2%;
    width: 600px;
    height: 600px;
    background: url(../images/sign.png) no-repeat;
    background-size: 100%;
    background-position: center bottom;
    z-index: 1;
    opacity: .10;
}   */
p.room-list-name.mb-0.ml-3 {
    color: #801424;
    font-weight: bold;
}

.card h2:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 45px;
    right: 5px;
    top: 0;
    background: url(../images/shape-left.png) no-repeat;
    background-size: 100%;
    background-position: left top;
}

.employee-title h2:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 45px;
    right: 5px;
    top: 0;
    background: url(../images/shape-left.png) no-repeat;
    background-size: 100%;
    background-position: left top;
}

.technician-detail h2:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 45px;
    right: 5px;
    top: 0;
    background: url(../images/shape-left.png) no-repeat;
    background-size: 100%;
    background-position: left top;
}

.card-title h2:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 45px;
    right: 5px;
    top: 0;
    background: url(../images/shape-left.png) no-repeat;
    background-size: 100%;
    background-position: left top;
}

/* ปรับโครงสร้างตาราง */
#studyTable,
#studyTable2 {
    border-collapse: separate;
    border-spacing: 0 0px;
    /* ช่องว่างระหว่างแถว */
    background: transparent;
    width: 100%;
}

/* ลบเส้นขอบเดิมของ bootstrap */
#studyTable.table-bordered,
#studyTable.table-striped,
#studyTable.table-hover,
#studyTable2.table-bordered,
#studyTable2.table-striped,
#studyTable2.table-hover {
    border: none;
}

/* หัวตาราง */
#studyTable thead th,
#studyTable2 thead th {
    background-color: transparent;
    color: #8b0000;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    padding-right: 34px;
    font-size: 20px;
}

/* เซลล์ใน tbody */
#studyTable tbody tr,
#studyTable2 tbody tr {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* แถวคี่ */
#studyTable tbody tr:nth-child(odd),
#studyTable2 tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
    color: #000;
    box-shadow: 0 5px 10px rgb(0 0 0 / 13%);
}

/* แถวคู่ */
#studyTable tbody tr:nth-child(even),
#studyTable2 tbody tr:nth-child(even) {
    background-color: #8b0000;
    /* หรือใช้ darkred ก็ได้ */
    color: #fff;
}

/* ทำให้ขอบมนทำงานจริง */
#studyTable tbody tr td:first-child,
#studyTable2 tbody tr td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

#studyTable tbody tr:nth-child(even) td .room-list-name a {
    color: #ffffff !important;
}

#studyTable tbody tr:nth-child(even) td .material-list-name a {
    color: #ffffff !important;
}

#studyTable tbody tr:nth-child(even) td .study-name a {
    color: #ffffff !important;
}

#studyTable tbody tr td:last-child,
#studyTable2 tbody tr td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* ข้อความลิงก์ในแถวคู่ */
#studyTable tbody tr:nth-child(even) td .technician-name a,
#studyTable2 tbody tr:nth-child(even) td .doctor-name a {
    color: #fff !important;
}

#studyTable tbody tr:nth-child(odd) td .technician-name a,
#studyTable2 tbody tr:nth-child(odd) td .doctor-name a {
    color: #000 !important;
}

/* ปุ่มในแต่ละแถว */
#studyTable tbody tr:nth-child(odd) td a.btn,
#studyTable2 tbody tr:nth-child(odd) td a.btn {
    background-color: #8b0000 !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 0px 20px !important;
    border: none !important;
    transition: all 0.25s ease;
    font-size: 14px !important;
}

#studyTable tbody tr:nth-child(even) td a.btn,
#studyTable2 tbody tr:nth-child(even) td a.btn {
    background-color: #fff !important;
    color: #8b0000 !important;
    border-radius: 25px !important;
    padding: 0px 20px !important;
    border: none !important;
    transition: all 0.25s ease;
    font-size: 14px !important;
}

/* Hover ปุ่ม */
#studyTable tbody tr td a.btn:hover,
#studyTable2 tbody tr td a.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover แถว */
#studyTable tbody tr:hover,
#studyTable2 tbody tr:hover {
    transform: scale(1);

}

/* ปรับการจัดกลางของปุ่มในคอลัมน์ขวา */
#studyTable td.text-center,
#studyTable2 td.text-center {
    vertical-align: middle;
}

/* ลบเส้นขอบแนวนอน */
#studyTable tbody tr td,
#studyTable2 tbody tr td {
    border: none;
}

.table-bordered th,
.table-bordered td {
    vertical-align: middle;
}

.card h2 {
    color: #ffffff;
    font-size: 18px;
    padding: 5px 15px;
    margin-bottom: 15px;
    /* border-bottom: 2px solid #eee; */
    /* padding-bottom: 8px; */
    width: 100%;
    background-image: linear-gradient(to right, maroon, #ea9603 45%, #801424 100%);
    /* background-image: linear-gradient(to right, #801424, #ff0606); */
    /* background-color: #801424; */
    border-radius: 6px;
    line-height: 32px;
    margin-bottom: 0px;
}

.filter {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;
    width: 50%;
    padding: 0px 25px;
}

.filter input,
.filter select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    flex: 1;
}

.tab-study .btn-primary {
    font-size: 14px !important;
}

#logo-statuscheck {
    display: flex;
    justify-content: center;
    /* จัดกึ่งกลางแนวนอน */
    align-items: center;
    /* จัดกึ่งกลางแนวตั้ง ถ้า container สูง */
    width: 100%;
}

#logo-statuscheck img {
    max-width: 150px;
    /* กำหนดขนาดแบบคงที่หรือ % ก็ได้ */
    height: auto;
    display: block;
    /* ป้องกันปัญหา img inline */
}

.card input:not([type=checkbox]):not([type=radio]),
select {
    line-height: 18px;
    padding: 10px 16px;
    min-height: 40px;
    font-size: .9rem;
    width: 100%;
}

.statuscheck .flex-grow-1 {
    margin: 0 20px;
}

.containerstatuscheck {
    height: 100vh;
}

.card .statuscheck h2 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 0px solid #eee;
    padding-bottom: 8px;
    width: unset;
}

/* Container scroll แนวนอน */

.table-wrapper-employee {
    width: 100%;
    overflow-x: auto;
}

/* ปรับโครงสร้างตาราง employee ให้เหมือน study */
.table-wrapper-employee table {
    border-collapse: separate;
    /* border-spacing: 0 15px; */
    /* ช่องว่างระหว่างแถว */
    background: transparent;
    width: 100%;
    min-width: 900px;
    /* ความกว้างขั้นต่ำสำหรับ desktop */
}

/* ลบเส้นขอบเดิมของ bootstrap */
.table-wrapper-employee table.table-bordered,
.table-wrapper-employee table.table-striped,
.table-wrapper-employee table.table-hover {
    border: none;
}

/* หัวตาราง */
.table-wrapper-employee thead th {
    background-color: transparent;
    color: #333;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 8px;
}

/* เซลล์ใน tbody */
.table-wrapper-employee tbody tr {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* แถวคี่ */
.table-wrapper-employee tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
    color: #000;
    /*box-shadow: 0 5px 10px rgb(0 0 0 / 13%);*/
}

/* แถวคู่ */
.table-wrapper-employee tbody tr:nth-child(even) {
    /* background-color: #8b0000; */
    /* หรือใช้ darkred ก็ได้ */
    color: #fff;
}

/* ทำให้ขอบมนทำงานจริง */
.table-wrapper-employee tbody tr td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-radius: 0;
}

.table-wrapper-employee tbody tr td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* ข้อความลิงก์ในแถวคู่ */
.table-wrapper-employee tbody tr:nth-child(even) td a {
    color: #fff !important;
}

.table-wrapper-employee tbody tr:nth-child(odd) td a {
    color: #000 !important;
}

/* ปุ่มในแต่ละแถว */
.table-wrapper-employee tbody tr:nth-child(odd) td a.btn {
    background-color: #8b0000 !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 0px 20px !important;
    border: none !important;
    transition: all 0.25s ease;
}

.table-wrapper-employee tbody tr:nth-child(even) td a.btn {
    background-color: #fff !important;
    color: #8b0000 !important;
    border-radius: 25px !important;
    padding: 0px 20px !important;
    border: none !important;
    transition: all 0.25s ease;
}

/* Hover ปุ่ม */
.table-wrapper-employee tbody tr td a.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover แถว */
.table-wrapper-employee tbody tr:hover {
    transform: scale(1);
}

/* ปรับการจัดกลางของปุ่มในคอลัมน์ขวา */
.table-wrapper-employee td.text-center {
    vertical-align: middle;
}

/* ลบเส้นขอบแนวนอน */
.table-wrapper-employee tbody tr td {
    border: none;
    padding: 15px 8px;
    text-align: center;
    font-size: 14px;
}

/* Responsive สำหรับมือถือ */
@media (max-width: 768px) {

    .table-wrapper-employee th,
    .table-wrapper-employee td {
        padding: 10px 6px;
        font-size: 12px;
    }
}

/* สไตล์พิเศษสำหรับ Client 2 และ Client 4 */
.table-wrapper-employee tbody tr:has(td[rowspan="3"]) {
    /* background-color: #8b0000 !important;
    color: #fff !important; */
}

.table-wrapper-employee tbody tr:has(td[rowspan="3"]) td {
    /* background-color: #8b0000 !important;
    color: #fff !important; */
}

.table-wrapper-employee tbody tr:has(td[rowspan="3"]) td a {
    color: #fff !important;
}

/* .table-wrapper-employee tbody tr:has(td[rowspan="3"]) td .badge {
    background-color: #27a243 !important;
    color: #ffffff !important;
} */

/* Override: make all employee table rows/header #8b0000 with white text */
.table-wrapper-employee thead th,
.table-wrapper-employee tbody tr,
.table-wrapper-employee tbody tr td {
    /* background-color: #8b0000 !important; */
    color: #8b0000 !important;
    /* border: 1px solid; */
    font-size: 12px;
    text-align: center;
	border-right: 1px solid #8b000030;
}

/* Remove left border from first column */
.table-wrapper-employee thead th:last-child,
.table-wrapper-employee tbody tr td:last-child {
    border-right: none !important;
}

/* Links inside cells */
.table-wrapper-employee tbody tr td a {
    color: #fff !important;
}

/* Buttons inside cells: transparent with white border/text */
.table-wrapper-employee tbody tr td a.btn {
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

.table-wrapper-employee tbody tr td a.btn:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.05);
}

/* Badges inside cells: keep readable on dark bg */
.table-wrapper-employee tbody tr td .badge {
    color: #fff !important;
}

.tab-study .btn {
    font-size: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th,
table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

table th {}

.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
}

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

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

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

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

.fillter-study select {
    width: 180px;
}

.five-cols>.col {
    flex: 0 0 20%;
    max-width: 20%;
}

.study-table {
    display: grid;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

/*study-course-detail*/
/* ตารางผู้ใช้ 3 คอลัมน์ */
.study-user {
    display: grid;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

.study-row-user {
    display: grid;
    grid-template-columns: 10fr 1fr 0fr;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.study-row-user:last-child {
    border-bottom: none;
}

.study-cell-user {
    padding: 10px 12px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.study-cell-user:last-child {
    border-right: none;
}

.study-header-user {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.study-row-user:hover:not(.study-header-user) {
    background: #fafafa;
}

/* Wrapper scroll ซ้ายขวา */
.study-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ตาราง */
.study-table {
    display: table;
    width: 100%;
    min-width: 1200px;
    /* กำหนดให้พอใส่ทุก column */
    border-collapse: collapse;
}

/* แถว */
.study-row {
    display: table-row;
}

/* Header */
.study-header {
    font-weight: bold;
    background-color: #f1f3f6;
}

/* เซลล์ */
.study-cell {
    display: table-cell;
    padding: 8px 12px;
    min-width: 160px;
    /* กำหนด width ให้ column ไม่ wrap */
    border: 1px solid #eee;
    white-space: nowrap;
    /* สำคัญ! ป้องกัน wrap */
}

/* Badge */
.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

p.technician-name {
    padding: 0 15px;
}

p.doctor-name {
    padding: 0 15px;
}


/* Responsive */
@media (max-width: 1200px) {
    .study-table {
        min-width: 1000px;
    }
}

@media (max-width: 768px) {
    .study-table {
        min-width: 600px;
    }

    .study-cell {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* Badge สี */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    min-width: 50px;
}

.bg-success {
    background-color: #27a243 !important;
    color: #fff !important;
}

.bg-warning {
    background-color: #ffc107;
    color: #000;
}

.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.text-primary {
    color: #801424 !important;
}

/* Row */
.study-row {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    /* 10 คอลัมน์ */
    border-bottom: 1px solid #f0f0f0;
}

.study-row:last-child {
    border-bottom: none;
}

/* Cell */
.study-cell {
    padding: 10px 12px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.study-cell:last-child {
    border-right: none;
}

/* Header */
.study-header {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

/* Hover */
.study-row:hover {
    background: #fafafa;
}


/*  MENU */
#mainMenu nav>ul>li {
    padding: 0;
    margin: 0;
}

#mainMenu nav>ul>li>a {
    font-size: 18px;
    position: relative;
    font-weight: bold;
    display: inline-block;
    text-transform: inherit;
    padding: 0 50px;
    /* margin-left: 25px; */
    color: #801424;
}

#mainMenu nav>ul>li:hover>a {
    color: #fff !important;
}

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


#logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .header-inner #logo a>img {
    margin-top: 27px;
    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;
    margin-bottom: 0px;
}

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

/*=================================
    About Three Css
===================================*/
.about-three {
    background-image: linear-gradient(to right, #7e1313, #d80404);
    position: relative;
    display: block;
    padding: 60px 0px 60px 0px;
    z-index: 1;
}

.about-three .container {
    max-width: 1320px;
    padding-left: 12px;
    padding-right: 12px;
}

.about-three__img {
    position: relative;
    display: block;
    padding-top: 30px;
    z-index: 1;
}

.about-three h2 {
    font-size: 59px;
    line-height: 1.1em;
    font-weight: bold;
    text-transform: capitalize;
    color: #da0000;
    margin-bottom: 0px;
}

.sub-title {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.sub-title h5 {
    color: var(--thm-black);
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    text-transform: uppercase;
}

.about-three__img .shape1 {
    position: absolute;
    top: 445px;
    right: -121%;
    z-index: -1;
    opacity: 0.2;
}

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

.about-three__img1 {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
}

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

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

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

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


.about-three__img-icon-box .round-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

svg {
    color: #fff;
    border-radius: 100px;
    background-color: #ffffffab;
    position: relative;
    top: 98px;
    left: -19px;
    width: 12em;
    height: 12em;
    margin: auto;
    animation: 25s spin infinite linear;
}

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

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

.rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.detail-inner {
    padding: 0 10px;
}

.btn-viewmore {
    position: relative;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 2em;
    color: #fff !important;
    margin: 20px;
    transition: all .2s ease-in-out;
    box-shadow: 0 3px 8px rgba(51, 51, 51, 0.19);
    background: var(--primary-color);
    z-index: 3;
}

.btn-viewmore::before {
    position: absolute;
    content: "";
    left: -20px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    background: url(../images/viewmore.png) no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 1;
    -webkit-animation: spin 5s linear infinite;
    -moz-animation: spin 5s linear infinite;
    animation: spin 5s linear infinite;
}

.rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

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

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

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

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

.about-three__content-text {
    position: relative;
    display: block;
}

.about-three__content-text h3 {
    font-weight: bold;
    margin-bottom: 0px;
}

.about-three__content-text p {
    font-weight: normal;
    margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.section-about-1 img {
    width: 100%;
}

.section-about-1 .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Recommend Product */

.product-card {
    /* width: 220px; */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

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

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

.product-content {
    padding: 16px;
}

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

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

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

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

.price {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
}

.add-button a {
    color: #fff;
}

.add-button {
    width: 32px;
    height: 32px;
    background: #0a1735;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    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-image: linear-gradient(to right, #0b4e90, #0b4e90);
    border: 0 !important;
    padding: 50px 0px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgb(58 56 56 / 50%);
}

.icon-box.border .icon i {
    background-color: transparent !important;
    color: #ffffff;
}

.icon-box.border .icon {
    border: 3px solid #fff;
    text-align: center;
    border-radius: 50%;
    background-color: transparent;
}

.icon-box.center h3 {
    color: #fff;
}

.icon-box.center p {
    color: #fff;
}

.icon-box .icon i:after {
    box-shadow: 0 0 0 3px #fff;
}


/*calendar*/

* {
    box-sizing: border-box
}

.wrap-calendar {
    max-width: 1200px;
    margin: 24px auto 48px;
    padding: 0 16px;
}

.week-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #e5e5e5;
    padding: 8px;
    border-radius: 6px;
    min-height: 80px;
    background: #fff;
    box-sizing: border-box;
}

/* Header */
.topbar-calendar {
    border-radius: 20px 20px 0px 0px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    background-color: #a11424;
}

.today-title {
    font-weight: 700;
    font-size: clamp(20px, 3vw, 28px);
    color: #fff;
}

.view-switch {
    display: flex;
    gap: 8px;
}

.seg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}

.seg button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
    font-weight: 600;
}

.seg button.active {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

/* Nav */
.navline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
}

.navline button {
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.navline .label {
    font-weight: 700;
    color: var(--brand);
    min-width: 210px;
}

/* Calendar panels */
.calendar {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

/* Month grid */
.dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 4px 2px 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    /* ลดช่องว่างให้เล็กลง */
}

.cell {
    /* aspect-ratio: 1/1;  ลบออก */
    height: 50px;
    /* กำหนดความสูงที่ต้องการ */
    border-radius: 8px;
    padding: 4px;
    position: relative;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* สำหรับตัวเลขวันใน cell/col */
.cell .date-num,
.week-col .date-num {
    font-size: 12px;
    text-align: center;
    position: relative;
}

/* จุดกิจกรรม */
.cell .dot,
.week-col .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgb(152, 0, 0);
    position: absolute;
    bottom: 4px;
    /* ปรับให้อยู่เหนือขอบล่าง */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.selected {
    outline: 2px solid var(--primary);
}

.today {
    border: 1px solid var(--primary);
}

/* Week view */
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.week-col {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-height: 120px;
    cursor: pointer;
}

.week-col .date-num {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--chip);
}

/* Day view */
.day-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

/* Events */
.events {
    margin-top: 16px;
    border-top: 1px dashed var(--border);
    padding-top: 16px;
}

.events h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--brand);
}

.cardcalendar {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: #f5f5f5;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.cardcalendar.pink {
    background: #fff;
}

.cardcalendar.blue {
    background: #f5f5f54;
}

.cardcalendar.green {
    background: #fff;
}

.cardcalendar .title {
    position: relative;
    font-weight: 700;
    border-radius: 12px;
    /* margin-bottom: 6px; */
    color: #ffffff;
    padding: 10px;
    background-image: linear-gradient(to right, #b80d0d, #ea9603 45%, #b80d0d 100%);
}

.cardcalendar .time {
    font-size: 12px;
    color: #000000;
}

.cardcalendar {
    color: #000000;
}

.cardcalendar .title::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 39px;
    right: 0%;
    top: 0px;
    background: url(../images/shape-left.png) no-repeat;
    background-size: 100%;
    background-position: left top;
}

/* Responsive */
@media (max-width:640px) {
    .dow {
        font-size: 11px
    }

    .date-num {
        font-size: 13px
    }
}




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

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

.tabs.tabs-clean .nav-tabs {
    border-bottom: 0;
    margin-bottom: 0px;
}

.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) {
    .container {
        padding: 0 15px;
    }

    #mainMenu:not(.menu-overlay) nav>ul>li>a {
        padding: 12px 20px;
    }

    #studyTable tbody tr:nth-child(even) td a.btn {
        font-size: 14px !important;
    }

    #studyTable tbody tr:nth-child(odd) td a.btn {
        font-size: 14px !important;
        height: 34px;
        line-height: 34px;
    }

    .study-card .nav-tabs {
        position: unset;
    }

    p.technician-name {
        padding: 0 15px;
        font-size: 14px;
    }

    .technician-name-title {
        position: absolute;
        top: 77px;
        left: 28%;
    }

    .doctor-name-title {
        position: absolute;
        top: 170px;
        left: 21%;
    }

    p.doctor-name {
        padding: 0 15px;
        font-size: 14px;
    }

    .employee-title .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        width: 100%;
    }

    .card h2:before {
        width: 100px;
        height: 45px;
        right: 5px;
        top: 0;
        background-size: 100%;
        background-position: left top;
    }

    .study-card .d-flex {
        flex-direction: column !important;
        /* จากแนวนอน -> แนวตั้ง */
        align-items: stretch !important;
        /* ให้แต่ละบล็อกกว้างเต็ม */
        gap: 10px;
        width: 100%;
    }

    .tabs .nav-tabs .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    #studyTable,
    #studyTable2 {
        border-spacing: 0 0px;
    }

    .table-wrapper-employee table {
        border-spacing: 0 0px;
    }

    .table-wrapper-employee tbody tr:nth-child(even) td a.btn {
        font-size: 14px !important;
    }

    .table-wrapper-employee tbody tr:nth-child(odd) td a.btn {
        font-size: 14px !important;
        height: 34px;
        line-height: 34px;
    }

    #studyTable tbody tr:nth-child(even) td a.btn,
    #studyTable2 tbody tr:nth-child(even) td a.btn {
        font-size: 10px !important;
        padding: 0px 13px !important;
    }

    #studyTable tbody tr:nth-child(odd) td a.btn,
    #studyTable2 tbody tr:nth-child(odd) td a.btn {
        font-size: 10px !important;
        height: 34px;
        line-height: 34px;
        padding: 0px 14px !important;
    }

    #header .header-inner #logo a,
    #header .header-inner #logo a span,
    #header #header-wrap #logo a,
    #header #header-wrap #logo a span {
        position: relative;
        left: 0;
    }

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

    .header-extras .p-dropdown .p-dropdown-content,
    .header-extras .p-dropdown ul.p-dropdown-content {
        right: 0px;
        margin-top: -8px;
    }

    .topbar-content {
        height: 40px;
    }

    .header-extras {
        float: right;
        margin-right: 15px;
    }

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

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

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

    .about-three h2 {
        font-size: 45px;
        line-height: 1em;
        margin-bottom: 0px;
    }

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

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

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

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

    .filter-card {
        display: unset;
    }

    .five-cols>.col {
        flex: 0 0 20%;
        max-width: 100%;
    }

    .roomlist .d-flex {
        display: unset !important;
    }

    table th,
    table td {
        border: 1px solid #eee;
        padding: 10px;
        text-align: left;
        font-size: 9px;
    }
}

.nav-link:not(.active) {
    cursor: pointer;
}

.container.content {
    min-height: calc(100vh - 77px);
}

/* Utility Classes */
.opacity-50 {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Table Loading Component */
.table-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 8px;
}

.events {
    min-height: 200px;
}

.table-loading-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    padding: 20px 40px;
    background-image: linear-gradient(to right, maroon, #ea9603 45%, #801424 100%);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}