@media (min-width:1200px) {}

@media (max-width:1199px) {
    #search {
        right: 15px;
    }

    #container {
        padding: 20px 15px;
    }

    .box-dt {
        max-width: 95%;
    }

    .box-tintuc {
        max-width: 95%;
    }

    /* Product */
    .box-product:nth-child(4n) {
        margin: 0px 2% 15px 0px;
    }

    .box-product:nth-child(4n + 1) {
        clear: none;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .box-sp {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-sp:nth-child(3n) {
        margin-right: 0;
    }

    .box-sp:nth-child(3n+1) {
        clear: both;
    }

    .box-product {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-product:nth-child(3n) {
        margin-right: 0;
    }

    .box-product:nth-child(3n+1) {
        clear: both;
    }

    .box-album {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-album:nth-child(3n) {
        margin-right: 0;
    }

    .box-album:nth-child(3n+1) {
        clear: both;
    }

    .box-video {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-video:nth-child(3n) {
        margin-right: 0;
    }

    .box-video:nth-child(3n+1) {
        clear: both;
    }

    .footer-1 {
        width: 35%;
        margin: 0px;
    }

    .footer-2 {
        width: calc(35% - 20px);
        margin: 0 0 0 20px;
    }

    .footer-3 {
        width: calc(30% - 20px);
        margin: 0 0 0 20px;
    }
}

@media (max-width:991px) {
    .search_box_hide {
        top: -11px;
    }
 #menu-mobile .logo-page img{max-height: 42px;}
    .slideshow {
        margin-top: 0;
    }

    .search_box_hide.opening input {
        border: 1px solid;
    }

    .btn-search {
        position: absolute;
        margin-left: 0px;
        right: 0;
        top: 18px;
    }

    .btn-search a {
        width: 40px;
        font-size: 21px !important;
        border-radius: 50%;
        color: black !important;
        top: 0;
    }

    .logo-mb {
        position: absolute;
        top: 0;
        width: 117px;
        left: 0;
        right: 0;
        margin: auto;
        display: flex;
        justify-content: center;
        padding: 5px 0;
        z-index: 0;
    }

    .banner-ab,
    #menu,
    .right {
        display: none;
    }

    #banner .center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        position: static;
        padding: 0;
        margin-right: 15px;
    }

    .banner {
        padding: 0;
    }

    #menu-mobile {
        display: block;
    }

    #smenu a {
        font-family: RM;
        color: #fff;
        font-size: 16px;
        margin-left: 5px;
    }

    .left {
        width: 100%;
    }

    /* Product */
    .box-product:nth-child(4n) {
        margin: 0px 2% 10px 0px;
    }

    .box-product:nth-child(4n + 1) {
        clear: none;
    }

    /* Footer */
    #footer {
        padding: 30px 0 0;
    }

    #footer .footer-content {
        margin-top: 12px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        padding: 0 0px;
        margin-bottom: 0px !important;
    }

    .collection-content {
        order: -1;
    }

    .footer-top>div {
        min-width: 100%;
    }

    .footer-1,
    .footer-2,
    .footer-3,
    .footer-4 {
        width: 50%;
        float: none;
        margin: 0 0 25px 0;
    }

    .form-newsletter .newsletter-input {
        width: 80%;
        border-right: 1px solid #444;
    }

    .form-newsletter input[type="email"],
    .form-newsletter input[type="submit"] {
        width: 100%;
        border-left: none;
        border-top: 1px solid #444;
    }

    .form-newsletter input[type="submit"] {
        border-top: none;
        border-left: none;
        border-radius: 0 0 4px 4px;
    }

    /* Product Detail */
    .attr-content-pro-detail .size-pro-detail {
        margin-right: 20px;
    }

    .criteria-banner.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-doitac.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-news.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-collection.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    #sanpham.container-product.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    #doitac {
        padding-left: 15px;
        padding-right: 15px;
    }

    #doitac .partner-title,
    .news-title,
    .collection-section .collection-title,
    .product-title {
        font-size: 2rem;
        line-height: 4rem;
        text-align: center;
    }

    .product-subtitle {
        text-align: center;
    }

    /* Collection */
    .collection-left,
    .collection-right {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .collection-left .collection-content,
    .collection-right .collection-content {
        transform: translateY(0px);
    }

    .collection-content {
        padding: 10px 0px;
        text-align: center;
    }

    .collection-content .item-collection-title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .collection-content p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 15px;
    }

    .collection-content a {
        padding-top: 6px;
        padding-bottom: 6px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .collection-left .collection-image,
    .collection-right .collection-image {
        transform: none;
    }

    .collection-grid {
        gap: 40px;
    }

    /* News */
    .news-content {
        padding: 15px 0;
    }

    .news-content p.item-news-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 8px;
    }

    .news-content p {
        font-size: 13px;
        line-height: 20px;
        text-align: justify;
    }

    .news-content p.text-split {
        margin-bottom: 10px;
    }

    .news-content a.read-more {
        display: block;
        margin-top: 10px;
        font-size: 12px;
    }

    .news-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .box-sp {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-sp:nth-child(3n) {
        margin-right: 0;
    }

    .box-sp:nth-child(3n+1) {
        clear: both;
    }

    .box-product {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-product:nth-child(3n) {
        margin-right: 0;
    }

    .box-product:nth-child(3n+1) {
        clear: both;
    }

    .box-album {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-album:nth-child(3n) {
        margin-right: 0;
    }

    .box-album:nth-child(3n+1) {
        clear: both;
    }

    .box-video {
        width: 32%;
        margin: 0px 2% 20px 0px;
    }

    .box-video:nth-child(3n) {
        margin-right: 0;
    }

    .box-video:nth-child(3n+1) {
        clear: both;
    }
}

@media (max-width:767px) {
    .cart-fixed {
        bottom: 65px;
    }

    .progress-wrap {
        bottom: 5px;
    }

    .support-online {
        display: inline;
        right: 15px;
        bottom: 120px;
    }

    .left-pro-detail .MagicZoom {
        /* border: 1px solid #eee; */
        /* padding: 7px; */
        border-radius: 5px;
    }

    .card .card-body {
        padding: 15px 10px;
    }

    .btn-zalo,
    .btn-phone,
    #messages-facebook {
        display: none;
    }

    /* .fix-toolbar {
        display: block;
    } */
    .content iframe {
        width: 100% !important;
        height: 45vh;
    }

    .content img {
        height: inherit !important
    }

    .logo {
        position: static;
        margin-right: 10px;
        height: auto;
    }

    #footer {
        padding: 0px 0 0;
    }

    #footer .footer-content {
        margin-top: 12px;
    }

    .footer-top {
        padding-bottom: 0;
    }

    .footer-1,
    .footer-2,
    .footer-3,
    .footer-4 {
        width: 100%;
        float: none;
        margin: 0 0 25px 0;
    }

    .copyright,
    .statistic {
        width: 100%;
    }

    .statistic span {
        margin: 0 5px;
    }

    .ft-b .center>div {
        width: 100%;
    }

    .top-contact .article-contact {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-contact {
        width: 100%;
        padding: 20px 15px;
    }

    #top .center>div {
        width: 100%;
    }

    #top #breadcrumb {
        margin-bottom: 0
    }

    .box-news {
        width: 100%;
        float: none;
        margin: 0 0 20px;
    }

    .pic-news {
        /* width: 35%; */
    }

    .bottom-left {
        width: 100%;
        margin-bottom: 20px;
    }

    .bottom-right:not(.onApp) {
        width: 100%;
    }

    .tintuc-l {
        width: 100%;
        margin-bottom: 20px;
    }

    .tintuc-r {
        width: 100%;
    }

    .left-pro-detail {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    .right-pro-detail {
        float: none;
        width: 100%;
    }

    .grid-thuvienanh {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 22vh);
    }

    .box-thuvienanh .box-thuvienanh-content {
        background: rgba(0, 0, 0, 0.4);
        color: #fff;
    }

    .item-address-contact {
        width: 100%;
    }

    #doitac {
        padding-left: 15px;
        padding-right: 15px;
    }

    .doitac-mb {
        margin-bottom: 2rem;
    }

    .criteria-banner.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-doitac.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-news.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-collection.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    #sanpham.container-product.py-custom {
        padding-bottom: 1rem;
        padding-top: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Dot Slider */
    .owl-dot {
        font-size: 10px !important;
    }

    .owl-dots {
        bottom: 5px;
        line-height: 19px;
    }

    .owl-dot::before {
        font-size: 10px;
        line-height: 17.52px;
        padding: 5px 8px;
    }

    #doitac .partner-title,
    .news-title,
    .collection-section .collection-title,
    .product-title {
        font-size: 2rem;
        line-height: 4rem;
        text-align: center;
    }

    .product-subtitle {
        text-align: center;
    }

    /* Product */
    .product-subtitle {
        font-size: 0.875rem;
        line-height: 1.283rem;
    }

    .underline-tabs .nav-tabs {
        font-size: 1.125rem;
        line-height: 1.283rem;
        margin-left: 0;
    }

    .underline-tabs .nav-link {
        padding: 0.5rem;
    }

    .box-product .row.g-4 {
        margin-left: 0;
        margin-right: 0;
    }

    .box-product .container-card {
        padding: 0;
    }

    /* Collection */
    .collection-left,
    .collection-right {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .collection-left .collection-content,
    .collection-right .collection-content {
        transform: translateY(0px);
    }

    .collection-content {
        padding: 10px 0px;
        text-align: center;
    }

    .collection-content .item-collection-title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .collection-content p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 15px;
    }

    .collection-content a {
        padding-top: 6px;
        padding-bottom: 6px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .collection-left .collection-image,
    .collection-right .collection-image {
        transform: none;
    }

    .collection-grid {
        gap: 40px;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-content {
        padding: 15px 0;
    }

    .news-content p.item-news-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 8px;
    }

    .news-content p {
        font-size: 13px;
        line-height: 20px;
        text-align: justify;
    }

    .news-content p.text-split {
        margin-bottom: 10px;
    }

    .news-content a.read-more {
        display: block;
        margin-top: 10px;
        font-size: 12px;
    }

    .news-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* tab */
    .underline-tabs .nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        display: flex;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .underline-tabs .nav-tabs {
        border-bottom: none;
    }

    .underline-tabs .nav-tabs .nav-link.active {
        margin-bottom: 1px;
    }

    .underline-tabs .nav-item {
        flex: 0 0 auto;
    }

    .underline-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 16px;
        border-bottom: 0px solid transparent;
    }

    .nav-item.me-custom {
        margin-right: 2rem;
    }

    .underline-tabs.mb-5 {
        margin-bottom: 0 !important;
    }
}

