

@media (max-width: 1024px) {
    .header-main .box-header .list-contact-header .item .icon svg {
    width: max-content;
    max-width: 25px;
    max-height: 25px;
    }
    .header-main .box-header .list-contact-header .item .icon{
        width: 25px;
        min-width: 25px;
    }
    .header-main .box-header .list-contact-header{
        display: none
    }
    .header-main .box-header .list-contact-header .item .text {
    font-size: 12px;
    }
    header#header .header-top{display: none;}
    main#main {
    padding-top: 0;
    }
    .header-main .box-header .logo{
        display: none;
    }
    .banner-main .container{
        padding: 0;
    }
    .header-main .box-header{
        justify-content: flex-end;
    }
    .header-main {
        background-color: transparent;
        box-shadow: none;
    }

    .header-main .box-header .wrap-form-search {
        width: 0;
        margin-right: 0;
        overflow: hidden;
        transition: all .2s ease;
    }
    header#header.active .header-main{
        background-color: white;
        box-shadow: 0 0 #000,0 0 #0000,0 0 #000,0 0 #0000 ,0px 2px 4px rgba(60,69,79,0.1);
    }
    header#header.active .header-main .box-header .wrap-form-search {
        width: 100%;
    }
    .box-action-mobile{
        display: flex;
        gap: 12px;
        background-color: rgba(22,28,36,.4);
        padding: 6px 12px;
        border-radius: 6px;
        position: relative;
        transition: all .2s ease;
    }
    .box-action-mobile .btn{
        border: none;
        padding: 0 4px;
        position: relative;
        transition: all .2s ease;
    }
    .box-action-mobile .btn:first-child::before{
        content: "";
        width: 2px;
        height: 10px;
        background-color: white;
        position: absolute;
        right: -5px;
    }
    header#header.active .box-action-mobile{
        gap: 0;
        background-color: transparent;
    }
    header#header.active .box-action-mobile .btn-search{
        width: 0;
        min-width: 0;
        overflow: hidden;
    }
    header#header.active .box-action-mobile .btn-share svg path{
        stroke: #24292E;
    }
    header#header.active .box-category-mobile{
        display: block;
        padding: 8px 12px 0;
    }
    header#header.active .box-category-mobile .list-actegory{
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    header#header.active .box-category-mobile .list-actegory .item-category{
        min-width: 180px;
        width: 180px;
        border: 1px solid rgba(145, 158, 171, .32);
        padding: 6px 10px ;
    }
    header#header.active .box-category-mobile .list-actegory .item-category.all{
        min-width: max-content;
        width: max-content;
        height: 44px;
    }
    #product-main .col-left{
        max-width: 100%;
        flex: auto;
        padding: 0!important;
    }
    #product-main .col-right{
        max-width: 100%;
        flex: auto;
    }
    .wrap-content-product .sort-top .wrap-list-sort .item-soft {
        font-size: 12px;
        line-height: calc(22 / 15);
        padding: 7px 10px;
        background-color: rgb(254 254 254 / 1);
        border: 1px solid rgb(221 225 229 / 1);
        border-radius: 6px;
        width: max-content;
        min-width: max-content;
    }
    .wrap-content-product .sort-top .text-sort {
        font-size: 14px;
        margin-right: 16px;
    }
    .wrap-content-product .sort-top .wrap-list-sort{
        overflow-y: auto;
    }
    #product-main .wrap-category .list-actegory{
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        height: auto;
        padding-bottom: 16px;
    }
    #product-main .wrap-category .list-actegory .item-category.all{
        display: none;
    }
    #product-main .wrap-category .list-actegory .item-category{
        min-width: 162px;
        width: 162px;
        position: relative;
        padding: 0;
        background-color: transparent;
    }
    #product-main .wrap-category .list-actegory .item-category .box-image{
        aspect-ratio: 162 / 96;
        width: 100%;
    }
    #product-main .wrap-category .list-actegory .item-category::before{
        position: absolute;
        content: " ";
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        z-index: 1;
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 35%, rgba(22, 28, 36, 66%));
    }
    #product-main .wrap-category .list-actegory .item-category .text{
        position: absolute;
        margin: 0 12px 6px;
        bottom: 0;
        color: white;
        z-index: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 13px;
        line-height: calc(17 / 13);
    }
    #product-main .wrap-category {
        padding: 16px 16px 0;
        border-radius: 0;
        background-color: rgb(254 254 254 / 1);
        height: auto;
        overflow: hidden;
        overflow-y: auto;
        position: sticky;
        top: unset;
        margin-bottom: 16px;
    }
    #product-main .wrap-category .title-category{
        display: none;
    }
    #product-main {
        margin-top: 16px;
    }
    .box-content-detail{
        flex-direction: column;
        gap: 16px;
        padding-inline: 24px;
    }
    .box-content-detail .box-title {
        padding-left: 0;
    }
    .box-content-detail .avatar {
        width: 100px;
        min-width: 100px;
        margin-top: -70px;
    }
    .box-control-mobile{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        display: flex;
        align-items: flex-start;
       display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: white;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 32px;
        box-shadow: 0 -2px 4px rgba(46, 46, 46, .04);
        height: 57px;
    }
    .box-control-mobile .item{
        /* flex: 1; */
        text-align: center;
            font-weight: 500;
        font-size: 13px;
        text-decoration: none;
        color: #7f7f7f;
        border: none;
        background-color: transparent;
        cursor: pointer;
        position: relative;
    }
    .box-control-mobile .item .text{
        font-size: 13px;
        line-height: calc(20 / 13);
    }
    .box-control-mobile .item.active{
        color: #16884a;
    }
    .box-control-mobile .item .icon{
        display: block;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .box-control-mobile .item.active .icon::before{
    content: "";
        position: absolute;
        width: 40px;
        height: 3px;
        background-color: #16884a;
        top: -20%;
        left: 16%;
        border-radius: 100px;
    }
    .box-control-mobile .item .icon .img{
        width: 16px;
        height: 16px;
        border-radius: 100%;
    }
    .box-control-mobile .item .icon .img-pa{
        position: absolute;
        margin-left: -25px;
        margin-top: -5px;

    }
    footer#footer{
        padding-bottom: 70px;
    }
    .list-product-same {
        padding: 8px;
        border-radius: 6px;
        background-color: #f1f3f5;
    }
    .list-product-same .box-title{
        padding: 8px;
        background-color: white;
    }
}
@media (max-width: 991px) {

}
@media (max-width: 768px) {
    .detail-wrap .product-gallery{
        flex-direction: column-reverse;
        margin-bottom: 24px;
    }
    .product-gallery .product-thumbs {
        width: 100%;
        min-width: 100%;
    }
    .product-slider {
        width: 100%;
        max-width: 100%;
    }
    .item-product {
      padding: 8px;
    }
    .box-content-detail .box-title .list-info{
        align-items: flex-start;
    }
    .box-content-detail .box-title .list-info li{
        flex-direction: column;
        justify-content: center;
    }
    .box-content-detail .box-title .list-info .content{
        text-align: center;
        padding: 0 12px;
    }
    .wrap-content-product {
        padding: 8px;
        background-color: #f1f3f5;
    }
    .wrap-content-product .sort-top{
        background-color: white;
        padding-inline: 8px;
    }
    .wrap-content-product .list-product{
        margin-top: 8px;
    }
    #product-main .row {
        margin-left: -4px;
        margin-right: -4px;
    }
    #product-main .row [class*="col-"] {
        padding: 0 4px;
    }
}
    
@media (max-width: 575px) {

}
@media (max-width: 414px) {

}