@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --full-size: 1920px;
    --full-minisize: 1200px;
    --fit-height: 1080px;
    --bg_santa_main: #b20000;
    --santa_main: #b20000;
    --santa_2main: #cf2e2e;
}

body {
    display: flex;
    max-width: 1920px;
    margin: 0px;
    font-family: "Noto Sans Thai", serif;
    background-color: rgb(255 255 255);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    align-items: center;
}

.banner {
    width: var(--full-minisize);
    height: auto;
}

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

#sec1 {
    font-family: "Noto Sans Thai", serif;
    width: var(--full-minisize);
    height: auto;
    margin: 20px 0px;
}
.link {
    display: flex
;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    text-align: start;
    width: 90%;
    margin: 20px 5px;
}

.link a {
    font-size: 16px;
}



.all_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: var(--full-minisize);
    height: auto;
}

.card {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    text-align: start;
    padding: 15px;
}

.card img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 22px;
    margin: 0;
}

.card-content p {
    margin: 0;
}

.card-content strong {
    color: var(--santa_main);
    font-size: 18px;
    margin: 0;
}

.details {
    display: none;
    text-align: left;
    margin-top: 10px;
}

.details h4 {
    color: var(--santa_main);
}


.toggle-btn {
    color: #000;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: center;

}

#sec2 {
    width: var(--full-size);
    background: #ccc;
    height: auto;
    display: flex;
    justify-content: center;
}

.img_plus,
.img_minus {
    width: 10px;
    height: 10px;
}

.terms-container {
    width: var(--full-minisize);
    margin: 20px 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.terms-header {
    background: #fff;
    padding: 10px;
    color: #353535;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-content {
    display: none;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.terms-content h3 {
    font-size: 18px;
    color: #353535;
    margin: 20px 0px 0px;
}
.terms-content p {
    font-size: 16px;
    color: #353535;
    font-weight: 600;
    margin: 0;
}
.liuncheck {
    list-style: none;
    padding-left: 5px;
    /* ให้มีพื้นที่เหลือสำหรับไอคอน */
}

.liuncheck li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    font-weight: bold;
}

.liuncheck li::before {
    content: '';
    position: absolute;
    left: 0;
    /* ชิดซ้ายของ li */
    top: 50%;
    transform: translateY(-50%);
    /* จัดให้ไอคอนอยู่กึ่งกลาง */
    width: 16px;
    height: 16px;
    background-image: url('/static/img/promotion/x.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


@media (min-width:1101px) and (max-width: 1919px) {
    .banner {
        width: 100%;
    }

    .all {
        width: 100%;
    }

    .container_text {
        width: 100%;
    }
}

@media (max-width:1100px) {
    .banner {
        width: 100%;
    }
    #sec1 ,#sec2{
        width: 100%;
    }

    .link a {
        font-size: 12px;
    }

    .container {
        width: 100%;
        justify-content: center;
    }
    .terms-container {
        width: 90%;
    } 
    .terms-header {
        font-size: 16px;
    }
    .terms-content h3 {
        font-size: 16px;
    }
    .terms-content p {
        font-size: 14px;
    }
}