body {
    font-family: 'Mitr', sans-serif;
    background: #ffffff;
    color: #ffffff;
}

h1,
h2,
h3,
p,
a {
    margin: 0;
}

a:hover {
    filter: brightness(1.1);
}

.seo-heading {
    position: absolute;
    left: -9999px;
    /* ย้ายออกไปนอกจอ */
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.body-download-page .text-en {
    font-family: 'Rowdies', mitr;
}

.section-main-download {
    max-width: 2500px;
    height: 940px;
    margin: 0 auto;
    background: url(../../download/images/bg-section-main.webp?v=3.24) bottom center / 2500px no-repeat;
    overflow: hidden;
}

.col-sec-1 {
    padding-top: 220px;
    gap: 60px;
}

.col-sec-1 .text-main-des {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    filter: drop-shadow(2px 4px 6px #9cd9ff);

}

.download-header img {
    max-width: 300px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 10px;
    text-decoration: none;
    width: 420px;
    height: 100px;
    border-radius: 500px;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
    color: #fff;
}

.download-btn:hover {
    transform: scale(1.05) translateZ(0);
}

.download-btn.btn1 {
    background: url(../../download/images/btn-download-1.webp?v=3.24) center / contain no-repeat;
}

.download-btn.btn2 {
    background: url(../../download/images/btn-download-2.webp?v=3.24) center / contain no-repeat;
}

.box-text {
    padding-bottom: 10px;
}

.text-head {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
}

.text-des {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.download-section {
    display: flex;
    margin-bottom: 20px;
}

.inbox-download-section {
    display: flex;
}

.shine-btn {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.shine-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    filter: blur(10px);
    animation: shine 2.5s linear infinite;

    pointer-events: none;
    transform: translateZ(0);
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.info-links {
    display: flex;
}

.info-links a {
    color: #797979;
    text-decoration: none;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.border-right {
    border-right: 1px solid #00000047;
}

.box-title-head {
    margin-bottom: 30px;
}

.text-head-section {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #0E8CEE;
}

.text-head-section::before {
    content: url("../../download/images/ic-title-after.webp?v=3.24");
    margin-right: 15px;
}

.text-head-section::after {
    content: url("../../download/images/ic-title-after.webp?v=3.24");
    margin-left: 15px;
}

.box-title-head>div {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    color: #003761;
}

/* section table */

.pr-red {
    position: absolute;
    right: -30px;
    bottom: -110px;
}

.col-table-download {
    max-width: 2500px;
    margin: 0 auto;
    background: url(../../download/images/bg-after-top.webp?v=3.24) top center / 2500px no-repeat, #EBF7FF;
    padding: 100px 0;
    overflow: hidden;
}

table {
    width: 75%;
    margin: 0 auto;
    background: #ffffff77;
    border-collapse: separate;
    /* ต้องใช้ separate */
    border-spacing: 0;
    /* ลบช่องว่างระหว่างเซลล์ */
    border-radius: 20px;
    /* มุมโค้ง */
    overflow: hidden;
    /* ตัดส่วนเกิน */
}

thead th:first-child {
    border-top-left-radius: 20px;
}

thead th:last-child {
    border-top-right-radius: 20px;
}

/* ท้ายตาราง */
tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

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

thead {
    background: url(../../download/images/bg-head-table.webp?v=3.24) left center / cover no-repeat;
    padding: 10px 0;
}

th,
td {
    width: 33.33%;
    height: 90px;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #797979;
}

th {
    height: 110px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    border: 1px solid #6eb0f8;
}

th span {
    font-size: 22px;
    font-weight: 500;
}

td {
    border: 1px solid #b0d5ff;
}

/* tr:nth-child(even) {
    background: #fafafa;
} */

@media (min-width: 2500px) {
    .section-main-download {
        background: linear-gradient(to right, #ffffff 5%, #ffffff81 10%, #ffffff00 15%, #ffffff00 85%, #ffffff81 90%, #ffffff 95%), url(../../download/images/bg-section-main.webp?v=3.24) bottom center / 100% no-repeat, #ffffff;
    }

    .col-table-download {
        background: linear-gradient(to right, #ffffff 5%, #ffffff81 10%, #ffffff00 15%, #ffffff00 85%, #ffffff81 90%, #ffffff 95%), url(../../download/images/bg-after-top.webp?v=3.24) top center / 100% no-repeat, #EBF7FF;
    }

}

@media (max-width: 1400px) {
    .download-section {
        display: flex;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .pr-red {
        right: -50px;
        bottom: -120px;
    }
}

@media (max-width: 1024px) {
    .pr-red {
        right: -70px;
        bottom: -60px;
        width: 200px;
    }

    table {
        width: 90%;
    }
}

@media (max-width: 992px) {

    body {
        background: #ebf7ff;
    }

    .section-main-download {
        max-width: 1024px;
        height: fit-content;
        background: url(../../download/images/bg-section-main-md.webp?v=3.24) top center / 1024px no-repeat;
    }

    .col-table-download {
        background: #EBF7FF;
        padding: 100px 0;

    }

    .col-sec-1 {
        padding-top: 540px;
    }

    .col-sec-1 .text-main-des {
        font-size: 24px;
        color: #626262;
        filter: none;
        margin-top: 15px;
    }

    .pr-red {
        right: -130px;
        bottom: -40px;
        width: 200px;
    }

    table {
        width: 100%;
    }

    th,
    td {
        height: 100px;
        font-size: 16px;
    }

    th {
        height: 120px;
        font-size: 22px;
    }

    .text-head-section {
        font-size: 40px;
    }

    .box-title-head>div {
        font-size: 32px;
    }

    .download-section {
        scale: .9;
    }

    .img-title-md {
        width: 90%;
    }
}

@media (max-width: 767px) {

    .download-section {
        flex-direction: column;
        margin-bottom: 10px;
        gap: 0;
    }

    .download-btn {
        margin: 10px 10px;
    }

    .col-sec-1 {
        gap: 40px;
    }

    .table-scroll {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* ให้เลื่อนลื่นในมือถือ */
    }

    .table-scroll table {
        min-width: 700px;
        /* ปรับตามจริง เช่น 650-900 */
        width: 100%;
    }

    .text-head-section::before {
        content: none;
    }

    .text-head-section::after {
        content: none;
    }

    .inbox-download-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }
}

@media (max-width: 600px) {

    .section-main-download {
        max-width: 600px;
        height: fit-content;
        margin: 0 auto;
        background-size: 600px;
    }

    .col-sec-1 {
        padding-top: 270px;
    }

    .info-links a {
        padding: 0 15px;
        font-size: 15px;
    }

    .info-links a img {
        width: 18px;
    }

    .download-section {
        margin-bottom: 0px;
    }

    .col-sec-1 .text-main-des {
        gap: 10px;
    }

    .text-head-section {
        font-size: 26px;
    }

    .box-title-head>div {
        font-size: 22px;
    }

    .pr-red {
        display: none;
    }

    th,
    td {
        height: 70px;
        font-size: 14px;
    }

    th {
        height: 90px;
        font-size: 20px;
    }

    th span {
        font-size: 18px;
    }

    .col-table-download {
        padding: 100px 0 60px;
    }

    .col-sec-1 {
        gap: 20px;
    }

    .col-sec-1 .text-main-des {
        font-size: 17px;
    }

}

@media (max-width: 550px) {

    .section-main-download {
        background-size: 550px;
    }

}

@media (max-width: 480px) {

    .section-main-download {
        background-size: 480px;
    }
}

@media (max-width: 400px) {

    .col-sec-1 .text-main-des {
        font-size: 15px;
    }

    .download-section {
        scale: .7;
        margin: -50px 0 -40px;
    }

    .info-links a {
        font-size: 14px;
    }
}