.product_container{
    position: relative;
    padding: 25px;
}
.filter_container{
    transition: .5s ease-in-out;
    position: absolute;
    transform: translateY(-300%);
    background-color: #ffff;
    width: 100%;
    padding: 10px;
}
.close_btn i{
    position: relative;
    right: 0;
}
.filter_btn_responsive{
    position: sticky;
    top: 0;
    background-color: #ffff;
    width: 100%;
    text-align: right;
}
.res_filter_btn{
    padding: 10px;
    background: none;
    border: 0;
    font-weight: bold;
    border-radius: 10px;
}
.category_filter{
    overflow: hidden;
}
.sub_category{
    max-height: 0;
    transition: .5s ease-in-out;
    margin-left: 10px;
}
.category{
    border: 0;
    padding: 10px;
    background-color: white;
    cursor: pointer;
}
.search input{
    width: 90%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 3px;
    outline: none;
    margin: 10px;
}
.card_footer a{
    text-decoration: none;
    width: 30%;
    padding: 10px;
    margin: 5px;
    font-size: 20px;
    color: #ffff;
    border-radius: 5px;
}
.card_footer a:nth-child(1){
    background-color: rgb(3, 209, 3);
}
.card_footer a:nth-child(2){
    background-color: orange;
}
.product_cards{
    margin-top: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 100%;
}
.card{
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 2px;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
}
.card_header{
    text-align: center;
}
.card_header img{
    width: 150px;
    height: 200px;
}
.card_footer{
    margin-top: 20px;
    text-align: center;
}
.card_body p{
    text-align: justify;
}
.filter_container.active{
    transform: translateY(-100px);
}
.enquery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.enqueryFormPopup {
    background: #fff;
    width: 80%;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    animation: scaleIn .3s ease;
}

@keyframes scaleIn {
    from { transform: scale(.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}

.enqueryFormPopup h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

.enqueryFormPopup label {
    display: block;
    font-size: 13px;
    margin-top: 10px;
}

.enqueryFormPopup input,
.enqueryFormPopup textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.enqueryFormPopup textarea {
    resize: none;
    height: 80px;
}

.enqueryFormPopup button {
    margin-top: 15px;
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}
.enqueryFormPopup hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #eee;
}

.card_body p{
    display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media only screen and (max-width:568px){
    .enqueryFormPopup{
        width:100%;
    }
}
@media only screen and (min-width:600px) {

    .product_cards{
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and (min-width:992px) {

    .product_cards{
        grid-template-columns: repeat(3,1fr);
    }
}
@media only screen and (min-width:1200px) {
    .filter_btn_responsive{
        display: none;
    }
    .product_container{
        display: grid;
        grid-template-columns: 25% 75%;
        position: relative;
    }
    .filter_container{
        transform: translateY(0);
        position: sticky;
        top: 130px;
        width: 90%;
    }
    .close_btn{
        display: none;
    }
    .product_cards{
        grid-template-columns: repeat(4,1fr);;
    }
}