.main-content {
    padding: 100px 150px;
    transition: 0.5s;
}

.categoryNavBar {
    margin-bottom: 70px;
}

.categoryNavBar ul {
    text-align: center;
}

.categoryNavBar ul li {
    margin: 0 20px;
    display: inline-block;
}

.categoryNavBar ul li a {
    padding: 5px 0;
    text-decoration: none;
    color: #414141;
    font-weight: bold;
}

.categoryNavBar ul li a:not(.active) {
    transition: 0.4s;
}

.categoryNavBar ul li a:not(.active):hover {
    color: #bb3138;
}

.categoryNavBar ul li a.active {
    color: #bb3138;
    border-bottom: 2px solid #bb3138;
}

/* Product Box */
.subCategoryProducts {
    margin-top: 50px;
}

.subCategoryProducts .subCategoryTitle {
    margin-left: 10px;
    color: #bb3138;
    letter-spacing: 1px;
    font-weight: bold;
    border: 2px solid #bb3138;
    padding: 7px 15px;
    display: inline-block;
    margin-bottom: 20px;
}

.subCategorySection .subCategoryProductBox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.subCategorySection .subCategoryProductBox .grid_item {
    width: 33.33%;
    margin-bottom: 30px;
    transition: 0.5s;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 10px;
    width: calc(100% - 20px);
    background: #f7f7f7;
    margin-bottom: 10px;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductImage {
    position: relative;
    padding: 30px 40px 10px;
    width: 100%;
    height: 250px;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductImage img {
    max-width: 100%;
    max-height: 300px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0 20px 0 40px;
    margin-bottom: 20px;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDetail {
    position: relative;
    float: left;
    width: 80%;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDetail .subCategoryProductName {
    color: #bb3138;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    word-break: break-word;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDetail .subCategoryProductRating {
    font-size: 12px;
    font-weight: bold;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDetail .subCategoryProductRating .active {
    color: red;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDirect {
    position: relative;
    float: left;
    width: 20%;
    height: 100%;
}

.subCategorySection .subCategoryProductBox .subCategoryProduct .subCategoryProductInfo .subCategoryProductDirect a {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    line-height: 27px;
    border: 2px solid #bb3138;
    color: #bb3138;
    font-size: 15px;
}

@media (min-width: 1600px) {
    .subCategorySection .subCategoryProductBox .grid_item {
        width: 25%;
    }
}

@media (max-width: 1200px) {
    .main-content {
        padding: 100px 100px;
    }
}

@media (max-width: 1000px) {
    .main-content {
        padding: 100px 80px;
    }
}

@media (max-width: 950px) {
    .subCategorySection .subCategoryProductBox .grid_item {
        width: 50%;
    }
}

@media (max-width: 700px) {
    .main-content {
        padding: 100px 10px;
    }
}

@media (max-width: 500px) {
    .subCategorySection .subCategoryProductBox .grid_item {
        width: 100%;
    }
    .main-content {
        padding: 100px 50px;
    }
}

@media (max-width: 400px) {
    .main-content {
        padding: 100px 10px;
    }
}
