﻿@import url("../fonts/font-family.css"); /* Import font family */

:root {
    /* fontfamily*/
    --font-ibm-plex: "IBM Plex Sans Thai", "IBM Plex Sans", sans-serif, system-ui;
    --font-inter: "Inter", sans-serif, system-ui;
    --font-noto-sans: "Noto Sans Thai", sans-serif, system-ui;
    --font-sukhumvit: "Sukhumvit Set", "Sukhumvit", sans-serif, system-ui;
    --font-db-heavent: "DB Heavent", sans-serif, system-ui;
    /* fontsize IBM Plex Sans */
    --ibm-plex-xxl: 36px;
    --ibm-plex-xl: 26px;
    --ibm-plex-l: 24px;
    --ibm-plex-m: 22px;
    --ibm-plex-s: 20px;
    --ibm-plex-xs: 18px;
    --ibm-plex-xxs: 16px;
    --ibm-plex-xxxs: 14px;
    --ibm-plex-xxxxs: 12px;
    /* background colors */
    --bg-color-purple: #201137;
    --bg-color-purple2: #321551;
    --bg-color-purple3: #7731C1;
    --bg-color-purple4: #291649;
    --bg-color-purple-button: #291649;
    --bg-color-purple-button-active: #442478;
    --bg-sessiontimeout: #201F2F;
    --bg-backdrop-sessiontimeout: #11081B;
    --bg-color-button-sessiontimeout: #4B2884;
    --bg-linear-gradient-1: linear-gradient(92.58deg, #E89C24 49.84%, #FFCC00 100.36%);
    --bg-linear-gradient-2: linear-gradient(180deg, #201137 0%, rgba(232, 156, 36, 0.53) 100%);
    --bg-linear-gradient-3: linear-gradient(149.85deg, #E89C24 0%, #FFCC00 51.55%, #E89C24 99.97%);
    /* text colors */
    --txt-color-gray-1: #EEEFF1;
    --txt-color-gray-2: #F0F1F3;
    --txt-color-gray-3: #D0D3D9;
    --txt-color-gray-4: #989FAD;
    --txt-color-gray-5: #5D6679;
    --txt-color-gray-6: #F4F4F4;
    --txt-color-white-1: #FFFFFF;
    --txt-color-purple-1: #AC9CC6;
    --txt-color-purple-2: #EDEAF3;
    --txt-color-purple-3: #4B2884;
    --txt-color-purple-4: #866FAD;
    --txt-color-purple-5: #C7BCD9;
    --txt-color-yellow-1: #FCAF17;
    --txt-color-red-1: #E14554;
    --txt-color-purple-6: #F7F5F9;
    /* border colors */
    --border-color-purple: #351C5E;
    --border-color-sessiontimeout: #5D667F;
    /* radius */
    --ffy-radius-m: 12px;
    /* padding */
    --ffy-padding-8: 8px;
    --ffy-padding-16: 16px;
    --ffy-padding-24: 24px;
}

html, body {
    height: 100% ;
    font-family: var(--font-ibm-plex);
    font-weight: 500;
    font-style: normal;
    line-height: 28px;
}


body,
.level-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar,
.level-content::-webkit-scrollbar {
    display: none;
}

.template-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.level-content {
    flex-grow: 1;
    overflow: auto;
    padding-bottom: 54px;
}

body.template-default {
    background-color: var(--bg-color-purple);
    color: var(--txt-color-gray-1);
}

header.ffy-header {
    font-size: var(--ibm-plex-xs);
    height: 98px;
    padding: 54px 24px 16px 24px;
    background-color: var(--bg-color-purple);
    border-bottom: 1px solid var(--border-color-purple);
}

/* Class font size */
.txt-ibm-l {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-l);
    font-weight: 600;
    line-height: 32px;
}

.txt-ibm-xxxs {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
}

.txt-ibm-xxxxs {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxxs);
    font-weight: 400;
    line-height: 16px;
}

/* Class Padding */
.ffy-pad-bot-32 {
    padding-bottom: 32px !important;
}
/* START: ffy-banner-content */
.ffy-header-banner.swiper {
    padding-bottom: 22px !important;
    margin-right: -1rem !important;
}

.ffy-header-banner.swiper .swiper-slide.ffy-slide-box {
    width: 100%;
    height: auto;
    border-radius: var(--ffy-radius-m);
    position: relative;
}

.ffy-header-banner.swiper .swiper-slide.ffy-slide-box.active-foryou {
    background: var(--bg-linear-gradient-3);
    padding: 3px;
}

.ffy-header-banner.swiper .swiper-slide.ffy-slide-box a {
    color: var(--txt-color-white-1);
}

.ffy-header-banner.swiper .ffy-slide-content {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--ffy-radius-m);
}

.ffy-header-banner.swiper .ffy-slide-content .ffy-slide-tag {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-linear-gradient-1);
    height: auto;
    width: auto;
    border-radius: var(--ffy-radius-m) 0px 16px 0px;
    padding:  4px 16px 4px 16px;
}

.ffy-header-banner.swiper .ffy-slide-content .ffy-slide-tag > img {
    width: 16px;
    height: 16px;
}

.ffy-header-banner.swiper .ffy-slide-content .ffy-slide-tag > span {
    font-size: var(--ibm-plex-xxxs);
    font-weight: 600;
    line-height: 20px;
    font-family: var(--font-inter);
}

.ffy-header-banner.swiper .ffy-slide-content .ffy-slide-img {
    border-radius: var(--ffy-radius-m);
    width: 100%;
    height: 100%;
}

.ffy-header-banner.swiper .swiper-pagination {
    bottom: 0px !important;
    height: 22px !important;
}

.ffy-header-banner.swiper .swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 1000px;
    opacity: 0.5;
    background: var(--txt-color-white-1);
}

.ffy-header-banner.swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 16px;
}

.ffy-banner-2items .swiper-pagination > .swiper-pagination-bullet:last-child,
.ffy-banner-2items .swiper-pagination > .swiper-pagination-bullet:nth-last-child(2) {
    display: none;
}

/* END: ffy-banner-content */

/* START: ffy-banner-product */

.ffy-product-banner .ffy-slide-box {
    display: flex;
    justify-content: center;
}

.ffy-product-banner .ffy-slide-img {
    height: 176px;
    width: auto;
    border-radius: 8px;
}

.ffy-product-banner .swiper-pagination {
    bottom: 0;
}

.ffy-product-banner .swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 1000px;
    opacity: 0.5;
    background: var(--txt-color-white-1);
}

.ffy-product-banner .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 16px;
}

/* END: ffy-banner product*/

/* START: Menu Item */

.ffy-menuitem-content {
    width: 100vw;
    text-align: left;
    overflow: hidden;
    background-color: var(--bg-color-purple);
    margin-left: -1rem;
    margin-right: -1rem;
}

.ffy-menuitem-content .ffy-menuitem-tabs {
    gap: 8px;
    max-width: 100%;
    display: flex;
    align-self: start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: var(--ffy-padding-24);
    padding-bottom: var(--ffy-padding-24);
}

.ffy-menuitem-content .ffy-menuitem-tabs .ffy-menuitem-group {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 16px;
    padding: 4px 12px 4px 12px;
    border-radius: 13px;
    color: var(--txt-color-purple-1);
    border: 0;
    background-color: var(--bg-color-purple-button);
    text-decoration: none;
}

.ffy-menuitem-content .ffy-menuitem-tabs .ffy-menuitem-group:first-child {
    margin-left: 1rem;
}

.ffy-menuitem-content .ffy-menuitem-tabs .ffy-menuitem-group:last-child {
    margin-right: 1rem;
}

.ffy-menuitem-content .ffy-menuitem-tabs .ffy-menuitem-group.active {
    font-weight: 500;
    background-color: var(--bg-color-purple-button-active);
    color: var(--txt-color-gray-2);
}

/* END: Menu Item */

/* START: List Menu Item */

.ffy-listmenu-content {
    width: 100vw;
    text-align: left;
    overflow: hidden;
    background-color: var(--bg-color-purple);
    margin-left: -1rem;
    margin-right: -1rem;
}

.ffy-listmenu-content .ffy-listmenu-tabs {
    gap: 8px;
    max-width: 100%;
    display: flex;
    align-self: start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: var(--ffy-padding-24);
    padding-bottom: var(--ffy-padding-24);
}

.ffy-listmenu-content .ffy-listmenu-tabs .ffy-listmenu-group {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 16px;
    padding: 4px 12px 4px 12px;
    border-radius: 13px;
    color: var(--txt-color-purple-1);
    border: 0;
    background-color: var(--bg-color-purple-button);
    text-decoration: none;
}

.ffy-listmenu-content .ffy-listmenu-tabs .ffy-listmenu-group:first-child {
    margin-left: 1rem;
}

