#loading {
    display: none;
}
.list-title {
    display: flex;
    justify-content: space-between;
    align-content: center;
}
@media  (max-width: 780px) {
    .list-title {
        flex-direction: column;
        align-content: flex-start;
    }
}
.infinity-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, 25rem);
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}
section .title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
section .title a {
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 1rem;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}
@media (max-width: 1024px){
    .infinity-scroll {
        grid-template-columns: repeat(auto-fit, 18rem);
    }
}
@media (max-width: 768px) {
    .slider-description {
        display: none;
    }
    .infinity-scroll {
        grid-template-columns: repeat(auto-fit, 15rem);
    }
}
/* 공통 박스 */
.sort-div {
    display: flex;
    gap: 1rem;           /* 드랍다운 사이 간격 */
    flex-wrap: wrap;     /* 화면 좁아지면 줄바꿈 */
    margin: 1rem 0;
}

/* 드랍다운(select) 스타일 */
.sort-field select {
    width: 100%;
    padding: 10px 26px 10px 12px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 포커스시 */
.sort-field select:focus {
    border-color: #4c8df6;
    box-shadow: 0 0 0 3px rgba(76, 141, 246, 0.3);
    outline: none;
}