@media (max-width:576px) {
    .box-product-responsive {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width:481px) and (max-width:767px) {
    .box-sp {
        width: 49%;
        margin: 0px 2% 15px 0px;
    }

    .box-sp:nth-child(2n) {
        margin-right: 0;
    }

    .box-sp:nth-child(2n+1) {
        clear: both;
    }

    .box-product {
        width: 49%;
        margin: 0px 2% 15px 0px;
    }

    .box-product:nth-child(2n) {
        margin-right: 0;
    }

    .box-product:nth-child(2n+1) {
        clear: both;
    }

    .box-album {
        width: 49%;
        margin: 0px 2% 15px 0px;
    }

    .box-album:nth-child(2n) {
        margin-right: 0;
    }

    .box-album:nth-child(2n+1) {
        clear: both;
    }

    .box-video {
        width: 49%;
        margin: 0px 2% 15px 0px;
    }

    .box-video:nth-child(2n) {
        margin-right: 0;
    }

    .box-video:nth-child(2n+1) {
        clear: both;
    }
}

@media (max-width:480px) {
    .box-sp {
        width: 49%;
        margin: 0px 2% 10px 0px;
    }

    .box-sp:nth-child(2n) {
        margin-right: 0;
    }

    .box-sp:nth-child(2n+1) {
        clear: both;
    }

    .box-product {
        width: 49%;
        margin: 0px 2% 10px 0px;
    }

    .box-product:nth-child(2n) {
        margin-right: 0;
    }

    .box-product:nth-child(2n+1) {
        clear: both;
    }

    .box-album {
        width: 49%;
        margin: 0px 2% 10px 0px;
    }

    .box-album:nth-child(2n) {
        margin-right: 0;
    }

    .box-album:nth-child(2n+1) {
        clear: both;
    }

    .box-video {
        width: 49%;
        margin: 0px 2% 10px 0px;
    }

    .box-video:nth-child(2n) {
        margin-right: 0;
    }

    .box-video:nth-child(2n+1) {
        clear: both;
    }

    .criteria-banner.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-doitac.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-news.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-collection.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    #sanpham.container-product.py-custom {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width:374px) {

    .lh-con-l,
    .lh-con-r {
        width: 100%;
        float: none;
        margin: 0px;
        padding: 0px;
    }

    .lh-con-r {
        margin-bottom: 10px;
    }

    .box-sp {
        width: 90%;
        margin: 0px 5% 10px;
        float: none;
    }

    .box-product {
        width: 49%;
        /* margin: 0px 5% 10px; */
        /* float: none; */
    }

    .card .card-body {
        padding: 10px;
    }

    .box-album {
        width: 90%;
        margin: 0px 5% 10px;
        float: none;
    }

    .box-video {
        width: 90%;
        margin: 0px 5% 10px;
        float: none;
    }

    /* Product */
    /* .box-product:nth-child(2n) {
		margin: 0px 5% 10px;
	} */
}