.ffy-listmenu-content .ffy-listmenu-tabs .ffy-listmenu-group:last-child {
    margin-right: 1rem;
}

.ffy-listmenu-content .ffy-listmenu-tabs .ffy-listmenu-group.active {
    font-weight: 500;
    background-color: var(--bg-color-purple-button-active);
    color: var(--txt-color-gray-2);
}

/* END: List Menu Item */

/* START: Product Menu */
.ffy-productmenu, .ffy-productmenu2 {
    width: 100vw;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
}

.ffy-productmenu .ffy-menuproduct-group,.ffy-productmenu2 .ffy-menuproduct-group {
    padding: var(--ffy-padding-16) var(--ffy-padding-16);
    text-decoration: none;
    color: var(--txt-color-purple-1);
    display: block;
}

.ffy-productmenu .ffy-menuproduct-group.active,.ffy-productmenu2 .ffy-menuproduct-group.active {
    border-bottom: 2px solid #ffffff;
    color: var(--txt-color-white-1);
}

.ffy-productmenu .ffy-menuproduct-group .ffy-menuproduct-tag,.ffy-productmenu2 .ffy-menuproduct-group .ffy-menuproduct-tag {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}
/* END: Product Menu*/

/* START: ProductListingLending4UWidget */
.ffy-lending4u {
    padding-top: var(--ffy-padding-24);
    padding-bottom: var(--ffy-padding-24);
}

.ffy-lending4u .lending4u-header-title {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xs);
    font-weight: 600;
    line-height: 28px;
    color: var(--txt-color-white-1);
    padding-bottom: var(--ffy-padding-16);
}

.ffy-lending4u .lending4u-content-block {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
    height: 144px;
    flex-direction: column;
}

.ffy-lending4u .lending4u-content-block.less-2item {
    flex-direction: row;
    height: auto;
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card {
    width: calc(50% - 8px);
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card > a {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--txt-color-gray-2);
    text-decoration: none;
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card .content-card-img {
    width: auto;
    height: 64px;
    border-radius: 8px;
    margin-right: 8px;
    float: left;
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card .content-card-text {
    display: block;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 500;
    line-height: 20px;
    color: var(--txt-color-gray-2);
    word-wrap: break-word;
}

/* END: ProductListingLending4UWidget */

/* START: ProductListingWidget */

.ffy-productlisting {
    padding-top: var(--ffy-padding-24);
    padding-bottom: var(--ffy-padding-24);
}
.ffy-productlisting .productlisting-header-title {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xs);
    font-weight: 600;
    line-height: 28px;
    color: var(--txt-color-white-1);
    padding-bottom: var(--ffy-padding-16);
}

.ffy-productlisting .productlisting-content-block {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.ffy-productlisting .productlisting-content-block .productlisting-content-card {
    width: calc(50% - 8px);
}

.ffy-productlisting .productlisting-content-block .productlisting-content-card > a {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--txt-color-gray-2);
    text-decoration: none;
}

.ffy-productlisting .productlisting-content-block .productlisting-content-card .content-card-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.ffy-productlisting .productlisting-content-block .productlisting-content-card .content-card-text {
    display: block;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 500;
    line-height: 20px;
    color: var(--txt-color-gray-2);
    word-wrap: break-word;
}

/* END: ProductListingWidget */


/* START: SSME_Lending_Page */

.ffy-ssme-lending {
    background-color: var(--bg-color-purple);
    margin-top: -52px;
}

    .ffy-ssme-lending .nav-tabs#content-tabs {
        border: 0;
    }

        .ffy-ssme-lending .nav-tabs#content-tabs .nav-link {
            background-color: var(--bg-color-purple);
            color: var( --txt-color-purple-1);
            border: 0;
            padding-top: 16px;
            padding-bottom: 16px;
            max-height: 60px;
            overflow: hidden;
        }

        .ffy-ssme-lending .nav-tabs#content-tabs .nav-item:first-child .nav-link {
            border-radius: 16px 0 0 0;
        }

        .ffy-ssme-lending .nav-tabs#content-tabs .nav-item:last-child .nav-link {
            border-radius: 0 16px 0 0;
        }

        .ffy-ssme-lending .nav-tabs#content-tabs .nav-link.active, .ffy-ssme-lending .nav-tabs#content-tabs .nav-link.hover {
            color: var(--txt-color-white-1);
            box-shadow: 0 2px var(--txt-color-white-1);
        }

    .ffy-ssme-lending .content-header {
        padding: 24px;
        gap: 8px;
    }

        .ffy-ssme-lending .content-header span {
            display: block;
            color: var(--txt-color-gray-4);
            font-size: var(--ibm-plex-xxxs);
            line-height: 20px;
            font-weight: 400;
        }

            .ffy-ssme-lending .content-header span.title {
                color: var(--txt-color-white-1);
                font-size: var(--ibm-plex-l);
                line-height: 32px;
                font-weight: 600;
                text-wrap: balance;
            }

                .ffy-ssme-lending .content-header .row .col-7 span.title:nth-of-type(2) {
                    margin-bottom: 4px;
                }

            .ffy-ssme-lending .content-header span.price {
                color: var(--txt-color-yellow-1);
                font-size: var(--ibm-plex-xxs);
                line-height: 24px;
                font-weight: 500;
            }

    .ffy-ssme-lending .tab-content {
        font-size: var(--ibm-plex-xxxxs);
        line-height: 16px;
        font-weight: 400;
        color: var(--txt-color-purple-1);
        padding-bottom: 112px;
    }

        .ffy-ssme-lending .tab-content .content-card {
            display: flex;
            gap: 24px;
            padding: 24px;
            font-size: var(--ibm-plex-xxxxs);
            line-height: 16px;
            font-weight: 400;
            background-color: var(--bg-color-purple-button);
        }

        .ffy-ssme-lending .tab-content #desc-tab-pane .content-card {
            margin-bottom: 8px;
        }

        .ffy-ssme-lending .tab-content .content-title {
            font-size: var(--ibm-plex-xxxs);
            line-height: 20px;
            font-weight: 500;
            color: var(--txt-color-white-1);
        }

        .ffy-ssme-lending .tab-content .content-info span {
            line-height: 20px
        }

        .ffy-ssme-lending .tab-content #highlight-tab-pane img {
            width: 40px;
            height: 40px;
        }


        .ffy-ssme-lending .tab-content #desc-tab-pane .content-title, .ffy-ssme-lending .tab-content #desc-tab-pane .content-desc, .ffy-ssme-lending .tab-content #desc-tab-pane .content-remark {
            display: block;
            padding-bottom: 8px;
        }

        .ffy-ssme-lending .tab-content #desc-tab-pane .content-desc {
            display: list-item;
            margin-left: 24px;
            line-height: 20x;
            padding: 0;
        }

        .ffy-ssme-lending .tab-content #desc-tab-pane img {
            width: 24px;
            height: 24px;
            margin-right: 8px;
        }

        .ffy-ssme-lending .tab-content #desc-tab-pane .content-title {
            font-size: var(--ibm-plex-xxs);
            line-height: 24px;
            font-weight: 500;
        }

        .ffy-ssme-lending .tab-content #desc-tab-pane .content-remark {
            font-size: var(--ibm-plex-xxxxs);
            line-height: 16px;
            font-weight: 400;
        }

        .ffy-ssme-lending .tab-content .ffy-btn-link {
            background-color: var(--bg-color-purple);
            border-radius: 8px;
            padding: 8px;
            gap: 10px;
            font-size: var(--ibm-plex-xxxs);
            line-height: 20px;
            font-weight: 500;
            color: var(--txt-color-white-1);
            display: block;
            width: 100%;
            text-decoration: none;
        }

            .ffy-ssme-lending .tab-content .ffy-btn-link span {
                display: inline-block;
            }

            .ffy-ssme-lending .tab-content .ffy-btn-link img {
                display: inline-block;
                position: relative;
                float: right;
            }

    .ffy-ssme-lending .content-footer {
        padding: 48px 24px;
        gap: 8px;
        position: fixed;
        width: 100%;
        bottom: 0;
        background-color: var(--bg-color-purple);
        padding: 24px 24px 48px 24px;
        z-index: 1;
    }

        .ffy-ssme-lending .content-footer .ffy-btn-apply {
            background: var(--bg-color-button-sessiontimeout);
            border-radius: 4px;
            padding: 8px 12px;
            color: var(--txt-color-white-1);
            text-decoration: none;
            font-size: var(--ibm-plex-xxs);
            line-height: 24px;
            font-weight: 500;
        }

.ffy-product-banner {
    margin-left: -1rem;
    margin-right: -1rem;
}

/* END: SSME_Lending_Page */

/* START: ffy-card-lending*/

.ffy-card-lending {
    background-color: var(--bg-color-purple);
    margin-top: -52px;
}

.ffy-card-lending .nav-tabs#content-tabs {
    border: 0;
}

