.bg-products2>div {
    width: 100%;
    height: 437px;
    max-height: 437px;
}

.img-products2 {
    background: url(../images/banner/know.webp) #D9D9D9;
    background-color: #BFAC00;
    background-blend-mode: multiply;
    background-position: center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;

}

.cus-container {
    margin-top: 3rem;
}

.r-detail {
    margin-bottom: 1rem;
}

.text-gold {
    color: #FFD96B;
}

.products-2 {
    font-weight: 700;
    font-size: 71px;
    line-height: 100%;
    margin-left: 89px;
}

.download-box {
    background-color: rgba(176, 159, 0, 0.44);
    border-radius: 12px;
    color: #fff;
    padding: 16px 18px;
    max-width: 220px;
    font-size: 0.7rem;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;

    /* ---- ชิดขวา ---- */
    margin-left: auto;
    margin-right: 16px;
    /* ปรับระยะห่างจากขอบขวา */
    margin-top: 20px;
}


.download-box p {
    margin: 0 0 10px 0;
}

.btn-dowload {
    display: block;
    background-color: #FFD96B;
    color: #333;
    width: 180px;
    /* เล็กลง */
    height: 35px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px auto 0 auto;
    /* ปุ่มอยู่กลาง */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.btn-dowload:hover {
    background-color: #ffeb8f;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}


.title-topic {
    color: rgba(255, 217, 107, 1) !important;
    font-weight: bold;
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    line-height: clamp(2rem, 4vw, 3rem);
}

.title-sub-topic {
    color: rgba(255, 217, 107, 1) !important;
    font-weight: bold;
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    line-height: clamp(1.8rem, 4.5vw, 3rem);
}

.title-sub {
    margin-top: 1rem;
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: clamp(1.5rem, 4vw, 1.8rem);
}

.txt-content {
    margin-top: 1rem;
    font-size: clamp(0.85rem, 1.25vw, 1.2rem);
    line-height: clamp(1.5rem, 3.5vw, 2rem);
}

.none-mt{
    margin-top: 0rem !important;
}

.know-ul {
    padding-left: 1rem !important;
}
.know-ul-2 {
    padding-left: 2rem !important;
}

.solid-bullet {
    list-style-type: disc;
}

.ul-bullet {
    list-style: disc !important;
    padding-left: 1.5rem !important;
}

.ul-bullet li {
    list-style: disc !important;
}

.paragraph-2 {
    margin-left: 0px;
    color: rgba(255, 255, 255, 1);
    font-weight: 400;
    font-size: 18px;
    line-height: 200%;
    overflow: hidden;
}

.li-p10 {
    padding-left: 10px;
    padding-right: 10px;
}

.li-custom {
    list-style: none;
    display: inline-block;
    line-height: 50px;
}



.nav-menu {
    /* padding-top: 60px; */
    margin-left: 63px;
}

.btn-started {
    width: 166px;
    height: 44px;
    background: #000000;
    font-weight: 700;
    font-size: 18px;
    margin-top: 92px;
    line-height: 27px;
    color: #FFFFFF;
    border-color: black;
    margin-left: 95px;
}

.btn-learnmore {
    background-color: transparent;
    color: #fff;
    border-color: transparent;
    height: 44px;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    display: inline-flex;
    padding-top: 10px;
    margin-left: 41px;

}

.q-learn {
    position: relative;
    z-index: 163;
    pointer-events: none;
    margin-left: 4px;
    width: 15px;
    min-width: 15px;
    height: 9.64px;
    margin-top: 7px;
    margin-bottom: 7.360000000000014px;
    min-height: 9.64px;
    content: url(../images/__.png);
}

.next-img {
    width: 7px;
    height: 11px;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    height: 1000 px;
}

.colortext {
    width: 100%;
    margin-left: 0px;
}


.flex-container {
    display: flex;
    background: #2c2b2b;
}

.bg-product {
    background: #231F20;
}


a {
    text-decoration: none !important;
    color: #FFD96B;
}

a:hover {
    color: #ffffff;
}

.nav-link1:hover {
    color: #f9f9f9 !important;
}

.nav-link1:active {
    color: #f9f9f9 !important;
}

.icon-pd {
    fill: #FFD96B;
}

.icon-pd:hover {
    fill: #f9f9f9;
}

.bi1 {
    vertical-align: -0.125em;
    margin: auto;
    fill: #FFD96B;
}

.bi1:hover {
    fill: #f9f9f9 !important;
}

.btn-started:hover {
    /* background-color: #FFD96B;  */
    color: #FFD96B;
}

.btn-learnmore:hover {
    /* background-color: #FFD96B;  */
    color: #FFD96B;
}

.pl-20 {
    padding-left: 20px
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.pt-pb-20 {
    padding-top: 20px;
    padding-bottom: 20px;

}

@media screen and (min-width: 320px) and (max-width: 359px) {
    .btn-learnmore {
        height: 44px;
        line-height: 21px;
        padding-top: 10px;
        margin-left: 5px;
        font-size: 14px;
    }

    .products-2 {
        font-weight: 700;
        font-size: 37px;
        line-height: 118%;
        letter-spacing: -0.03em;
        margin-left: 29px;
        margin-top: 20px;

    }

    .nav-menu {
        padding-top: 60px;
        /* margin-left: -11px; */
    }

    .btn-started {
        height: 38px;
        margin-top: 143px;
        line-height: 20px;
        margin-left: 16px;
    }

}

@media screen and (min-width: 414px) and (max-width: 500px) {
    .btn-learnmore {
        height: 44px;
        line-height: 21px;
        padding-top: 10px;
        margin-left: 38px;
    }

    .products-2 {
        font-weight: 700;
        font-size: 37px;
        line-height: 118%;
        letter-spacing: -0.03em;
        margin-left: 49px;
        margin-top: 20px;
    }

    .nav-menu {
        padding-top: 79px;
        margin-left: 19px;
    }

    .btn-started {
        height: 38px;
        line-height: 20px;
        margin-left: 45px;
        margin-top: 108px;
    }

}

@media screen and (min-width: 360px) and (max-width: 414px) {
    .btn-learnmore {
        height: 44px;
        font-size: 14px;
        line-height: 21px;
        padding-top: 10px;
        margin-left: 16px;
    }

    .products-2 {
        font-weight: 700;
        font-size: 37px;
        line-height: 2.5rem;
        margin-left: 49px;
        margin-top: 20px;
    }

    .nav-menu {
        padding-top: 79px;
        margin-left: 19px;
    }

    .btn-started {
        width: 144px;
        font-size: 14px;
        height: 38px;
        line-height: 20px;
        margin-left: 45px;
    }
}

@media screen and (min-width: 320px) and (max-width: 359px) {
    .btn-learnmore {
        font-size: 14px;
        height: 44px;
        line-height: 21px;
        padding-top: 10px;
        margin-left: 17px;
    }

    .products-2 {
        font-weight: 700;
        font-size: 37px;
        line-height: 118%;
        letter-spacing: -0.03em;
        margin-left: 29px;
    }

    .nav-menu {
        padding-top: 79px;
        margin-left: 0px;
    }

    .btn-started {
        width: 144px;
        font-size: 14px;
        height: 38px;
        line-height: 20px;
        margin-left: 25px;
    }

}

@media (max-width: 1023px) {
    .title-sub-topic {
        font-size: clamp(1.2rem, 3vw, 1.2rem);
        line-height: clamp(1.8rem, 4vw, 2.4rem);
    }

    .txt-content {
        font-size: clamp(0.6rem, 2vw, 0.7rem);
        line-height: clamp(1rem, 3.5vw, 1.3rem);
    }

    .title-topic {
        font-size: clamp(1rem, 3.5vw, 1.5rem);
        line-height: clamp(2rem, 3.5vw, 2.6rem);
    }

    .title-sub {
        font-size: clamp(0.7rem, 2vw, 0.9rem);
        line-height: clamp(0.8rem, 1vw, 1rem);
    }

    .download-box {
        position: absolute;
        bottom: 1rem;
    }

    .btn-started {
        margin-top: 4.5rem;
    }

    .img-products2 {
        background-position: right bottom;
        background-size: 155% !important;
    }
}

@media (max-width: 767px) {
    .title-sub-topic {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    .txt-content {
        font-size: 0.9rem;
        line-height: 1.6rem;
    }

    .title-topic {
        font-size: clamp(1.5rem, 2.5vw, 1.4rem);
        line-height: clamp(2rem, 3.5vw, 2.1rem);
    }

    .img-products2 {
        background: url(../images/banner/know-mo.png) #D9D9D9;
        background-position: right bottom;
        background-size: 100% !important;
    }

    .main-btn-col {
        width: 100% !important;
    }

}

/* iPad Pro / iPad Air – Landscape (1024px–1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .img-products2 {
        background-position: right bottom;
        background-size: 145% !important;
    }

    .title-sub-topic {
        font-size: clamp(1.2rem, 1.8vw, 1.6rem);
        line-height: clamp(1.8rem, 2.4vw, 2.4rem);
    }

    .txt-content {
        font-size: clamp(0.75rem, 1.4vw, 0.9rem);
        line-height: clamp(1.4rem, 2vw, 1.8rem);
    }

    .title-topic {
        font-size: clamp(1.6rem, 2.4vw, 2.2rem);
        line-height: clamp(2.2rem, 3vw, 2.8rem);
    }

    .title-sub {
        font-size: clamp(0.8rem, 1.3vw, 1rem);
        line-height: clamp(1.1rem, 1.6vw, 1.4rem);
    }

    .download-box {
        bottom: 1.5rem;
    }

    .btn-started {
        margin-top: 3rem;
    }

    .img-products2 {
        background-position: right bottom;
        background-size: 140% !important;
    }
}

@media (max-width: 375px) {
    .img-products2 {
        background-size: 130% !important;
    }
}

@media (max-width: 480px) {
    .title-sub-topic {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        line-height: clamp(1.4rem, 3.2vw, 1.8rem);
    }

    .cus-container {
        margin-top: 2rem;
    }

    .download-box-mobile-wrapper {
        position: fixed;
        top: 6rem;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        z-index: 999;
    }

    .download-toggle {
        width: auto;
        padding: 0.6rem 0.9rem;
        background-color: #FFD96B;
        border-radius: 50px;
        display: flex;
        gap: 0.4rem;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-size: 1.2rem;
        color: #333 !important;
    }

    .toggle-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #333;
    }

    /* เมื่อเปิด – เปลี่ยนเป็น X เซ็ต width ให้พอดี */
    .download-toggle.active {
        background-color: #FFD96B;
    }

    .download-toggle.active i {
        font-size: 1.4rem;
    }


    /* กล่องดาวน์โหลดซ่อนเริ่มต้น */
    .download-box-mobile {
        max-width: 95%;
        width: 250px;
        padding: 1rem;
        background-color: rgba(176, 159, 0, 0.9);
        border-radius: 12px;
        color: #fff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        text-align: left;
        overflow: hidden;
        max-height: 0;
        /* ซ่อน */
        opacity: 0;
        transform: translateX(20px);
        /* เลื่อนจากขอบขวา */
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
    }

    /* เมื่อเปิด */
    .download-box-mobile.active {
        max-height: 500px;
        /* กว้างพอสำหรับข้อความ */
        opacity: 1;
        transform: translateX(0);
        /* เลื่อนเข้าที่ */
    }

    /* ข้อความและปุ่ม */
    .download-box-mobile p {
        margin: 0 0 0.5rem 0;
        font-size: 0.8rem;
        line-height: 1.2rem;
        word-break: break-word;
    }

    .download-box-mobile .btn-dowload {
        display: block;
        width: 100%;
        font-size: 0.9rem;
        height: 2.5rem;
        line-height: 2.5rem;
        background-color: #FFD96B;
        color: #333;
        border-radius: 20px;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
        transition: all 0.3s ease;
    }

    .download-box-mobile .btn-dowload:hover {
        background-color: #ffeb8f;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
    }


    .txt-content {
        font-size: clamp(0.85rem, 2.2vw, 1rem);
        line-height: clamp(1.6rem, 3vw, 2rem);
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .title-sub {
        font-size: clamp(0.85rem, 2vw, 1rem);
        line-height: clamp(1.2rem, 3vw, 1.5rem);
    }

}

@media (min-width: 480px) and (max-width: 767px) {
    .title-topic {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .title-sub-topic {
        font-size: clamp(0.75rem, 3vw, 0.8rem);
        line-height: clamp(1.4rem, 3.2vw, 1.8rem);
    }

    .cus-container {
        margin-top: 2rem;
    }

    .download-box-mobile-wrapper {
        position: fixed;
        top: 6rem;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        z-index: 999;
    }

    .download-toggle {
        width: auto;
        padding: 0.6rem 0.9rem;
        background-color: #FFD96B;
        border-radius: 50px;
        display: flex;
        gap: 0.4rem;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-size: 1.2rem;
        color: #333 !important;
    }

    .toggle-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #333;
    }

    /* เมื่อเปิด – เปลี่ยนเป็น X เซ็ต width ให้พอดี */
    .download-toggle.active {
        background-color: #FFD96B;
    }

    .download-toggle.active i {
        font-size: 1.4rem;
    }


    /* กล่องดาวน์โหลดซ่อนเริ่มต้น */
    .download-box-mobile {
        max-width: 95%;
        width: 250px;
        padding: 1rem;
        background-color: rgba(176, 159, 0, 0.9);
        border-radius: 12px;
        color: #fff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        text-align: left;
        overflow: hidden;
        max-height: 0;
        /* ซ่อน */
        opacity: 0;
        transform: translateX(20px);
        /* เลื่อนจากขอบขวา */
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
    }

    /* เมื่อเปิด */
    .download-box-mobile.active {
        max-height: 500px;
        /* กว้างพอสำหรับข้อความ */
        opacity: 1;
        transform: translateX(0);
        /* เลื่อนเข้าที่ */
    }

    /* ข้อความและปุ่ม */
    .download-box-mobile p {
        margin: 0 0 0.5rem 0;
        font-size: 0.8rem;
        line-height: 1.2rem;
        word-break: break-word;
    }

    .download-box-mobile .btn-dowload {
        display: block;
        width: 100%;
        font-size: 0.9rem;
        height: 2.5rem;
        line-height: 2.5rem;
        background-color: #FFD96B;
        color: #333;
        border-radius: 20px;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
        transition: all 0.3s ease;
    }

    .download-box-mobile .btn-dowload:hover {
        background-color: #ffeb8f;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
    }


    .txt-content {
        font-size: clamp(0.5rem, 2vw, 0.7rem);
        line-height: clamp(1rem, 3vw, 2rem);
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .title-sub {
        font-size: clamp(0.85rem, 2vw, 1rem);
        line-height: clamp(1.2rem, 3vw, 1.5rem);
    }

}

@media (min-width: 300px) and (max-width: 374px){
        .title-topic {
        font-size: clamp(1rem, 6vw, 1.3rem);}
    .txt-content {
        font-size: clamp(0.6rem, 1vw, 0.73rem);
    }
}