.mp_subcat_pdr_block {
	display: flex;
    flex-direction: column;
    align-items: center;
}
.mp_subcat_title {
	display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.mp_subcat_title h2 {
    border: 1px solid #39b54a;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 28px;
    line-height:28px;
    text-transform: uppercase;
    background-color: #39b54ab8;
    color: #fff;
    font-weight: 700;
}
.mp_subcat_title a {
    border: 1px solid #135b9e;
    border-radius: 20px;
    background-color: #fff;
    color: #135b9e;
    padding: 10px 15px;
    transition:all 0.2s ease-in-out;
}
.mp_subcat_title a:hover {
    text-decoration:none;
    background-color: #135b9e;
    color: #fff;
}
.mp_subcat_prds {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
}
.mp_subcat_pdt_itm {
    display:flex;
    flex-direction:column;
    border:1px solid #ebebeb;
    border-radius:5px;
    padding:15px;
    max-width: 180px;
    transition:all 0.2s ease-in-out;
}
.mp_subcat_pdt_itm .mp_subcat_prd_btn {
    border:1px solid #ccc;
    border-radius:5px;
    display:flex;
    justify-content:center;
    align-items:center;
    align-self:flex-end;
    margin:10px 0;
    width:30px;
    height:30px;
    line-height:30px;
    text-decoration:none;
    transition:all 0.2s ease-in-out;
}
.mp_subcat_pdt_itm .mp_subcat_prd_btn:hover {
    border:1px solid #39b54a;
    background-color:#39b54a;
    color:#fff;
    text-decoration:none;
}
.mp_subcat_pdt_itm > a {
    align-self: center;
}
.mp_subcat_pdt_itm img {
    max-width:150px;
}
.mp_subcat_pdt_itm a:nth-child(2) {
    height: 53px;
    overflow-y: hidden;
    overflow-x: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.mp_subcat_pdt_itm:hover {
    -webkit-box-shadow:0px 0px 10px -1px rgba(0,0,0,0.29);
    -moz-box-shadow:0px 0px 10px -1px rgba(0,0,0,0.29);
    box-shadow:0px 0px 10px -1px rgba(0,0,0,0.29);
}
@media screen and (max-width:1800px) {
    .mp_subcat_pdt_itm:nth-child(7) {
        display: none;
    }
}
@media screen and (max-width:1550px) {
    .mp_subcat_pdt_itm:nth-child(6) {
        display: none;
    }
}
@media screen and (max-width:1400px) {
    .mp_subcat_pdt_itm {
        width:180px;
        padding:5px 10px;
    }
    .mp_subcat_title h2 {
	max-width:600px;
	font-size:24px;
    }
}
@media screen and (max-width:1150px) {
    .mp_subcat_pdt_itm {
        width:160px;
        padding:5px 10px;
    }
}
@media screen and (max-width:1024px) {
    .mp_subcat_pdt_itm:nth-child(5) {
        display:flex;
    }
}
@media screen and (max-width:930px) {
    .mp_subcat_pdt_itm:nth-child(5) {
        display:none;
    }
}
@media screen and (max-width:730px) {
    .mp_subcat_pdt_itm:nth-child(4) {
        display:none;
    }
}
@media screen and (max-width:630px) {
    .mp_subcat_title a {
        display:none;
    }
    .mp_subcat_title h2 {
        margin:0 auto;
        text-align:center;
        line-height:28px;
    }
}
@media screen and (max-width:550px) {
    .mp_subcat_prds {
        flex-direction: column !important;
    }
    .mp_subcat_pdt_itm {
        width:100%;
        margin-bottom:10px;
    }
    .mp_subcat_title h2 {
	width:100%;   
	font-size:24px; 
    }
}