.ffy-card-lending .nav-tabs#content-tabs .nav-link {
    background-color: var(--bg-color-purple);
    color: var( --txt-color-purple-1);
    border: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    max-height: 60px;
    overflow: hidden;
}

.ffy-card-lending .nav-tabs#content-tabs .nav-item:first-child .nav-link {
    border-radius: 16px 0 0 0;
}

.ffy-card-lending .nav-tabs#content-tabs .nav-item:last-child .nav-link {
    border-radius: 0 16px 0 0;
}

.ffy-card-lending .nav-tabs#content-tabs .nav-link.active, .ffy-card-lending .nav-tabs#content-tabs .nav-link.hover {
    color: var(--txt-color-white-1);
    box-shadow: 0 2px var(--txt-color-white-1);
}

.ffy-card-lending .content-header {
    padding: 24px;
    gap: 8px;
}

.ffy-card-lending .content-header span {
    display: block;
    color: var(--txt-color-gray-4);
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 400;
}

.ffy-card-lending .content-header span.title {
    color: var(--txt-color-white-1);
    font-size: var(--ibm-plex-l);
    line-height: 32px;
    font-weight: 600;
    text-wrap: balance;
}

.ffy-card-lending .content-header .row .col-7 span.title:nth-of-type(2) {
    margin-bottom: 4px;
}

.ffy-card-lending .content-header span.price {
    color: var(--txt-color-yellow-1);
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    font-weight: 500;
}

.ffy-card-lending .tab-content {
    font-size: var(--ibm-plex-xxxxs);
    line-height: 16px;
    font-weight: 400;
    color: var(--txt-color-purple-1);
    padding-bottom: 112px;
}

.ffy-card-lending .tab-content .content-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    font-size: var(--ibm-plex-xxxxs);
    line-height: 20px;
    font-weight: 400;
    background-color: var(--bg-color-purple-button);
}

.ffy-card-lending .tab-content #desc-tab-pane .content-card {
    margin-bottom: 8px;
}

.ffy-card-lending .tab-content .content-title {
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
    color: var(--txt-color-white-1);
}

.ffy-card-lending .tab-content #highlight-tab-pane img {
    width: 40px;
    height: 40px;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-title {
    display: block;
    padding-bottom: 16px;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-remark {
    display: block;
    padding-top: 8px;
    padding-bottom: 16px;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-desc {
    display: list-item;
    margin-left: 24px;
}

.ffy-card-lending .tab-content #desc-tab-pane img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.ffy-card-lending .tab-content #desc-tab-pane img.ffy-icon-condition {
    width: 24px;
    height: 24px;
    margin-right: 0;
    display: flex;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-title {
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    font-weight: 500;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-title-cosregister {
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
    color: var(--txt-color-white-1);
    padding-bottom: 8px
}

.ffy-card-lending .tab-content #desc-tab-pane .content-desc-cosregister {
    display: list-item;
    margin-left: 24px;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-desc-cosregister {
    padding-bottom: 16px;
}

.ffy-card-lending .tab-content #desc-tab-pane .content-remark {
    font-size: var(--ibm-plex-xxxxs);
    line-height: 16px;
    font-weight: 400;
}

.ffy-card-lending .tab-content .ffy-btn-link {
    background-color: var(--bg-color-purple);
    border-radius: 8px;
    padding: 8px;
    gap: 10px;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
    color: var(--txt-color-white-1);
    display: block;
    width: 100%;
    text-decoration: none;
    margin-bottom: 10px;
}

.ffy-card-lending .tab-content .ffy-btn-link span {
    display: inline-block;
}

.ffy-card-lending .tab-content .ffy-btn-link img {
    display: inline-block;
    position: relative;
    float: right;
}

.ffy-card-lending .content-footer {
    padding: 48px 24px;
    gap: 8px;
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: var(--bg-color-purple);
    padding: 24px 24px 48px 24px;
    z-index: 1;
}

.ffy-card-lending .content-footer .ffy-btn-apply {
    background: var(--bg-color-button-sessiontimeout);
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--txt-color-white-1);
    text-decoration: none;
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    font-weight: 500;
}

.ffy-product-banner {
    margin-left: -1rem;
    margin-right: -1rem;
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card .content-cardscb {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.ffy-lending4u .lending4u-content-block .lending4u-content-card .content-cardscb .content-cardscb-text {
    display: flex;
    align-items: center;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 500;
    line-height: 20px;
    color: var(--txt-color-gray-2);
    word-wrap: break-word;
}

.ffy-card-lending.card-lendding {
    margin-left: calc(var(--bs-gutter-x) * .5 * -1) !important;
    margin-right: calc(var(--bs-gutter-x) * .5 * -1) !important;
    margin-bottom: 24px !important;
}

.ffy-card-lending.card-lendding .nav-item a.nav-link {
   /* padding-left: 0px !important;
    padding-right: 0px !important;*/
}

/* END: ffy-card-lending*/

/* START: ffy content pdf */
.ffy-content-pdf {
    width: 100%;
    height: 100%;
}

.ffy-content-pdf .ffy-pdf-embed {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.ffy-content-pdf .ffy-pdf-embed::-webkit-scrollbar {
    display: none;
}

.ffy-content-pdf .ffy-pdf-embed p {
    margin: 1rem;
}

.ffy-zoomcontent .ffy-btn-zoom {
    font-family: var(--font-ibm-plex);
}

/* END: ffy content pdf */

/* START: Modal Session Timeout */
#sessionTimeoutModal .modal-content {
    background-color: var(--bg-sessiontimeout);
    padding: 24px var(--ffy-padding-16) var(--ffy-padding-16) var(--ffy-padding-16);
    gap: 24px;
    border-radius: var(--ffy-radius-m);
    border: 1px solid var(--border-color-sessiontimeout);
}

#sessionTimeoutModal .modal-content .modal-body {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 !important;
}

#sessionTimeoutModal .modal-content .modal-body span {
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-white-1) !important;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

#sessionTimeoutModal .modal-content .modal-footer {
    padding: 0 !important;
}

#sessionTimeoutModal .modal-content .modal-footer .ffy-button-sstimeout{ 
    width: 100%;
    background-color: var(--bg-color-button-sessiontimeout);
    font-size: var(--ibm-plex-xxs);
    font-weight: 500;
    line-height: 24px;
    color: var(--txt-color-white-1);
    border: 0 !important;
    padding: 8px 12px 8px 12px;
    border-radius: 4px;
    margin: 0 !important;
}

.modal-backdrop.backdrop-sessiontimeout.show {
    opacity: 1 !important;
    background-color: var(--bg-backdrop-sessiontimeout);
}

/* END: Modal Session Timeout*/

/* START: Product Listing Card Widget*/

.ffy-card-lending .nav-tabs .nav-item .ffy-menuproduct-tag {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

.ffy-card-lending .nav-tabs .nav-item {
    width: 125px;
}

.content-card-text-detail {
    font-weight: 100;
    color: var(--txt-color-purple-1);
}

.ffy-card-lending.card-item {
    margin: 0px;
}

.ffy-card-lending.ffy-card-product {
    margin-left: calc(var(--bs-gutter-x) * .5 * -1);
    margin-right: calc(var(--bs-gutter-x) * .5 * -1);
}

.ffy-card-lending.card-item .nav-tabs#content-tabs .nav-link {
    max-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/*.ffy-card-lending.card-item .nav-tabs#content-tabs .nav-link[data-menuitem="Debit"] {
    max-height: 60px;
    min-width: 150px;
}*/

/* END: Product Listing Card Widget*/
/* START: npa content */
header.ffy-header.header-npa-list {
    border-bottom: 0px !important;
    background-color: var(--bg-color-purple4) !important;
}

.npa-header-content {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 412px;
}

.npa-header-content .npa-header-group {
    display: flex;
    z-index: 2;
    position: absolute;
    left: 24px;
    top: 44px;
    width: 320px;
    /*height: 188px;*/
    flex-direction: column;
    justify-content: space-between;
    padding-top: 7px; 
    gap: 24px;
}

.npa-header-content .npa-header-group .npa-header-logo {
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 6651.74px;
}

.npa-header-content .npa-header-group .npa-header-logo span {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    font-weight: 600;
    line-height: 21.29px;
    color: var(--txt-color-purple-3);
    position: relative;
    top: 2px;
}

.npa-header-content .npa-header-group .npa-header-logo .npa-logo-scb {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 15px;
    background-color: rgba(70, 34, 121, 1); 
    text-align: center;
}

.npa-header-content .npa-header-group .npa-header-logo .npa-logo-scb .npa-logo {
    width: 24px;
    height: 24px;
    border-radius: 15px;
}

.npa-header-content .npa-header-group .npa-header-title {
    display: flex;
    height: 71px;
    flex-direction: column;
    justify-content: space-between;
}

.npa-header-content .npa-header-group .npa-header-title .npa-title {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxl);
    font-weight: 500;
    line-height: 28.8px;
}

