:root {
    --white: #FFFFFF;
    --bg-green-300: #33BA72;
    --bg-green-400: #6ABA55;
    --bg-green-500: #00A94F;
    --bg-green-600: #0A6A60;
    --bg-green-700: #345C61;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
}

html {
    scroll-behavior: smooth;

    scroll-padding-top: 80px;
}

a {
    color: inherit;
    text-decoration: none !important; 
}
a:hover {
    color: inherit;
}

ul {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}
p {
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1140px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* class text and bg */

.text-green {
    color: var(--bg-green-500) !important;
}

/* Header */

.site-header {
    height: 600px;
    background-image: url('/assets/images/banner.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: fade-to-dark linear;
    animation-timeline: scroll();
    animation-range: 0px 500px;
}

@keyframes fade-to-dark {
    to {
        opacity: 0.7;
    }
}

.main-nav,
.top-nav,
.container {
    position: relative;
    z-index: 10;
}

.top-bar {
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-left-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
}

.kbank-dt-logo {
    width: 140px;
}

.top-menu {
    list-style: none;
    display: flex;
    gap: 24px;
}

.top-menu li a {
    font-size: 13px;
    line-height: 20px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 4px;
}


.top-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.5s ease-out;
}

.top-menu a:hover::after {
    width: 100%;
}

.top-right-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.top-right-group a {
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    color: white;
    position: relative;
    padding-bottom: 4px;
}

.top-right-group a i {
    width: 12px;
    height: 12px;
}

.kasikornthai-logo {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.thai-flag-img {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
    object-fit: cover;
}

.top-right-group a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.5s ease-out;
}

.top-right-group a:hover::after {
    width: 100%;
}

/* main nav */

.main-nav {
    width: 100%;
    height: 51px;
    margin-top: 8px;
    position: relative;
    z-index: 10;
}

.main-nav-box {
    background-color: var(--bg-green-500);
    padding: 13px 39px;
    border-radius: 8px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.16);
    margin: 0 10px;
    height: 51px;
}

.main-menu {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.main-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-menu li a {
    height: 100%;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    position: relative;
    padding-bottom: 4px;
}

.main-menu li.separator {
    color: var(--white);
    font-size: 25px;
    line-height: 24px;
    user-select: none;
    display: inline-block;
    transform: scaleX(0.4) scaleY(1.1);
    line-height: 1;
    vertical-align: middle;
    margin: 0 -10px;
}


.main-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.5s ease-out;
}

.main-menu li a:hover::after {
    width: 100%;
}

/* sticky nav */

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 56px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease-in-out;
    border-bottom: 1px solid transparent;
}

.sticky-nav.stuck {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

.sticky-nav-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-download {
    width: 220px;
    height: 40px;
    font-size: 16px;
    line-height: 24px;
    background-color: var(--bg-green-500);
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: #008f43;
    color: white;
}

.sticky-left-group a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    line-height: 24px;
    margin-right: 24px;
    position: relative;
    padding-bottom: 16px;
}

.sticky-left-group a.active {
    color: var(--bg-green-500);
}

.sticky-left-group a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--bg-green-500);
}

/* features section */

.features-section .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.features-section {
    padding: 64px 0;
    background-color: var(--white);
}

/* features grid */

.features-section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.features-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 63px;
}

.features-section-header h3 {
    font-size: 26px;
    font-weight: 600;
    line-height: 39px;
    color: #111111;
}

.features-section-header p {
    font-size: 20px;
    font-weight: 500;
    color: #666666;
}

/* card */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    width: 558px;
    height: 174px;
    border-radius: 8px;
    padding: 16px;
    color: var(--white);
    font-size: 18px;
    line-height: 27px;
    position: relative;
}

.card-green-300 {
    background-color: var(--bg-green-300);
}

.card-green-400 {
    background-color: var(--bg-green-400);
}

.card-green-600 {
    background-color: var(--bg-green-600);
}

.card-green-700 {
    background-color: var(--bg-green-700);
}

