/*--sec7--*/
#section7 {
    width: var(--full-minisize);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section7_1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper_sec7 {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track_sec7 {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.col_sec7_1 {
    width: calc(33% - 15px);
    height: 340px;
    margin-right: 20px;
    border-radius: 15px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.col_sec7_1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.col_sec7_1:last-child {
    margin-right: 0;
}

.header_sec5_1 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
}

.header_sec5_1 span {
    color: var(--bg_santa_main);
}

.carousel-nav_sec7 {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: #ffffffcc;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 50%;
    z-index: 1000;
    /* เพิ่ม z-index ให้แสดงอยู่ข้างบนสุด */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.carousel-nav_sec7.left {
    left: -10px;
}

.carousel-nav_sec7.right {
    right: 10px;
}

.btn_wrapper_sec7 {
    text-align: center;
    margin-top: 30px;
}

.btn_wrapper_sec7 span {
    color: var(--bg_santa_main);
    font-weight: bold;
}

.button_readmore_sec7 {
    background-color: var(--bg_santa_main);
    padding: 10px 25px;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.button_readmore_sec7:hover {
    background-color: #fff;
    color: var(--bg_santa_main);
}

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

    .section7_1 {
        width: 90%;
    }

    .carousel-nav_sec7.left {
        left: 20px;
    }

    .carousel-nav_sec7.right {
        right: 20px;
    }
}

@media (max-width:1100px) {
    #section7 {
        width: 100%;
    }

    .btn_wrapper_sec7 p {
        font-size: 14px;
    }

    .header_sec5_1 {
        font-size: 18px;
    }

    .carousel-wrapper_sec7 {
        width: 90%;
    }

    .col_sec7_1 {
        width: calc(100% - 15px);
        height: 300px;
        margin-right: 20px;
        border-radius: 15px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        flex-direction: column;
    }

    .carousel-nav_sec7 {
        background-color: #a00000;
        color: #fff;
        border: none;
        padding: 10px;
        font-size: 20px;
        border-radius: 20px;
        cursor: pointer;
    }

    .section7_1 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        width: 90%;
        justify-content: center;
    }

    .button_readmore_sec7 {
        font-size: 14px;
    }

    .carousel-nav_sec7.left {
        left: 10px;
    }

    .carousel-nav_sec7.right {
        right: 20px;
    }
}