.npa-header-content .npa-header-group .npa-header-title .npa-subtitle {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-l);
    font-weight: 500;
}

.npa-header-content .npa-header-bg {
    display: flex;
    position: absolute;
    z-index: 1;
    height: 100%;
}

.npa-filter-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: -102px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.npa-filter-content .npa-filter-box {
    background-color: var(--bg-color-purple-button);
    padding: 24px;
    border-radius: 16px;
}

.npa-filter-content .npa-filter-box .npa-filter-title {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xs);
    text-align: center;
    line-height: 28px;
    color: var(--txt-color-yellow-1);
    margin-bottom: 16px;
}

.npa-filter-content .npa-filter-box .ffy-dropdown-container {
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    margin-bottom: 16px;
}

.npa-filter-content .npa-filter-box .ffy-dropdown-container::after{
    content: url('/getmedia/e0f62af0-5784-43a1-aff7-13b94ccacf87/ffy-icon-arrow-down-s-line.svg');
    position: absolute;
    top: 42px;
    right: 16px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.npa-filter-content .npa-filter-box .ffy-dropdown-container .dropdown-label{
    position: absolute;
    left: 16px;
    font-size: 12px;
    z-index: 2;
    color: var(--txt-color-purple-4);
    top: 2px;

}

.npa-filter-content .npa-filter-box .ffy-dropdown-container .dropdown{
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    color: var(--txt-color-white-1);
    background-color: var(--bg-color-purple2);
    border-radius: 999px;
    padding: 8px 14px;
    border: none;
    width: 100%;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.npa-filter-content .npa-filter-box .ffy-btn-apply a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    padding: 8px 12px;
    background-color: var(--bg-color-purple3);
    color: var(--txt-color-white-1);
    text-decoration: none;
    text-align: center;
}

.npa-list {
    padding-left: 16px;
    padding-right: 16px;
    background-color: var(--bg-color-purple4);
}

.npa-list .npalist-header-filter {
    display: flex;
        flex-direction: row;
    justify-content: space-between;
}

.npa-list .npalist-header-filter .ffy-input-filter {
    width: calc(100% - 32px);
}

.npa-list .npalist-header-filter .ffy-input-group {
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;
}

.npa-list .npalist-header-filter .ffy-input-group .input-label {
    position: absolute;
    left: 16px;
    font-size: 12px;
    z-index: 2;
    color: var(--txt-color-purple-4);
    top: 2px;
}

.npa-list .npalist-header-filter .ffy-input-group .input-text {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    color: var(--txt-color-white-1);
    background-color: var(--bg-color-purple2);
    border-radius: 999px;
    padding: 8px 14px;
    border: none;
    width: 100%;
    height: 40px;
    outline: none;
}

.npa-list .npalist-header-filter .ffy-input-filter .ffy-dropdown-container {
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    margin-bottom: 16px;
}

.npa-list .npalist-header-filter .ffy-input-filter .ffy-dropdown-container::after {
    content: url('/getmedia/e0f62af0-5784-43a1-aff7-13b94ccacf87/ffy-icon-arrow-down-s-line.svg');
    position: absolute;
    top: 42px;
    right: 16px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.npa-list .npalist-header-filter .ffy-input-filter .ffy-dropdown-container .dropdown-label{
    position: absolute;
    left: 16px;
    font-size: 12px;
    z-index: 2;
    color: var(--txt-color-purple-4);
    top: 2px;

}

.npa-list .npalist-header-filter .ffy-input-filter .ffy-dropdown-container .dropdown{
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    color: var(--txt-color-white-1);
    background-color: var(--bg-color-purple2);
    border-radius: 999px;
    padding: 8px 14px;
    border: none;
    width: 100%;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}


.npalist-btn-filter {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
}

.npalist-btn-filter.active::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #EE949D;
    border-radius: 50%;
}

.npa-list .npalist-btn-filter img {
    width: 24px;
    height: auto;
}

.resulte-filter {
    display: block;
    text-align: center;
    font-family: var(--font-noto-sans);
    font-weight: 400;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    margin-top: 16px;
    margin-bottom: 16px;
    color: var(--txt-color-purple-5);
}

.npa-list-block {
    display: block;
    text-decoration: none;
    margin-bottom: 16px;
}

.npa-list-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    /*margin-bottom: 16px;*/
}

.npa-list-content .npalist-content-img {
    height: 258px;
    width: 100%;
    position: relative;
    display: flex;
}

.npa-list-content .npalist-content-img img {
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.npa-list-content .npalist-content-img .content-img-top {
    display: flex;
    position: absolute;
    left: 16px;
    top: 16px;
}

.npa-list-content .npalist-content-img .content-img-top .content-top-group,
.npa-list-content .npalist-content-img .content-img-right .content-right-group{
    display: flex;
    gap: 7px;
}

.npa-list-content .npalist-content-img .content-img-top .content-top-group div {
    width: fit-content;
    height: fit-content;
    padding: 0 8px;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-gray-1);
    border-radius: 4px;
}

.npa-list-content .npalist-content-img .content-img-top .content-top-group .type-tag {
    background-color: #4A90E2;
}

.npa-list-content .npalist-content-img .content-img-top .content-top-group .sale-tag {
    background: linear-gradient(305.62deg, #C61425 33.76%, #600A12 102.58%);
}

.npa-list-content .npalist-content-img .content-img-top .content-top-group .sale-tag > img{
    width: 14px;
    height: 14px;
}

.npa-list-content .npalist-content-img .content-img-right {
    display: flex;
    position: absolute;
    right: 16px;
    width: 52px;
    height: 10px;
    z-index: 2;
    top: 68px;
}

.npa-list-content .npalist-content-img .content-img-right .content-right-group {
    flex-direction: column;
}

.npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance {
    width: 52px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 4px 2px;
    border-radius: 8px;
    background: linear-gradient(218.04deg, #7731C1 18.54%, #FCAF17 101.91%);

}

.npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance img {
    width: 16px;
    height: 16px;
}

.npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance span {
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxxs);
    font-weight: 400;
    line-height: 18px;
    color: var(--txt-color-purple-6);
}

.npa-list-content .npalist-content-text {
    height: 100%;
    position: relative;
    margin-top: -40px;
    background: linear-gradient(180deg, rgba(41, 22, 73, 0) 0%, #291649 15.71%, #6235AF 100%);
    z-index: 2;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 30px 16px 20px 16px;
}

.npa-list-content .npalist-content-text .content-text-title {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    font-weight: 500;
    line-height: 24px;
    color: var(--txt-color-white-1);
    padding-top: 8px;
}

.npa-list-content .npalist-content-text .content-text-localtion span,
.npa-list-content .npalist-content-text .content-text-detail span,
.npa-list-content .npalist-content-text .content-text-stat span {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 24px;
    color: var(--txt-color-purple-1);
}

.npa-list-content .npalist-content-text .content-text-price {
    padding-top: 16px;
    padding-bottom: 8px;
}

.npa-list-content .npalist-content-text .content-text-price .price .price-sum {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xs);
    font-weight: 600;
    line-height: 28px;
    color: var(--txt-color-yellow-1);
}

.npa-list-content .npalist-content-text .content-text-price .price .price-sum.decimal {
    font-size: var(--ibm-plex-xxxs);
    font-weight: 700;
    line-height: 20px;
}

.npa-list-content .npalist-content-text .content-text-price .price .price-full {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    text-decoration: line-through;
    color: var(--txt-color-purple-1);
    margin-left: 4px;
}

.npa-list-content .npalist-content-text .content-text-price .price .price-percent {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-red-1);
    margin-left: 4px;
}

.npa-list-content .npalist-content-text .content-text-price .discount span {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-purple-6);
    display: flex;
    gap: 4px;
}

.npa-list-content .npalist-content-text .content-text-localtion > span,
.npa-list-content .npalist-content-text .content-text-stat,
.npa-list-content .npalist-content-text .content-text-stat span {
    display: flex;
    gap: 4px;
}

.npa-list-content .npalist-content-text .content-text-detail {
    display: flex;
    gap: 8px;
}

.npa-list-content .npalist-content-text .content-text-detail > span {
    display: flex;
    gap: 2px;
}

/* END: npa content */

/* START: npa filter modal */
#npalistModal .modal-content {
    background-color: var(--bg-color-purple) !important;
}

#npalistModal .modal-content .modal-header {
    display: flex;
    padding: 54px 24px 16px 24px;
    border-bottom: 0 !important;
}

#npalistModal .modal-content .modal-header .modal-title{
    width: 100%;
    text-align: center;
    padding-right: 16px;
}

#npalistModal .modal-content .modal-footer {
    border-top: 0 !important;
    padding: 16px 24px 48px 24px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#npalistModal .modal-content .modal-footer .btn-apply,
