/*
 Theme Name:   Bailly Child
 Theme URI:    http://wordpress.com
 Description:  Bailly Child Theme
 Author:       Goalthemes
 Author URI:   http://mygoalthemes.com
 Template:     bailly
 Version:      1.0.0
 Text Domain:  bailly-child
*/

.product_category img{
	padding: 15px 2rem;
}
.prod-categories-container {
    display: flex;
    flex-wrap: wrap; /* Prevent categories from wrapping to the next row */
}

.prod-category {
    flex: 0 0 20%; /* Display 5 categories per row */
    max-width: 20%;
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #f0f3f7;
	margin-bottom: -8rem;
}

/* Media query for mobile and tablet view */
@media (max-width: 768px) {
   .prod-category {
      flex: 0 0 50%; /* Display 1 category per row */
      max-width: 100%;
    }
	.prod-category h3 {
	  text-align: center;
      font-size: 25px;
   }
	.prod-category {
	  border-top-width: 1px;
	  border-top-style: solid;
	  border-top-color: #f0f3f7;
	  margin-bottom: -2rem;
	}
	.top-categories-inner ul{
		display: flex;
        justify-content: flex-start;
	}
}
.prod-category h3 {
	text-align: center;
    font-size: 16px;
}

.prod-category img{
	height: 50%;
    object-fit: scale-down;
	margin-left: auto;
    margin-right: auto;
	display:flex;
}
@media (min-width: 1024px) and (max-width: 1200px) {
	.top-categories-inner ul{
		display: flex;
        justify-content: center;
	}
	
}
.top-categories-inner .cat-item-238{
	order: 7;
}
