



/* ปุ่มโหลดเพิ่มเติม */
/* สไตล์ปุ่มโหลดเพิ่มเติม */
#load-more-container {
    text-align: center;
    margin: 20px 0;
}

#load-more {
    display: inline-block;
    background-color: #4CAF50;
    /* สีเขียวสด */
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#load-more:hover {
    background-color: #45a049;
    /* สีเขียวเข้ม */
    transform: translateY(-4px);
}

#load-more:active {
    background-color: #388e3c;
    /* สีเขียวเข้มมากขึ้น */
    transform: translateY(0);
}

#load-more:disabled {
    background-color: #d3d3d3;
    /* สีเทาสำหรับปุ่มที่ไม่สามารถคลิกได้ */
    cursor: not-allowed;
}

/* สไตล์เมื่อปุ่มกำลังโหลด */
#load-more.loading {
    background-color: #ff9800;
    /* สีส้ม */
    pointer-events: none;
}

#load-more.loading:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    border-top: 3px solid #ff9800;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* การหมุนสำหรับแสดงสถานะ Loading */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}






.container_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

a.content_list_link {
    text-decoration: none;
    color: #222;
    display: block;
    transition: ease 0.3s;
}

a.content_list_link.more {
    align-content: center;
    text-align: center;

}

a.content_list_link:hover {
    background: #DDE2E6;
}


.content_list h3.name {
    color: #2980B9;
    margin-bottom: 0;
}

.content_list div.price {
    color: #27AE60;
    font-weight: bolder;
}

.content_list div.detail,
.content_list div.time {
    font-size: 0.825rem;
}



.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 16px;
    background: #eee;    
}
.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}