#npalistModal .modal-content .modal-footer .btn-apply:has(:hover){
    color: var(--txt-color-white-1);
    text-decoration: none;
    width: 100%;
    text-align: center;
    background-color: var(--bg-color-purple3);
    padding: 8px 12px;
    border-radius: 999px;
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    font-weight: 500;
    line-height: 24px;
}

#npalistModal .modal-content .modal-footer .clear-filter-all {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxxs);
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    color: var(--txt-color-gray-1);
}

#npalistModal .modal-content .modal-body {
    padding: 24px
}

#npalistModal .modal-content .modal-body .sub-type {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 16px
}

#npalistModal .modal-content .modal-body .sub-type span{
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-purple-6);
}

#npalistModal .modal-content .modal-body .sub-type-content {
    display: grid;
    gap: 8px;
    padding-bottom: 16px;
    grid-template-columns: repeat(3, 1fr);
}

#npalistModal .modal-content .modal-body .sub-type-content .content-box {
    border-radius: 13px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #321551;
    width: 100%;
}

#npalistModal .modal-content .modal-body .sub-type-content .ffy-checkbox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--txt-color-purple-1);
    border: 0;
}
#npalistModal .modal-content .modal-body .sub-type-content .btn-check:checked + .btn.ffy-checkbox {
    color: #FFFBF5;
    background-color: #E59F15;
    border: 0;
}

#npalistModal .modal-content .modal-body .sub-type-content .btn-check:checked + .btn.ffy-checkbox img {
    filter: brightness(0) invert(1);
}

#npalistModal .modal-content .modal-body .sub-type-content .content-box img {
    width: 24px;
    height: 24px;
}

#npalistModal .modal-content .modal-body .sub-type-content .content-box span {
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxxxs);
    font-weight: 400;
    line-height: 16px;
    color: var(--txt-color-purple-1);
}

#npalistModal .modal-content .modal-body .sub-type-content .btn-check:checked + .btn.ffy-checkbox span {
    color: var(--txt-color-gray-6);
}

#npalistModal .modal-content .modal-body .ffy-dropdown-container {
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    margin-bottom: 16px;
}

#npalistModal .modal-content .modal-body .ffy-dropdown-container::after{
    content: url('/getmedia/e0f62af0-5784-43a1-aff7-13b94ccacf87/ffy-icon-arrow-down-s-line.svg');
    position: absolute;
    top: 42px;
    right: 16px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

#npalistModal .modal-content .modal-body .ffy-dropdown-container .dropdown-label{
    position: absolute;
    left: 16px;
    font-size: 12px;
    z-index: 2;
    color: var(--txt-color-purple-4);
    top: 2px;

}

#npalistModal .modal-content .modal-body .ffy-dropdown-container .dropdown{
    font-family: var(--font-ibm-plex);
    font-size: var(--ibm-plex-xxs);
    line-height: 24px;
    color: var(--txt-color-white-1);
    background-color: var(--bg-color-purple2);
    border-radius: 999px;
    padding: 8px 14px;
    border: none;
    width: 100%;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

/* END: npa filter modal */


/* START: NPA Asset Detail */


.ffy-npa-detail hr {
    color: #48505E;
}

.ffy-npa-detail .alert {
    display: block;
    left: 2.5%;
    width: 95%;
    position: fixed;
    z-index: 2;
    background: #4CAF50;
    padding: 16px 8px 16px 8px;
    border-radius: 8px;
    border: 8px;
}

.ffy-npa-detail .alert .icon {
    width: 24px;
    height: 24px;
}

.ffy-npa-detail .alert .text {
    display: inline-block;
    font-weight: 400;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    color: var(--txt-color-white-1);
    margin-bottom: 0px;
}

.ffy-npa-detail .alert.alert-danger .ffy-alert span {
    display: none;
}

.ffy-npa-detail .alert .ffy-alert span {
    padding-right: 4px;
}

.ffy-npa-detail .alert-success {
    background: #4CAF50;
}
.ffy-npa-detail .alert-danger {
    background: #E14554;
}

.ffy-npa-detail .content {
    padding-bottom: 120px
}

    .ffy-npa-detail .content .header p.title {
        font-weight: 500;
        font-size: var(--ibm-plex-s);
        line-height: 30px;
        color: var(--txt-color-gray-1);
        margin-top: 1rem;
    }

    .ffy-npa-detail .content .header .sub-title {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxxs);
        line-height: 16px;
        color: #C7BCD9;
    }

    .ffy-npa-detail .content .header .price .price1 {
        font-weight: 700;
        font-size: 30px;
        line-height: 20px;
        color: var(--txt-color-yellow-1);
    }

    .ffy-npa-detail .content .header .price .price2 {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: var(--txt-color-purple-1);
        text-decoration: line-through;
    }

    .ffy-npa-detail .content .header .price .price3 {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: #E14554;
    }

    .ffy-npa-detail .content .header .price-info img.icon {
        width: 14px;
        height: 14px;
    }

    .ffy-npa-detail .content .header .price-info span.text {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: #F7F5F9;
    }

    .ffy-npa-detail .content .content-title {
        font-weight: 500;
        font-size: var(--ibm-plex-s);
        line-height: 30px;
        color: var(--txt-color-gray-1);
        border-left: 8px solid #7731C1;
        height: 30px;
        display: block;
        padding-left: 8px;
        margin-bottom: 8px;
    }

    .ffy-npa-detail .content .detail .info .info-item, .ffy-npa-detail .content .contact .info .info-item {
        padding: 12px 8px 12px 8px;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
    }

    .ffy-npa-detail .content .detail .info .row:nth-child(odd) .info-item {
        background-color: var(--bg-color-purple-button);
    }
    .ffy-npa-detail .content .contact .info .row:nth-child(even) .info-item {
        background-color: var(--bg-color-purple-button);
    }

    .ffy-npa-detail .content .detail .info img.icon, .ffy-npa-detail .content .contact .info img.icon {
        width: 24px;
        height: 24px;
    }

    .ffy-npa-detail .content .detail .info span.title, .ffy-npa-detail .content .contact .info span.title {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: var(--txt-color-gray-1);
    }

    .ffy-npa-detail .content .detail .info span.desc, .ffy-npa-detail .content .contact .info span.desc {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: var(--txt-color-purple-5);
    }

    .ffy-npa-detail .content .map-wrapper {
        display: block;
        overflow: hidden;
        width: 100%;
        height: 170px;
        border-radius: 16px;
        transform: translateZ(0px);
    }
    .ffy-npa-detail .content .download {
        margin-top: 16px;
    }

        .ffy-npa-detail .content .download a.btn {
            display: block;
            width: 100%;
            padding: 8px 12px 8px 12px;
            border-radius: 999px 0px 0px 0px;
            background-color: #7731C1;
            border-radius: 999px;
            text-align: center;
        }

            .ffy-npa-detail .content .download a.btn img.icon {
                width: 24px;
                height: 24px;
            }

            .ffy-npa-detail .content .download a.btn span.text {
                font-weight: 400;
                font-size: var(--ibm-plex-xs);
                line-height: 28px;
                color: var(--txt-color-white-1);
            }

.ffy-npa-detail .highlight .detail {
    font-weight: 400;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    color: var(--txt-color-gray-1);
}










.ffy-npa-detail .content-footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: var(--bg-color-purple);
    padding: 24px 16px 48px 16px;
    z-index: 1;
}

.ffy-npa-detail .content-footer a {
    width: 100%;
    padding: 8px 12px 8px 12px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(90.94deg, #7731C1 0%, #FDBF46 100%);
}
    .ffy-npa-detail .content-footer a.disabled {
        filter: grayscale(0.8);
    }
.ffy-npa-detail .content-footer a span {
    font-weight: 500;
    font-size: var(--ibm-plex-xs);
    line-height: 28px;
    color: var(--txt-color-white-1);
}

.ffy-npa-detail .ffy-npa-banner .ffy-slide-content {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 332px;
    position: relative;
    font-size: var(--ibm-plex-xxxs);
    font-weight: 400;
    line-height: 20px;
    color: var(--txt-color-gray-1);
}

.ffy-npa-detail #albumModal {
    width: 100%;
}

    .ffy-npa-detail #albumModal .modal-dialog {
        margin: 0px;
        max-width: 100%;
    }

    .ffy-npa-detail #albumModal .modal-content {
        height: 100%;
        background-color: var(--bg-color-purple4);
    }
        .ffy-npa-detail #albumModal .modal-content .gallery {
            padding: 1rem 0px;
            margin: 8px -32px 0px -32px;
        }
        .ffy-npa-detail #albumModal .modal-content .ffy-npa-modal-swipe .ffy-slide-content {
            display: block;
            font-size: 12px;
            font-weight: 500;
            line-height: 16px;
            color: #858D9D;
            text-align: center;
            text-decoration: none;
        }

        .ffy-npa-detail #albumModal .modal-content .ffy-npa-modal-swipe img {
            width: 85px;
            height: 85px;
            border-radius: 16px;
            margin-bottom: 8px;
        }

        .ffy-npa-detail #albumModal .modal-content .pics .row[id], .ffy-npa-detail #albumModal .modal-content .pics #top {
            padding-top: 274px;
            margin-top: -274px;
        }

        .ffy-npa-detail #albumModal .modal-content .pics .row[id] {
            display: none;
        }

            .ffy-npa-detail #albumModal .modal-content .pics .row[id].show {
                display: flex;
            }

        .ffy-npa-detail #albumModal .modal-content .pics img {
            width: 100%;
            margin-top: 16px;
            margin-bottom: 16px;
            border-radius: 16px;
        }

