/* category section */
.category-section {
    margin: auto;
}

.category-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
}

.category-flex .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.category-item:hover .img-container,
.category-item.active .img-container {
    border: 5px solid #ac7d36;
}

.category-item .img-container {
    overflow: hidden;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid transparent;
    transition: border 0.3s ease;
}

.category-item .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    font-weight: 500;
    font-size: 18px;
    line-height: 107%;
    letter-spacing: 1%;
    text-align: center;
}

.category-item.active p {
    color: #ac7d36;
    font-weight: 600;
}

/* products list */

.list-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.list-container .product-card {
    /* min-width: 155px; */
    width: 23%;
}

.list-container .product-card img {
    width: 100%;
    height: 100%;
    margin-bottom: 1rem;
}

.list-container .product-card .card-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 10px;
}

.product-card .card-content p {
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

@media (max-width: 1200px) {
    .category-flex .category-item .img-container {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 991px) {
    .category-flex {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    /* categories */
    .category-flex {
        gap: 0 10px;
    }
    .category-flex .category-item .img-container {
        width: 110px;
        height: 110px;
    }

    .category-flex .category-item p {
        font-size: 16px;
    }

    /* products list */

    .list-container {
        gap: 20px;
    }
}
