body {
    background: #fffceb;
}
.swiper {
    width: 100%;
    height: 100%; /* กำหนดความสูงให้เต็มหน้าจอ */
}

/* ถ้าอยากให้ swiper 100%  ให้เอา height: 528px;ไล่ @media screen ออก  */
.swiper .swiper-slide img {
    width: 100%;
    height: 528px;
    object-fit: cover;
}
@media screen and (max-width: 1280px) {
    .swiper .swiper-slide img {
        height: 400px;
    }
}
@media screen and (max-width: 1024px) {
    .swiper .swiper-slide img {
        height: 300px;
    }
}
@media screen and (max-width: 766px) {
    .swiper .swiper-slide img {
        height: 200px;
    }
}
/* END */

.swiper .swiper-button-prev {
    color: white;
    outline-style: none;
}
.swiper .swiper-button-prev::after {
    content: "prev";
    font-size: 20px;
}
@media screen and (min-width: 1024px) {
    .swiper .swiper-button-prev::after {
        content: "prev";
        font-size: 40px;
        margin-left: 3rem;
    }
}
.swiper .swiper-button-next {
    color: white;
    outline-style: none;
}
.swiper .swiper-button-next::after {
    content: "next";
    font-size: 20px;
}
@media screen and (min-width: 1024px) {
    .swiper .swiper-button-next::after {
        content: "next";
        font-size: 40px;
        margin-right: 3rem;
    }
}
.swiper .swiper-pagination {
    padding-bottom: 1rem;
}
@media screen and (min-width: 1024px) {
    .swiper .swiper-pagination {
    }
}
@media screen and (max-width: 1280px) {
    .swiper .swiper-pagination {
        display: none;
    }
}
.swiper .swiper-pagination-bullet {
    color: red;
    background: none;
    border: 1px solid white;
    opacity: unset;
    width: 10px;
    height: 10px;
}
.swiper .swiper-pagination-bullet-active {
    background: white;
}
.swiper button {
    background: none;
    outline-style: none;
}
.swiper .next {
    position: absolute;
    border: none;
    font-size: 20px;
    color: white;
    top: 41%;
    right: 1rem;
    z-index: 1;
    opacity: 50%;
}
@media screen and (min-width: 768px) {
    .swiper .next {
        top: 45%;
    }
}
@media screen and (min-width: 1024px) {
    .swiper .next {
        top: 45%;
    }
}
@media screen and (min-width: 1280px) {
    .swiper .next {
        top: 50%;
        right: 3rem;
        font-size: 50px;
    }
}
.swiper .prev {
    position: absolute;
    border: none;
    font-size: 20px;
    color: white;
    top: 41%;
    z-index: 1;
    left: 1rem;
    opacity: 50%;
}
@media screen and (min-width: 768px) {
    .swiper .prev {
        top: 45%;
    }
}
@media screen and (min-width: 1024px) {
    .swiper .prev {
        top: 45%;
    }
}
@media screen and (min-width: 1280px) {
    .swiper .prev {
        top: 50%;
        left: 3rem;
        font-size: 50px;
    }
}

.img-next,
.img-prev {
    width: 2rem;
}