.ffy-npa-detail #dropModal .modal-content {
    background: linear-gradient(180deg, #201137 0%, #5B319D 100%);
}

.ffy-npa-detail #dropModal .modal-header {
    border-bottom: none;
    margin-bottom: -40px;
    z-index: 1;
}

    .ffy-npa-detail #dropModal .modal-header .icon {
        margin-left: auto;
    }

.ffy-npa-detail #dropModal .modal-body .text-1 {
    font-weight: 500;
    font-size: var(--ibm-plex-xs);
    line-height: 28px;
    color: var(--txt-color-white-1);
}

.ffy-npa-detail #dropModal .modal-body .text-2 {
    font-weight: 400;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    color: var(--txt-color-gray-1);
}

.ffy-npa-detail #dropModal .modal-body .text-3 {
    font-weight: 500;
    font-size: var(--ibm-plex-s);
    line-height: 30px;
    color: var(--txt-color-yellow-1);
}

.ffy-npa-detail #dropModal .modal-body .text-4 {
    font-weight: 400;
    font-size: var(--ibm-plex-xxxxs);
    line-height: 16px;
    color: #C7BCD9;
}

.ffy-npa-detail #dropModal .modal-body a {
    width: 100%;
    padding: 8px 12px 8px 12px;
    border-radius: 999px;
    background: linear-gradient(90.94deg, #7731C1 0%, #FDBF46 100%);
    border: 0;
}

    .ffy-npa-detail #dropModal .modal-body a span {
        font-weight: 500;
        font-size: var(--ibm-plex-xs);
        line-height: 28px;
        color: var(--txt-color-white-1);
    }

.ffy-npa-detail .ffy-npa-location-swipe {
    padding-top: 8px;
    padding-bottom: 8px;
}

    .ffy-npa-detail .ffy-npa-location-swipe .nav-item {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }

    .ffy-npa-detail .ffy-npa-location-swipe button.nav-link {
        background: #2F1755;
        color: var(--txt-color-white-1);
        padding: 8px 10px;
        border-radius: 47px;
        white-space: nowrap;
    }

        .ffy-npa-detail .ffy-npa-location-swipe button.nav-link.active {
            background: var(--txt-color-yellow-1);
        }

        .ffy-npa-detail .ffy-npa-location-swipe button.nav-link img {
            width: 24px;
            height: 24px;
        }

        .ffy-npa-detail .ffy-npa-location-swipe button.nav-link span {
            font-size: var(--ibm-plex-xxxs);
            font-weight: 400;
            line-height: 20px;
        }

.ffy-npa-detail .ffy-npa-location-content {
    margin-top: 8px;
    margin-bottom: 8px;
}

    .ffy-npa-detail .ffy-npa-location-content .d-flex {
        padding-bottom: 8px;
    }

    .ffy-npa-detail .ffy-npa-location-content .tab-pane {
        font-size: var(--ibm-plex-xxxs);
        font-weight: 400;
        line-height: 20px;
        padding-bottom: 8px;
    }

        .ffy-npa-detail .ffy-npa-location-content .tab-pane span.title {
            color: var(--txt-color-gray-1);
        }

        .ffy-npa-detail .ffy-npa-location-content .tab-pane span.distance {
            color: var(--txt-color-purple-5);
            min-width: 56px;
            text-align: right;
        }

.npaasset-back {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    position: absolute;
    top: 40px;
    left: 16px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(32, 32, 32, 0.4);
    justify-content: center;
}

