﻿/* Normal desktop :1366px. */
@media (min-width: 1170px) and (max-width: 1400px) {
}


/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1169px) {
}


/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
}


/* small mobile :320px. */
@media (max-width: 767px) {
    /*.custom-box-product .product-header img {
        height: auto;
    }*/
    .shop-head {
        margin-top: 15px;
    }
    /*.custom-box-product .product-header img {
        height: 344px;
    }*/
    .product {
        margin-bottom: 15px;
    }

    .cart_summary th {
        width: 200px;
    }

    /* Force table to not be like tables anymore */
    table.cart_summary, .cart_summary thead, .cart_summary tbody, .cart_summary th, .cart_summary td, .cart_summary tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .cart_summary thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .cart_summary tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .cart_summary tbody td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        .cart_summary tbody td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

    .cart_summary tbody td:first-child {
        height: 70px;
        width: 100%;
    }

    .cart_product img {
        height: auto;
        position: absolute;
        max-height: 53px;
        box-shadow: none;
        border: none;
        right: 32%;
    }
    /*
	Label the data
	*/
    .cart_summary tbody td:nth-of-type(1):before {
        content: "Hình";
    }

    .cart_summary tbody td:nth-of-type(2):before {
        content: "Tên sản phẩm";
    }

    .cart_summary tbody td:nth-of-type(3):before {
        content: "Giá";
    }

    .cart_summary tbody td:nth-of-type(4):before {
        content: "Số lượng";
    }

    .cart_summary tbody td:nth-of-type(5):before {
        content: "Thành tiền";
    }

    .cart_summary tbody td:nth-of-type(6):before {
        content: " ";
    }
    .cart_summary{
        position:relative;
    }
        .cart_summary tfoot td {
            position: absolute;
            right: 0;
        }
    table.table.cart_summary {
        margin-bottom: 50px;
    }
    .navbar-nav .dropdown-menu {
        display: block;
        border: none;
        box-shadow: none;
        margin-left: 15px;
        margin-right: 15px;
    }
    .padding-mobile {
        display: block;
        margin-top: 15px;
        padding-top: 15px;
    }
    .top-categories-search {
        display: none;
    }
    .offer-product .no-gutters .col-md-6 {
        margin-bottom: 10px;
    }
    .about-us__banner {
        margin: 0 auto;
    }
    .mt-62 {
        margin-top: 15px !important;
    }
    .homepage-heading__text {
        font-size: 21px;
    }
    .featured__container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 6px;
        margin-bottom: 15px;
        margin-top: 0px;
    }
    .product-detail__why-us-box {
        display: flex;
        align-items: center;
        padding: 20px 20px 20px 40px;
        width: 100%;
        height: 98px;
        border-radius: 8px;
    }
    .product-detail__why-us {
        margin-top: 42px;
        display: block;
    }
    .product-detail__why-us-box:not(:first-child) {
        margin-left: 0;
        margin-top: 15px;
    }
    .dropdown-menu .dropdown-item {
        white-space: inherit;
    }
    .logo-top {
        height: 55px;
    }
    .header-navbar__support-desc {
        display: none;
    }
    .header-navbar__support img {
        display: none;
    }
    .header-navbar__support {
        position: absolute;
        bottom: -7px;
    }
    .header-navbar__support-phone {
        font-weight: 500;
        font-size: 20px;
        color: #0E3500;
        background: #FFDA0F;
        border-radius: 49px !important;
        font-size: 11px;
        padding: 4px 8px;
        bottom: 10px;
    }
    .product-detail__promotion-title {
        margin-left: 27%;
    }
    .product-detail__cart-icon {
        position: absolute;
        left: 24px;
        top: 12px;
        fill: #0E3500;
        display: none;
    }
    .about-home .main-title {
        line-height: 40px;
    }
    .mcat-right li {
        width: 50%;
        padding: 5px 5px 5px 0px;
        margin-bottom: 1px;
        float: left;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }
    .mcat-left a .mcat-arrow span {
        left: 0;
    }
    .visible-lg {
        display: none;
    }
    .hotline-bar {
        display: none;
    }
}

/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    /*.custom-box-product .product-header img {
        height: auto;
    }*/
    .visible-lg{
        display:none;
    }
}