/* @media (min-width: 640px) { ... }
@media (min-width: 768px) { ... }
@media (min-width: 1024px) { ... }
@media (min-width: 1280px) { ... }
@media (min-width: 1536px) { ... } */

/* head menu */
@media (max-width: 380px) {
    .nav-mysite{
        font-size: 12px;
    }
    .nav-mysite svg.w-6{
        width: 1rem;
    }
}
@media (max-width: 590px) {
    #m-menu-nav{
        display: block;
    }
    #main-nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 230px;
        background: #FFF;
        height: 100vh;
        z-index: 32;
        flex-direction: column;
        overflow-y: auto;
        box-shadow: 0 0 14px 2px rgb(0 0 0 / 30%);
        transform: translateX(0%);
        transition: all 0.2s ease-out;
    }
    #main-nav._hide{
        transform: translateX(-100%);
        transition: all 0.2s ease-in;
    }
    #main-nav .mb-close{
        display: block;
    }
    #main-nav .item-link{
        border-bottom: solid 2px #CCC;
    }
    #main-nav .sub-nav, #main-nav .sub-menu2 {
        display: block;
        position: relative;
        top: 0;
        padding-left: 1.5rem;
        box-shadow: none;
    }
    #main-nav .sub-menu2 {
        display: none;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        max-width: inherit;
        transition: all 0.2s ease-in;
    }
    .item-link .icon{
        display: inline-block;
    }
    .sub-menu li:last-child{
        border-bottom: none;
    }
    #main-nav .bth-sub-mb{
        display: flex;
    }
    #main-nav .bth-sub-dt{
        display: none;
    }
}


/* mysite */
@media (max-width: 768px) {
    .mysite-body{
        flex-direction: column;
    }
    .nav-mysite{
        width: 100%;
        border-bottom: solid #CCC 1px;
    }
    .nav-mysite ul{
        display: flex;
    }
}
@media (max-width: 510px) {
    .nav-mysite a{
        flex-direction: column;
    }
}

/* product */

@media (max-width: 940px) {
    .list-products .wdcol {
        width: 33.333333%;
    }
}
@media (max-width: 710px) {
    .list-products .wdcol {
        width: 50%;
    }

    #table-list-product .pic-product{
        width: 64px;
        height: 64px;
    }

    #table-list-product .onmobile{
        display: block;
    }
    #table-list-product .ondesktop{
        display: none;
    }
    #table-list-product .set-pr_name{
        width: 70px;
    }
    #table-list-product .box-quantity div{
        margin: inherit;
    }
    #table-list-product .box-quantity .w-40{
        width: 125px;
    }
    #table-list-product .img-pd{
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 530px) {
    .wrap-mn-order.flex-row{
        flex-direction: column;
    }
}
@media (max-width: 475px) {
    .list-products .itemProd{
        display: block;
        padding: 0.7rem;
    }
    .list-products .wdcol {
        width: 100%;
    }
    .list-products .itemProd .thum{
        float: left;
        width: 48%;
        margin-right: 0.5rem;
    }
    .itemProd .click-box{
        flex-direction: column;
        padding: 1rem 0 0;
    }
    .itemProd .click-box a{
        margin: 0.2rem 0;
    }
}

/* product detail */
@media (max-width: 768px) {
    .myu-product .wrap-product{
        flex-direction: column;
    }
    .myu-product .wdcol._md-6{
        width: 100%;
    }
}

/* content view */
@media (max-width: 768px) {
    .wrap-body-blog{
        flex-direction: column;
    }
    .wrap-body-blog .blog-left{
        padding: 0;
        width: 100%;
    }
    .blogs-random{
        padding: 0;
        width: 100%;
    }
}

/* blog */
@media (max-width: 768px) {
    .blogs-all .blog-item{
        width: 33.333333%;
    }
}
@media (max-width: 640px) {
    .blogs-all .blog-item{
        width: 50%;
    }
}

/* check out*/
@media (max-width: 768px) {
    #wrap-payment{
        flex-direction: column;
    }
    #wrap-payment{
        margin: 0;
    }
    #wrap-payment .m-2{
        margin: 0.5rem 0;
    }
}

/* privacy */
@media (max-width: 940px) {
    .temp1-body{
        flex-direction: column;
    }
    .temp1-body .nav-temp1 {
        max-width: inherit;
        width: 100%;
        border-right: none;
        border-left: none;
        border-bottom: solid 1px #eb7598;
    }
    .temp1-body .nav-temp1 ul{
        display: flex;
        min-width: 620px;
    }
}

/* help */
@media (max-width: 940px) {
    .help-body{
        flex-direction: column;
    }
    .help-body .nav-help {
        max-width: inherit;
        width: 100%;
        border-right: none;
        border-left: none;
        border-bottom: solid 1px #eb7598;
    }
    .help-body .nav-help ul{
        display: flex;
        min-width: 620px;
    }
}
@media (max-width: 770px) {
    .bank_list{
        flex-direction: column;
    }
    .bank_list .text-left{
        width: 100%;
    }
}


/* footer */
@media (max-width: 1160px) {
    #footer-mily{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
@media (max-width: 590px) {
    #footer-mily{
        flex-direction: column;
    }
    #footer-mily .footer-section{
        width: 100%;
        padding-bottom: 1rem;
    }
}