.npaasset-back img {
    width: 24px;
    height: auto;
}
.ffy-npa-detail .swiper-wrapper {
    position: relative;
}
.ffy-npa-detail .ffy-slide-content-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: var(--txt-color-white-1);
    z-index: 1;
}
    .ffy-npa-detail .ffy-slide-content-info .text-blue-box {
        padding-right: 8px;
        padding-left: 8px;
        border-radius: 4px;
        margin-right: 4px;
        background: #4A90E2;
    }

    .ffy-npa-detail .ffy-slide-content-info .text-red-box {
        padding-right: 8px;
        padding-left: 8px;
        border-radius: 4px;
        margin-right: 4px;
        background: linear-gradient(305.62deg, #C61425 33.76%, #600A12 102.58%);
    }
.ffy-npa-detail .ffy-slide-content-total {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 1;
}
.ffy-npa-detail .content .contact .info span.desc {
    color: var(--txt-color-purple-4);
    text-decoration: underline;
}

.npa-header-content .npa-header-group .npaasset-back {
    position: relative;
    top: 0;
    left: 0;
}

/* END: NPA Asset Detail */
/* START: RecommendCategories */
.rec-cat {
    padding-bottom: 8px;
}

    .rec-cat .content-title {
        font-weight: 500;
        font-size: var(--ibm-plex-s);
        line-height: 30px;
        color: var(--txt-color-gray-1);
        border-left: 8px solid #7731C1;
        height: 30px;
        display: block;
        padding-left: 8px;
        margin-bottom: 8px;
    }

    .rec-cat .tagCloud.row {
        padding-right: calc(var(--bs-gutter-x)* .5);
        padding-left: calc(var(--bs-gutter-x)* .5);
    }

    .rec-cat .tagCloud .col-6 {
        padding: 4px;
    }

    .rec-cat .tagCloud img {
        margin-right: 8px;
    }

    .rec-cat .tagCloud a {
        font-size: var(--ibm-plex-xxs);
        font-weight: 400;
        line-height: 24px;
        text-decoration: none;
        display: block;
        width: 100%;
        padding: 18px;
        border-radius: 8px;
        color: var(--txt-color-white-1);
        background: var(--Colors-Background-bg-secondary, #291649);
    }

/* END: RecommendCategories */
@media only screen and (width: 375px) {
    .ffy-productlisting .productlisting-content-block .productlisting-content-card .content-card-img {
        width: 160px;
        height: 120px;
    }

    .ffy-header-banner.swiper .swiper-slide.ffy-slide-box {
        width: 299px !important;
        height: 168.19px !important;
    }
}

@media only screen and (max-width: 361px) {
    .ffy-lending4u {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
    }
}

@media only screen and (min-width: 430px) {
    header.ffy-header {
        font-size: var(--ibm-plex-s);
    }

    .ffy-header-banner.swiper .ffy-slide-content .ffy-slide-tag > span {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-menuitem-content .ffy-menuitem-tabs .ffy-menuitem-group {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-listmenu-content .ffy-listmenu-tabs .ffy-listmenu-group {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-productmenu .ffy-menuproduct-group .ffy-menuproduct-tag, .ffy-productmenu2 .ffy-menuproduct-group .ffy-menuproduct-tag {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-lending4u .lending4u-header-title {
        font-size: var(--ibm-plex-s);
    }

    .ffy-lending4u .lending4u-content-block .lending4u-content-card .content-card-text {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-productlisting .productlisting-header-title {
        font-size: var(--ibm-plex-s);
    }

    .ffy-productlisting .productlisting-content-block .productlisting-content-card .content-card-text {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-ssme-lending .content-header span,
    .ffy-card-lending .content-header span {
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-ssme-lending .content-header span.title,
    .ffy-card-lending .content-header span.title{
        font-size: var(--ibm-plex-xl);
    }

    .ffy-ssme-lending .content-header span.price,
    .ffy-card-lending .content-header span.price{
        font-size: var(--ibm-plex-xs);
    }

    .ffy-ssme-lending .tab-content,
    .ffy-card-lending .tab-content {
        font-size: var(--ibm-plex-xxxs);
    }

    .ffy-ssme-lending .tab-content .content-card,
    .ffy-card-lending .tab-content .content-card{
        font-size: var(--ibm-plex-xxxs);
    }

    .ffy-ssme-lending .tab-content .content-title,
    .ffy-card-lending .tab-content .content-title{
        font-size: var(--ibm-plex-xxs);
    }

    .ffy-ssme-lending .tab-content #desc-tab-pane .content-title,
    .ffy-card-lending .tab-content #desc-tab-pane .content-title{
        font-size: var(--ibm-plex-xs);
    }

    .ffy-ssme-lending .tab-content #desc-tab-pane .content-remark,
    .ffy-card-lending .tab-content #desc-tab-pane .content-remark{
        font-size: var(--ibm-plex-xxxs);
    }

    .ffy-ssme-lending .tab-content .ffy-btn-link,
    .ffy-card-lending .tab-content .ffy-btn-link {
        font-size: var(--ibm-plex-xxs);
    }
    .ffy-ssme-lending .content-footer .ffy-btn-apply,
    .ffy-card-lending .content-footer .ffy-btn-apply {
        font-size: var(--ibm-plex-xs);
    }
}

/* START: Fin4u Custom Selector Dropdown */

.ffy-select * {
    font-family: var(--font-sukhumvit);
}

.ffy-select {
    position: relative;
    width: 100%;
    padding-bottom: 16px;
}

.ffy-select .dropdowns-label {
    position: absolute;
    left: 16px;
    font-size: 12px;
    z-index: 2;
    color: var(--txt-color-purple-4);
    top: -8px;
    font-weight: 500;
    line-height: 16px;
}

.ffy-select .options input[type="radio"]{
    display: none;
}
.ffy-select .selected {
    position: relative;
    background-color: var(--bg-color-purple2);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--txt-color-white-1);
    font-weight: 500;
    line-height: 26px;
}

.ffy-select .selected::after {
    content: "";
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    background: url("../Content/Images/arrow-down-s-line.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.4s;
}

.ffy-select .options {
    position: absolute;
    background-color: var(--border-color-purple);
    border-radius: 8px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
    padding: 0;
    opacity: 0;
    z-index: 3;
}

.ffy-select .options.active {
    max-height: 276px;
    opacity: 1;
    overflow-y: scroll;
}

.ffy-select .active.selected::after{
    transform: rotateX(180deg) translateY(50%);
}

.ffy-select .options::-webkit-scrollbar {
    width: 0.375rem;
}

.ffy-select .options::-webkit-scrollbar-thumb {
    background-color: var(--bg-color-purple2);
    border-radius: 0 6px 6px 0;
}

.ffy-select .option {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: var(--ibm-plex-xxxs);
    color: var(--txt-color-gray-1);
    font-weight: 500;
    line-height: 20px;
}

.ffy-select .option:hover,
.ffy-select .option.option-selected {
    background-color: var(--bg-color-purple4);
}

.ffy-select .search-box .search-empty {
    display: none;
    padding: 8px 0;
    font-weight: bold;
    font-family: var(--font-sukhumvit);
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
}

/* END: Fin4u Custom Selector Dropdown */

/* START: */
#albumModal .modal-body {
    padding: 0 16px 24px 16px;
}

#albumModal .modal-body .sticky-top {
    background-color: var(--bg-color-purple4);
    padding: 54px 24px 16px 24px
}

#albumModal .modal-body .sticky-top .text-start {
    padding: 0 !important;
}

/* END: */

.btn-mapNpa {
    display: flex;
    height: 100%;
    color: transparent;
    text-decoration: none;
}

/* START: Custom Selector Dropdown V.2 */

/* ddl location */
.ffy-location .dropdown-container {
    position: relative;
    /*display: inline-block;*/
}
.ffy-location .dropdown-button {
    /*background-color: #4e2a84;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;*/
}
.ffy-location .dropdown-list {
    /*display: none;*/
    position: absolute;
    background-color: var(--border-color-purple);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    /*overflow-y: auto;*/
    /*z-index: 1000;*/
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
    padding: 0;
    opacity: 0;
    z-index: 3;
}

.ffy-location .dropdown-list.active {
    display: block;
    max-height: 300px;
    opacity: 1;
    overflow-y: scroll;
}

.ffy-location .dropdown-list .collapsible-header label {
    display: block;
    cursor: pointer;
    padding: 0px;
    font-family: var(--font-sukhumvit) ;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
}

.ffy-location .dropdown-list .nested-dropdown label {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
    font-family: var(--font-sukhumvit) ;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
}

.ffy-location .dropdown-list label:hover {
    /*background-color: var(--bg-color-purple4);*/
}
.ffy-location .dropdown-list input[type="checkbox"] {
    margin-right: 10px;
    top: 3px;
}

.ffy-location .dropdown-list input[disabled].level-1{
    background-color: #808080;
}

.ffy-location .search-box {
    padding: 8px 16px;
}

.ffy-location .search-box input {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    outline: none;
}
.ffy-location .collapsible-header {
    cursor: pointer;
    padding: 8px 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
}

.ffy-location .collapsible-header.active {
    background-color: var(--bg-color-purple4);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1020;
}

.ffy-location .collapsible-header:not(#selected-all)::after {
    content: "";
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    right: 10px;
    width: 1.5rem;
    height: 1.5rem;
    background: url("../Content/Images/arrow-down-s-line.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.4s;
}

.ffy-location .active.collapsible-header:not(#selected-all)::after {
    transform: rotateX(180deg) translateY(50%);
}

.ffy-location .nested-dropdown {
    padding-left: 16px;
    border-left: 2px solid #663399;
}

.ffy-location label {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 8px;
    cursor: pointer;
}

.ffy-location .search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.ffy-location .search-box input:focus {
    outline: none;
    border-color: #4caf50;
}


/* ddl asset type */

.ffy-typeasset .custom-dropdown {
    position: relative;
    /*display: inline-block;*/
    width: 100%;
}

.ffy-typeasset .dropdown-content {
    /*display: none;*/
    position: absolute;
    background-color: var(--border-color-purple); /* สีพื้นหลังใน dropdown */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    z-index: 1;
    border-radius: 8px; /* มุมมน */
    /*overflow-y: auto;*/
    /*z-index: 1000;*/
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
    padding: 0;
    opacity: 0;
    z-index: 3;
}

.ffy-typeasset .dropdown-content.active {
    display: block;
    max-height: 276px;
    opacity: 1;
    overflow-y: scroll;
}

.ffy-typeasset .tabs {
    display: flex;
}

.ffy-typeasset .tabs button {
    flex: 1;
    padding: 16px;
    background-color: transparent;
    border: none;
    color: var(--txt-color-purple-1); /* สีตัวอักษรในแท็บ */
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-ibm-plex);
    font-weight: 600;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;

}

.ffy-typeasset .tabs button.active {
    border-bottom: 2px solid #ffffff;
    color: var(--txt-color-white-1);
}

.ffy-typeasset .tab-content {
    display: none;
    color: var(--txt-color-white-1); /* สีตัวอักษร */
}

.ffy-typeasset .tab-content.active {
    display: block;
}

.ffy-typeasset .dropdown-content label {
    display: block;
    font-family: var(--font-sukhumvit);
    font-size: var(--ibm-plex-xxxs);
    font-weight: 500;
    line-height: 20px;
    color: var(--txt-color-white-1);
    padding: 8px 16px;
}

.ffy-typeasset .dropdown-content input[type="checkbox"] {
    margin-right: 10px;
}


  /* ซ่อน checkbox ดั้งเดิม */
.ffy-typeasset .custom-dropdown input[type="checkbox"],
.ffy-location input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background-color: transparent;
    border: 1px solid #D0D3D9;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

/* สีพื้นหลังเมื่อ checkbox ถูกเลือก */
.ffy-typeasset .custom-dropdown input[type="checkbox"]:checked,
.ffy-location input[type="checkbox"]:checked{
    background-color: #EEEFF1;
    border-color: #EEEFF1;
}

.ffy-typeasset .custom-dropdown input[type="checkbox"].any-check::after,
.ffy-location input[type="checkbox"].any-check::after{
    content: "";
    background-color: #EEEFF1;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    position: absolute;
    top: 2px;
    left: 2px;
}

/* สัญลักษณ์ถูกเลือก */
.ffy-typeasset .custom-dropdown input[type="checkbox"]:checked::after,
.ffy-location input[type="checkbox"]:checked::after{
    content: url('../Content/Images/icon-checked.svg');
    /*content: '✔';*/
    position: absolute;
    color: #4B2884;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* สไตล์ label */
.ffy-typeasset .custom-dropdown label {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 8px;
    cursor: pointer;
}

.ffy-typeasset .custom-dropdown .dropdown-content .tab-content label {
    font-family: var(--font-sukhumvit);
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    font-weight: 500;
}

/* END: Custom Selector Dropdown V.2 */

/* skeleton Load */

.skeleton-card {
    height: 445px;
    width: 100%;
    border-radius: 16px;
    transition: all 200ms ease-in-out;
    position: relative;
    background-color: #6235AF;
    overflow: hidden;
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 16px;
    bottom: 0;
    left: 16px;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
    animation: load 1s infinite;
}

@keyframes load {
    0% {
        transform: translateX(-100%); /* เริ่มต้นนอกกรอบ */
    }

    100% {
        transform: translateX(calc(100% - 32px)); /* จบโดยเว้นห่างจากขอบขวา 16px */
    }
}

@media screen and (prefers-reduced-motion: reduce) {
    .skeleton-card::after {
        animation: none;
    }
}

/* style form npa_list_lendding index.cshtml */
[pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter {
    display: flex;
    justify-content: space-between;
}

[pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter a.sort-btn {
    text-decoration: none;
    font-weight: 400;
    font-size: var(--ibm-plex-xxxs);
    line-height: 20px;
    color: var(--txt-color-purple-5);
    position: relative;
    padding-right: 24px;
}

    [pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter a.sort-btn::after {
        content: url('/getmedia/e0f62af0-5784-43a1-aff7-13b94ccacf87/ffy-icon-arrow-down-s-line.svg');
        position: absolute;
        border: 0;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter .sort-list.dropdown-menu {
        background: var(--border-color-purple);
        min-width: 208px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter .sort-list.dropdown-menu .text-1 {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: var(--txt-color-white-1);
    }

    [pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter .sort-list.dropdown-menu .text-2 {
        font-weight: 400;
        font-size: var(--ibm-plex-xxxs);
        line-height: 20px;
        color: var(--txt-color-purple-5);
    }

    [pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter .sort-list .dropdown-item {
        display: inline-flex;
        gap: 8px;
        --bs-dropdown-link-hover-bg: transparent;
    }

[pagetype="FIN4U_NPA_List_Lendding"] .npa-list-content .favourite {
    display: flex;
    position: absolute;
    right: 16px;
    top: 16px;
}

    [pagetype="FIN4U_NPA_List_Lendding"] .npa-list-content .favourite img {
        width: 36px;
        height: 36px;
    }

[pagetype="FIN4U_NPA_List_Lendding"] .npa-list-footer-bar {
    position: fixed;
    bottom: 0;
    padding: 16px 10px 16px 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

    [pagetype="FIN4U_NPA_List_Lendding"] .npa-list-footer-bar .footer-bar {
        padding: 16px 24px 16px 24px;
        border-radius: 999px;
        background: var(--bg-color-purple3);
        width: 128px;
        display: flex;
        justify-content: space-between;
    }

        [pagetype="FIN4U_NPA_List_Lendding"] .npa-list-footer-bar .footer-bar img {
            width: 24px;
            height: 24px;
        }

[pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content, [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content {
    background-color: var(--bg-color-purple) !important;
}

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-header, [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-header, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-header {
        display: flex;
        padding: 54px 24px 16px 24px;
        border-bottom: 0 !important;
        background: var(--bg-color-purple4);
    }

        [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-header .modal-title, [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-header .modal-title, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-header .modal-title {
            width: 100%;
            text-align: center;
            padding-right: 16px;
        }

            [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-header .modal-title .text-2, [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-header .modal-title .text-2, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-header .modal-title .text-2 {
                display: block;
                font-size: 12px;
                font-weight: 400;
                line-height: var(--ibm-plex-xxs);
                color: var(--txt-color-purple-5);
            }

    [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list {
        position: relative;
    }
        [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .d-flex.flex-column, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list .d-flex.flex-column {
            margin-top: 30%;
        }

        [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .no-house, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list .no-house {
            width: 80px;
            height: 80px;
        }

        [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .title, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list .title {
            font-size: var(--ibm-plex-xxs);
            font-weight: 500;
            line-height: 24px;
            padding-top: 24px;
            padding-bottom: 16px;
        }

        [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .text-1, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list .text-1 {
            font-size: var(--ibm-plex-xxs);
            font-weight: 400;
            line-height: 20px;
            text-align: center;
            color: #B9BDC7;
            padding-bottom: 24px;
        }

        [pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .search-btn, [pagetype="FIN4U_NPA_List_Lendding"] #dropLeadModal .modal-content .modal-body .dropLead-list .search-btn {
            padding: 8px 12px 8px 12px;
            border-radius: 999px;
            border: 1px solid var(--txt-color-purple-5);
            color: var(--txt-color-purple-5);
            font-size: var(--ibm-plex-xs);
            font-weight: 500;
            line-height: 28px;
            text-decoration: none;
        }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .map-list {
        width: 100%;
        height: 241px;
        position: fixed;
        bottom: 16px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-block {
        min-width: 250px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .map-list .npa-list-content .npalist-content-img {
        height: 114px;
    }


    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance {
        width: 30px;
        height: 30px;
    }

        [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance img {
            width: 12px;
            height: 12px;
        }

        [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-right .content-right-group .content-distance span {
            font-size: 8px;
            line-height: 8px;
        }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-top {
        top: unset;
        bottom: 8px;
        left: unset;
        right: 8px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .favourite {
        top: 8px;
        right: 8px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-right {
        top: 8px;
        left: 8px;
        right: unset;
        bottom: unset;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text {
        background: #291649;
        margin: 0px;
        padding: 8px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-img .content-img-top .content-top-group div {
        font-size: 10px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-title {
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-localtion {
        display: none;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-stat span {
        font-size: 9px;
        font-weight: 400;
        line-height: 20px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-stat img {
        width: 12px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-price {
        padding-top: 0px;
        padding-bottom: 0px;
    }

        [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-price .price .price-sum {
            font-size: 14px;
            font-weight: 600;
            line-height: 20px;
        }

            [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-price .price .price-sum.decimal {
                font-size: 11px;
                font-weight: 400;
                line-height: 20px;
            }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-price .price .price-full {
        font-size: 11px;
        font-weight: 400;
        line-height: 20px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .content-text-price .price .price-percent {
        font-size: 12px;
        font-weight: 400;
        line-height: 20px;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .modal-body .npa-list-content .npalist-content-text .discount {
        display: none !important;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content #map {
        height: 100vh; /* Full screen height */
        width: 100%; /* Full width */
    }
    /* สไตล์สำหรับ Custom Marker */
    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .custom-marker {
        background-color: #e33d3d;
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
        cursor: pointer; /* เปลี่ยนเป็นมือชี้เมื่อ hover */
        position: absolute;
    }

    [pagetype="FIN4U_NPA_List_Lendding"] #mapModal .modal-content .custom-marker:hover {
        background-color: #a9d232; /* สีที่เปลี่ยนเมื่อ hover */
        /*transform: scale(1.1); !* ขยาย Marker เล็กน้อยเมื่อ hover *!*/
        /*z-index: 10; !* นำ Marker ขึ้นมาอยู่ด้านบน *!*/
    }

[pagetype="FIN4U_NPA_List_Lendding"] .resulte-filter .dropdown-item.selected::after {
    content: url(/getmedia/40507864-a54a-487a-a4cc-208fd3002b72/checkbox-circle-fill.png);
    position: absolute;
    border: 0;
    right: 4px;
    transform: scale(0.75);
    line-height: 0px;
}

[pagetype="FIN4U_NPA_Asset_Detail_Lendding"] .favourite {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    position: absolute;
    top: 40px;
    right: 16px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(32, 32, 32, 0.4);
    justify-content: center;
}

[pagetype="FIN4U_NPA_Asset_Detail_Lendding"] .favourite img {
    width: 100%;
}

/* Fancybox */
.fancybox__container {
    z-index: 1056;
}
.swiper-slide.ffy-slide-box a.active img {
    box-shadow: 0px 0px 2px 4px #E59F15;
}
.swiper-slide.ffy-slide-box a span {
    display: block;
}
.swiper-slide.ffy-slide-box a.active span {
    color: #E59F15;
}
.ffy-npa-detail #albumModal .modal-content .pics {
    min-height: 100vh;
}
[pagetype="FIN4U_NPA_List_Lendding"] #favouriteModal .modal-content .modal-body .favourite-list .text-1 img {
    width: 24px;
    height: 24px;
}
#redirectModal.modal {
    text-align: center;
    background: transparent;
    overflow: hidden;
}

    #redirectModal.modal .modal-dialog {
        padding: 32px;
    }

    #redirectModal.modal .modal-content {
        background-color: #F4F4F4;
    }

    #redirectModal.modal .modal-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 16px;
    }

    #redirectModal.modal .modal-footer {
        justify-content: center;
        padding: 16px;
    }

    #redirectModal.modal span {
        font-family: var(--font-db-heavent);
        color: #48505E;
        font-size: var(--ibm-plex-s);
        font-weight: 400;
        padding: 8px 0px;
        line-height: 20px;
    }

        #redirectModal.modal span.title {
            font-family: var(--font-db-heavent);
            color: #2B2F38;
            font-size: var(--ibm-plex-m);
            font-weight: 500;
            margin-bottom: 8px;
            line-height: 22px;
            padding-top: 0px;
        }

    #redirectModal.modal a {
        font-family: var(--font-db-heavent);
        color: #3B85CB;
        text-decoration: none;
        font-size: var(--ibm-plex-s);
        font-weight: 500;
        margin: 0px;
        line-height: 22px;
    }