.product-container {
    padding: 0 1rem;
}

.product-container h1 {
    font-family: 'Newsreader', sans-serif;
    font-size: 25px;
}

.filter-bar {
    margin-bottom: 40px;
}

.filter-bar button {
    font-family: 'Newsreader', sans-serif;
    border: none;
    background: none;
    font-size: 16px;
    margin-right: 10px;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.product-card {
    text-align: center;
    overflow: hidden;
    border-radius: 0px;
    opacity: 0;
    transform: translateY(10px);
    transition: box-shadow 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
    padding-bottom: 30px;
}

/* 표시할 때 추가되는 클래스 */
.product-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.product-card a {
    text-decoration: none;
    color: #000;
}


.product-card .image-wrapper {
    overflow: hidden;
    border-radius: 0px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .image-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card:hover img {
    transform: scale(1.05);
}

.brand {
    font-size: 12px;
    margin-top: 8px;
    color: #555;
}

.title {
    margin-top: 8px;
    font-size: 14px;
}

.price {
    font-size: 13px;
    margin-top: 4px;
    color: #555;
}

.filter-bar button.active {
    font-weight: bold;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .filter-bar {
        margin-bottom: 40px;
    }
    .filter-bar button {
    font-size: 13px;
    margin-right: 5px;
}

}