@media all and (max-width: 360px) {
    section,
    .top_footer {
        padding: 14px 0 !important;
    }

    ul.header_list.border_list.list_none.header_dropdown.text-md-right {
        display: none;
    }

    ul.contact_detail.border_list.list_none.text-white {
        display: flex;
    }

    .contact_detail>li a,
    .header_list>li a {
        font-size: 11px !important;
    }

    #category {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #sideimage img {
        width: 100%;
        height: 100px;
        margin-bottom: 10px;
    }

    .banner_img img {
        width: 100%;
    }

    .popup-content {
        background-color: #fefefe;
        margin: 15% auto;
        left: 0%;
        padding: 30px;
        border: 1px solid #888;
        width: 80%;
        max-width: 600px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        position: relative;
    }
}

@media screen and (max-width: 390px) {
    section,
    .top_footer {
        padding: 3px 0 !important;
    }
    .product-img img {
        width: 100%;
        height: 30px;
        object-fit: scale-down;
        padding: 10px 10px 0 10px;
    }

    .product_info h6 {
        font-size: 10px;
    }

    .product_img.product-img.d-flex {
        height: 45px;
    }

}

@media all and (max-width: 430px) {
    section,
    .top_footer {
        padding: 14px 0 !important;
    }

    .banner_img img {
        width: 100%;
    }

    ul.header_list.border_list.list_none.header_dropdown.text-md-right {
        display: none;
    }

    #category .category_img img {
        width: 100%;
        height: 45px !important;
        object-fit: scale-down;
        padding: 10px 10px 5px 10px !important;
    }

    #category .product {
        margin-bottom: 8px;
    }

    .product_info h6 {
        font-size: 10px;
    }

    .product_img.product-img.d-flex {
        height: 45px;
    }

    .product_img.product-img.d-flex {
        height: 50px !important;
    }

    .popup-content {
        background-color: #fefefe;
        margin: 15% auto;
        left: 0%;
        padding: 30px;
        border: 1px solid #888;
        width: 80%;
        max-width: 600px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        position: relative;
    }
}

@media all and (max-width: 768px) {
    section,
    .top_footer {
        padding: 14px 0 !important;
    }

    .navbar-brand img {
        width: 65%;
    }

    .navbar-toggler {
        margin: 20px 5px 0 5px !important;
    }

    .product-img img {
        width: 100%;
        height: 60px;
        object-fit: scale-down;
        padding: 10px 34px 0px 20px;
    }

    .products_info {
        text-align: center;
        padding: 0px 30px;
    }

    #category {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    #category .first_product img {
        height: 155px;
    }

    #sideimages img {
        height: 235px;
        width: 100%;
    }

    #category .col-sm-10 {
        position: relative;
        width: 80% !important;
        padding-right: 15px;
        padding-left: 15px;
    }

    #latest-product .col-sm-2 {
        position: relative;
        width: 20% !important;
        padding-right: 0px;
        padding-left: 15px;
    }

    #latest-product .col-sm-10 {
        position: relative;
        width: 80% !important;
        padding-right: 15px;
        padding-left: 15px;
    }

    #category .col-sm-6 {
        position: relative;
        width: 48% !important;
        padding-right: 0px;
        padding-left: 15px;
    }

    #category .col-sm-2 {
        position: relative;
        width: 20% !important;
        padding-right: 15px;
        padding-left: 5px;
    }

    .product_info {
        padding: 0px !important;
    }

    .product_img.product-img.d-flex {
        height: 78px;
    }
    .product_info h6 {
        font-size: 15px;
    }

    .contact_detail>li a,
    .header_list>li a {
        font-size: 12px !important;
    }

    /* .col-md-6 {
        max-width: 49%;
    } */

    .popup-content {
        background-color: #fefefe;
        margin: 15% auto;
        left: 0%;
        padding: 30px;
        border: 1px solid #888;
        width: 80%;
        max-width: 600px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        position: relative;
    }
}

@media all and (max-width: 1500px) {
    #category .first_product img {
        height: 175px;
    }
}