.feature-card-box-img {
    width: 156px;
    height: 96px;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.feature-clock-icon {
    width: 78.6px;
    height: 79.6px;
    object-fit: cover;
}

.feature-shopping-icon {
    width: 114px;
    height: 76px;
    object-fit: cover;
}

/* modal */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ตัวกล่อง Pop-up */
.modal-content {
    width: 1000px;
    height: 474px;
    position: relative;
    display: flex;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-body {
    display: flex;
    width: 100%;
}

/* ฝั่งซ้าย (ขาว) */
.modal-left {
    width: 502px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 169px 66px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.modal-left h2 {
    color: #00A94F;
    font-size: 26px;
    font-weight: 600;
    line-height: 39px
}

/* ฝั่งขวา (เขียว) */
.modal-right {
    width: 498px;
    padding: 96px 108px;
    background: linear-gradient(180deg, #2EAA99 0%, #2A9489 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.qr-container {
    width: 282px;
    height: 282px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container img {
    width: 250px;
    height: 250px;
}

.close-modal {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -15px;
    right: -15px;
    background: #00A94F;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
}

/* product slide */

.product-slider-section {
    background:
        radial-gradient(ellipse 80% 50% at bottom center, rgba(0, 169, 79, 0.3) 0%, transparent 65%), linear-gradient(to bottom right, #345C61 0%, #2D5559 0%),
        linear-gradient(to bottom right, #345C61 100%, #2D555900),
        linear-gradient(0deg, #4CD6C333, #4CD6C333),
        linear-gradient(to bottom right, #34465200, #4CD6C333),
        linear-gradient(to top left, #1F313A 100%, #465968 100%),
        linear-gradient(to right, #06403A 100%, #00A94F 100%);
    padding: 64px 0;
    color: white;
    overflow: hidden;
    position: relative;
}

.product-slider-section .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-section-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.product-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 63px;
}

.product-section-header p {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.product-card {
    width: 100%;
    max-width: 364px;
    height: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.product-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.product-swiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.card-img {
    width: 100%;
    height: 219px;
    flex-shrink: 0;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 9.5px;
    flex-grow: 1;
}

.card-content .card-detail .read-more {
    margin-top: auto;
}

.card-text-group {
    display: flex;
    flex-direction: column;
}

.card-content .card-detail .card-text-group h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    margin-bottom: 12px;
    color: #111111;
}

.card-content .card-detail .card-text-group p {
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.badge-new {
    align-self: flex-start;
    display: inline-block;
    color: #33BA72;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 12px;
    border: 1px solid #CCEEDC;
    border-radius: 20px;
}

.read-more {
    display: block;
    color: #00A94F;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
    margin-top: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.product-swiper {
    width: 100%;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 70px !important;
    padding-left: 10px;
    padding-right: 10px;
}

/* ปรับแต่งจุด Swiper Pagination */
.product-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #DDDDDD !important;
    border: 1px solid #DDDDDD !important;
    transition: all 0.4s ease-in-out;
    opacity: 1 !important;
}

.product-swiper .swiper-pagination-bullet-active {
    background: #00A94F !important;
    width: 24px;
    height: 8px;
    border-radius: 50px;
    border: none !important;
}

/* Pricing section */

.pricing-section {
    background-color: #E5F6ED;
    padding: 64px 0;
}

.pricing-section .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pricing-section-header {
    display: block;
    text-align: center;
}

.pricing-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 63px;
    color: #333333;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
}

.pricing-table {
    width: 100%;
    border: 1px solid #E8E8E8;
    border-collapse: collapse;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.pricing-table tbody td {
    background-color: #FFFFFF;
    border: 1px solid #E8E8E8;
    color: #666666;
    font-size: 16px;
    line-height: 24px;
    padding: 24px;
}

.pricing-table th {
    width: 285px;
    height: 75px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
}

.th-feature {
    background-color: var(--bg-green-500);
    color: white;
    border-top-left-radius: 8px;
}

.th-free {
    background-color: var(--bg-green-400);
    color: white;
}

.th-plus {
    background-color: #008661;
    color: white;
}

.th-pro {
    background-color: var(--bg-green-600);
    color: white;
    border-top-right-radius: 8px;
}

.pricing-table tr {
    height: 72px;
    text-align: center;
}

.pricing-table tbody td:first-child {
    background-color: #F7F7F7;
    color: #666666;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.text-green-td {
    color: var(--bg-green-500) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.how-to-use-section {
    background-color: #F0FAF7;
    height: 689px;
    padding: 64px 0;
}

.how-to-use-section .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.howto-section-header {
    display: block;
    text-align: center;
}

.howto-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 63px;
    color: #111111;
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.tab-btn {
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    color: #333333;
    border: 1px solid #999999;
}

.tab-btn.active {
    background-color: #00A94F;
    color: white;
    border-color: #00A94F;
}

.swiper-tab-content {
    display: none;

}

.swiper-tab-content.active-tab {
    display: block;
}

.use-step-swiper {
    width: 100%;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 70px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.step-card {
    width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 8px;
    gap: 16px;
    transition: all 0.3s ease-in-out;
    transform: translateZ(0);
}

.step-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.step-img {
    position: relative;
    max-width: 220px;
    overflow: hidden;
    border-radius: 8px;
}

.step-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.step-badge {
    position: absolute;
    top: -20px;
    left: -15px;
    background: linear-gradient(to top, #17523C, #27E89E);
    color: white;
    font-size: 20px;
    font-weight: bold;
    width: 51.94px;
    height: 68.63px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    z-index: 2;
    transform: rotate(-45deg);
    transform-style: preserve-3d;
}

.step-badge::before,
.step-badge::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #33424A;
    border-radius: 28px;
    transform: translateZ(-1px);
    transition: all 0.3s;
}

/* ชิ้นซ้าย (ขยับไปทางซ้ายและบน) */
.step-badge::before {
    top: -4px;
    left: -4px;
}

/* ชิ้นขวา (ขยับไปทางขวาและล่าง) */
.step-badge::after {
    top: -3px;
    left: 3px;
}

.step-badge p {
    display: block;
    position: absolute;
    transform: rotate(45deg);
    font-size: 26px;
    font-weight: 600;
    line-height: 39px;
    left: 20px;
    top: 25px;
    text-shadow: 1px 1px 1px rgba(37, 63, 62, 0.55);
}

.step-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.step-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.step-info p {
    font-size: 16px;
    line-height: 24px;
}

.use-step-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #DDDDDD !important;
    border: 1px solid #DDDDDD !important;
    transition: all 0.4s ease-in-out;
    opacity: 1 !important;
}

.use-step-swiper .swiper-pagination-bullet-active {
    background: #00A94F !important;
    width: 24px;
    height: 8px;
    border-radius: 50px;
    border: none !important;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to top, #F7F7F7, #FFFFFF);
    padding: 64px 16px;
}

.faq-section .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-section-header h2 {
    text-align: center;
    color: #333333;
    font-size: 33px;
    font-weight: 600;
    line-height: 50px;
}

.faq-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    list-style: none;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.faq-question span {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.faq-question span i {
    width: 18px;
    width: 18px;
    color: #00A94F;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item {
    position: relative;
    min-height: 59px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #EAEAEA;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* =========================================
   สถานะตอน "เปิด" (ใช้ Attribute [open])
   ========================================= */

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background-color: #00A94F;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-item[open] .faq-question h4 {
    color: #00A94F;
}

/* =========================================
   ตกแต่งเนื้อหาคำตอบด้านใน
   ========================================= */
.faq-answer p {
    color: #333333;
    font-size: 16px;
    line-height: 24px;
}

.faq-item .faq-answer {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-answer {
    max-height: 139px;
    opacity: 1;
    padding: 16px;
}

.faq-item[open] .faq-question span i::before {
    content: "\f068";
    /* รหัสไอคอน fa-minus */
}

/* =======================================
   Footer Section
   ======================================= */
.footer-links-bar {
    background-color: #00A94F;
    padding: 14px 0;
}

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

.btn-more-menu {
    background: transparent;
    border: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-more-menu i {
    width: 16px;
    height: 16px;
}

/*ล้างค่าเริ่มต้นของ ul และจัดให้อยู่แนวนอน */
.footer-menu-right {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ตั้งค่าให้แต่ละบรรทัด (li) */
.footer-menu-right li {
    display: flex;
    align-items: center;
}

.footer-menu-right li:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.4);
    margin: 0 16px;
}

.footer-menu-right a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    position: relative;
}

.footer-menu-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.4s ease-in-out;
}

.footer-menu-right a:hover::after {
    width: 100%;
}

/* แถบสโลแกนล่างสุด */
.footer-bottom {
    max-height: 64px;
    background-color: white;
    text-align: center;
    padding: 16px 0;
}

.footer-bottom h3 {
    font-size: 24px;
    font-weight: 500;
    color: #887369;
}

/* =========================================
       สำหรับหน้าจอ Desktop (ล็อกความสูงให้สวยงาม)
========================================= */
@media (min-width: 1024px) {
    .product-card {
        height: 417px;
    }

    .card-detail {
        height: 150px;
        justify-content: flex-start;
    }
}

/* =========================================
   Mobile Bottom Navigation & Sheets
   ========================================= */

.mobile-bottom-nav,
.mobile-overlay,
.mobile-contact-popup,
.mobile-menu-sheet {
    display: none;
}

.show-on-mobile {
    display: none !important;
}

/* header mobile */

/* =======================================
   Responsive (มือถือ)
   ======================================= */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* ซ่อนเมนู Desktop ทั้งหมด */
    .hide-on-mobile {
        display: none !important;
    }

    /* โชว์ไอคอนมือถือ */
    .show-on-mobile {
        display: flex !important;
    }

    .container {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* header */

    .site-header {
        max-height: 480px;
    }

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        background: transparent;
    }

    .top-bar.scrolled {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 12px 0;
    }

    .top-bar.scrolled .header-icon,
    .top-bar.scrolled a {
        color: #666666;
    }

    .top-bar-flex {
        padding: 14px 13px 14px 16px;
        justify-content: space-between;
        align-items: center;
    }

    .top-right-group {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .top-right-group a {
        padding-bottom: 15px;
    }

    .top-right-group a::after {
        background: transparent;
    }

    .kbank-dt-logo {
        height: 32px;
        width: auto;
    }

    .header-icon {
        color: white;
        background: transparent;
        border: none;
        cursor: pointer;

        padding: 0 !important;
        margin: 0;
        outline: none;

        width: 24px !important;
        height: 24px !important;

        display: flex !important;
        justify-content: center;
        align-items: center;

        transition: color 0.3s ease;
        text-decoration: none;
    }

    .header-icon i {
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .sticky-nav {
        display: none;
    }

    .sticky-left-group {
        display: none;
    }

    .sticky-right-group {
        display: none;
    }

    .main-nav {
        display: none;
    }

    /* product-highlight */
    .features-section {
        padding: 48px 16px;
    }

    .features-section .container {
        gap: 16px
    }

    .features-section-header {
        width: 100%;
    }

    .features-section-header h2 {
        font-size: 28px;
        line-height: 42px;
    }

    .features-section-header h3 {
        font-size: 18px;
        line-height: 27px;
    }

    .features-section-header p {
        font-size: 18px;
        line-height: 27px;
    }

    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin: 0 auto;
    }

    .feature-card {
        width: 156px;
        margin-top: 24px;
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column-reverse !important;
        justify-content: flex-end;
        padding: 60px 16px 16px 16px !important;
    }

    .feature-card p {
        font-size: 16px !important;
        line-height: 24px !important;
        margin: 0;
        text-align: left;
        color: white;
    }

    .feature-card-box-img {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 159px;
        height: 96px;
        display: flex;
        justify-content: center;
        margin: 0 !important;
    }

    .feature-card-box-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .feature-card-box-img .feature-clock-icon {
        width: 77px;
        height: 79.63px;
    }

    .feature-card-box-img .feature-shopping-icon {
        width: 114px;
        height: 76px;
    }

    /* main-features */
    .product-slider-section {
        padding: 48px 16px;
    }

    .product-slider-section .container {
        gap: 24px;
    }

    .product-section-header h2 {
        margin: 0 auto;
        font-size: 28px;
        line-height: 42px;
    }

    .product-slider-sectio p {
        font-size: 18px;
        line-height: 27px;
        font-weight: 500;
    }

    .product-swiper {
        padding-bottom: 50px !important;
    }

    /* pricing section */
    .pricing-section {
        padding: 48px 16px;
    }

    .pricing-section .container {
        gap: 24px;
    }

    .pricing-section-header h2 {
        font-size: 28px;
        font-weight: 600;
        line-height: 42px;
    }

    .table-responsive {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: relative;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .table-responsive::-webkit-scrollbar {
        display: none;
    }

    .hand-move {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hand-move img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    /* คุมการเลื่อนแนวนอน */
    .pricing-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* สไลด์ลื่นๆ ใน iOS */
        margin: 0 -16px;
    }

    .pricing-table {
        min-width: 600px;
        border-collapse: collapse;
        width: max-content;
    }

    .th-feature {
        background-color: #00A94F;
        z-index: 11;
    }

    .table-progress-container.show-on-mobile {
        display: block !important;
    }

    .table-progress-container {
        width: 328px;
        height: 3px;
        background-color: rgba(0, 0, 0, 0.15);
        margin: 20px auto;
        border-radius: 8px;
        position: relative;
        overflow: hidden;
    }

    .table-progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        width: 86px;
        height: 100%;
        background-color: #00A94F;
        border-radius: 10px;
        transition: transform 0.1s linear;
        will-change: transform;
    }

    /* ล็อกความกว้างคอลัมน์แรก (ฟีเจอร์) */
    .th-feature,
    .pricing-table tbody td:first-child {
        width: 164px !important;
        min-width: 164px !important;
        padding: 16px 12px;
        left: 0;
        background-color: white;
        z-index: 10;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
        vertical-align: middle;
    }

    .th-feature {
        background-color: #00A94F;
        z-index: 11;
        padding: 24px 12px;
    }

    /* 3. กำหนดความกว้างขั้นต่ำให้คอลัมน์แพ็กเกจอื่นๆ ไม่โดนบีบ */
    .th-free,
    .th-plus,
    .th-pro,
    .pricing-table tbody td:not(:first-child) {
        min-width: 150px;
        padding: 16px 12px;
        text-align: center;
        vertical-align: middle;
    }

    .th-free,
    .th-plus,
    .th-pro {
        padding: 24px 12px;
    }

    /* how-to-use  */
    .how-to-use-section {
        padding: 48px 16px;
    }

    .how-to-use-section .container {
        gap: 24px;
    }

    .use-step-swiper .swiper-slide {
        width: 220px !important;
        height: auto;
        display: flex;
    }

    /* faq */
    .faq-section {
        padding: 48px 16px;
    }


    /* footer */
    .footer-links-bar .footer-flex {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .footer-menu-right {
        display: flex;
        justify-content: space-between;
    }

    .footer-menu-right a {
        color: white;
        text-decoration: none;
        font-size: 13px;
        /* ปรับขนาดฟอนต์ตามความเหมาะสม */
    }

    .site-footer {
        margin-bottom: 56px;
    }

    /* แถบ Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 56px;
        background: white;
        padding: 8px;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        gap: 8px;
    }

    /* =========================================
   Custom Hamburger Icon (เมนูแบบ 4 เส้น)
   ========================================= */
    .custom-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
    }

    .custom-hamburger .bar {
        width: 20px;
        height: 3px;
        background-color: #99DDB9;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }

    /* บังคับให้เส้นแรกสุด (บนสุด) เป็นสีเขียวเข้มเสมอในสถานะปกติ */
    .custom-hamburger .bar:first-child {
        background-color: #00A94F;
    }

    /* "เปิดเมนู" (มีคลาส active): ให้ทุกเส้นกลายเป็นสีเขียวเข้มหมด */
    .custom-hamburger.active .bar {
        background-color: #00A94F;
    }

    .nav-divider {
        width: 1px;
        height: 40px;
        background-color: #666666;
        opacity: 30%;
    }

    /* =========================================
       ปุ่มดาวน์โหลดตรงกลาง
       ========================================= */
    .btn-bottom-download {
        background-color: #00A94F;
        color: white;
        text-decoration: none;
        padding: 8px 24px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        flex-grow: 1;
        text-align: center;
    }

    /* ปุ่มไอคอนวงกลมซ้าย-ขวา */
    .btn-bottom-icon-menu {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        background-color: #E5F6ED;
    }

    .btn-bottom-icon-contact {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        background-color: #00A94F;
    }


    /* =========================================
       Overlay (พื้นหลังดำๆ ตอนเปิดเมนู)
       ========================================= */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block !important;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* =========================================
       Popup ติดต่อ (LINE/Phone)
       ========================================= */
    .mobile-contact-popup {
        position: fixed;
        bottom: 66px;
        right: 8px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        z-index: 999;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mobile-contact-popup.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* =========================================
       กลุ่มข้อความคำพูด (ฝั่งซ้าย)
       ========================================= */
    .contact-text-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    }

    .contact-text-item {
        background-color: white;
        color: #333333;
        font-size: 13px;
        font-weight: bold;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        position: relative;
        height: 40px;
        display: flex;
        align-items: center;
    }

    /* ลูกศรข้าวหลามตัด */
    .contact-text-item::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -4px;
        width: 10px;
        height: 10px;
        background-color: white;
        transform: translateY(-50%) rotate(45deg);
        border-radius: 1px;
        z-index: 1;
    }

    /* =========================================
       กลุ่มไอคอนแคปซูล (ฝั่งขวา)
       ========================================= */
    .contact-icon-group {
        width: 44px;
        height: 96px;
        background-color: white;
        border: 2px solid white;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .contact-icon-link {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        text-decoration: none;
    }

    .line-image-logo {
        width: 29.09px;
        height: 28.18px;
        object-fit: contain;
        display: block;
    }

    .close-icon {
        font-size: 20px;
        color: #6B9E77;
        position: absolute;
        display: none;
    }

    .bg-line {
        background-color: #00A94F;
    }

    .bg-phone {
        background-color: #00A94F;
    }

    .bg-phone i {
        width: 18px;
        height: 18px;
        color: white;
    }

    /* =========================================
       Bottom Sheet
       ========================================= */
    .mobile-menu-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        border-radius: 20px 20px 0 0;
        z-index: 999;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 16px 16px 80px 24px;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
        display: block !important;
    }

    .mobile-menu-sheet.active {
        transform: translateY(0);
    }

    .sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
    }

    .sheet-header h4 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
    }

    .btn-close-sheet {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: #E5F6ED;
        font-size: 20px;
        color: #00A94F;
        cursor: pointer;
    }

    .sheet-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sheet-menu-list li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 16px 0;
        color: #666666;
        text-decoration: none;
        border-bottom: 1px solid #EBEBEB;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        transition: color 0.3s ease;
    }

    .sheet-menu-list li a span i {
        color: #666666;
        text-align: center;
        font-size: 24px;
        transition: color 0.3s ease;
    }

    .mobile-nav-link span {
        width: 24px;
        height: 24px;
        text-align: center;
    }

    .sheet-menu-list li a.active-nav-link {
        color: #00A94F;
    }

    .sheet-menu-list li a.active-nav-link span i {
        color: #00A94F;
    }
}