/* Responsive */

@media (max-width: 1001px) {
  .wrap-content {
    width: 90%;
    max-width: 1200px;
    margin: 0px auto;
  }
  .header .slogantop {
    padding: 5px 0px;
  }
  .header {
    position: fixed !important;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 999;
    -webkit-animation: fadeInDown 1.3s ease backwards;
    -moz-animation: fadeInDown 1.3s ease backwards;
    -o-animation: fadeInDown 1.3s ease backwards;
    -ms-animation: fadeInDown 1.3s ease backwards;
    background-color: white;
  }

  body {
    padding-top: 135px;
  }
  .menu {
    width: 100%;
  }
  .btn-menu {
    display: none;
  }
  .article {
    padding: 40px 0px;
  }
  .flex-header {
    display: flex;
    gap: 5px;
  }
  .about {
    padding: 0;
  }
  .flex-about {
    display: flex;
    flex-wrap: wrap;
  }
  .content-about {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    padding: 20px;
  }
  .content-about h5 {
    margin-bottom: -6px;
  }
  .title-about {
    height: auto;
    max-height: 100%;
  }
  .photo-about {
    width: fit-content;
    margin: auto;
    margin-top: 20px;
    padding: 0;
  }
  .tieuchi p {
    width: 100%;
  }
  .hinhanh .flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hinhanh-img:nth-child(1),
  .hinhanh-img:nth-child(2),
  .hinhanh-img:nth-child(3),
  .hinhanh-img:nth-child(4),
  .hinhanh-img:nth-child(5) {
    width: auto;
    height: 250px;
  }
  .hinhanh-img:nth-child(1) img,
  .hinhanh-img:nth-child(2) img,
  .hinhanh-img:nth-child(3) img,
  .hinhanh-img:nth-child(4) img,
  .hinhanh-img:nth-child(5) img {
    width: auto;
    height: 250px;
  }
  .tuvan {
    width: 100%;
  }
  .tuvan h5 {
    text-align: center;
  }
  .dangky {
    width: 100%;
    margin-top: 20px;
  }
  .form .congai {
    display: none;
  }
  .tintuc {
    display: none;
  }
  .tintuc .tieude {
    width: 80%;
  }
  .tintucgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tintuc2 {
    display: block;
  }

  .headertop {
    width: 100%;
  }
  #hamburger {
    display: block;
    /* margin: auto; */
    width: 5%;
  }
  .wrap-content .logo-header {
    /* display: none; */
    width: 80% !important;
    display: flex;
    justify-content: center;
    display: none;
  }
  .logo-header {
    width: auto !important;
  }
  .wrap-content .logo-headernone {
    width: fit-content;
    margin-top: 0;
    display: flex;
    justify-content: center;
    margin: auto;
  }
  .wrap-content .logo-headernone img {
    width: 90px;
  }
  .headertop .wrap-content {
    padding-left: 0px;
  }
  .header2 {
    margin-top: 0;
  }
  .search2 {
    display: flex;
  }
  .search2 input {
    width: 185px;
  }
  .header-translate2 {
    display: flex;
  }
  .header-translate2-wrapper {
    position: relative;
    display: inline-block;
  }

  .dropdown-menu {
    position: absolute;
    top: 25px;
    left: 0;
    background: #efefef;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: fit-content;
  }

  .dropdown-lang {
    width: 24px;
    height: 17px;
    background-size: cover;
    cursor: pointer;
    transition: transform 0.2s;
    margin: auto;
  }
  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  .flag-icon {
    width: 24px;
    height: 17px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
  }

  .socialtopnone {
    display: flex;
  }
  .search {
    margin-top: 15px;
  }
  .search-menu {
    width: 40%;
  }
  .flex-header .search-menu input {
    height: 40px !important;
  }
  .search-menu p {
    font-size: 16px;
    padding: 8px 20px 10px 20px;
  }
  .search-menu p i {
    font-size: 16px;
    margin-left: 2px;
  }

  .menu-mobile ul li a img {
    background-color: var(--color-main);
    width: 22px !important;
  }
  .menu-mobile .mxhheader {
    width: 100%;
    background-color: #5f2d08;
    padding: 10px;
  }
  .social {
    justify-content: start !important;
  }
  .menu-head {
    display: none;
  }
  .wrap-menu {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-news {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-newsdv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .grid-newssp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .socialalbumtong {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
  }
  .socialalbumtong p {
    width: fit-content;
  }
  .tieuchi {
    width: 100%;
  }
  .cart-head {
    font-size: 12px;
    gap: 10px;
  }
  .cart-head .count-cart {
    right: 50%;
    left: 30%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
  }
  .flex-product-main {
    display: block;
  }
  .flex-product-main .left-product {
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 0px;
    transform: translateX(-250px);
    bottom: 0px;
    overflow-x: hidden;
    background: #fff;
    box-shadow: 0px 0px 5px #000;
    transition: all 0.5s;
  }
  .flex-product-main .left-product.show {
    transform: translateX(0px);
  }

  .flex-product-main .right-product {
    width: 100%;
  }

  .grid-product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* footer */
  footer {
    background: url(../images/vienfooter.png) top/cover no-repeat;
    padding: 125px 0px 0px;
    margin-top: -40px;
  }
  .footertong {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .footer1 {
    width: 48%;
  }
  .footer2 {
    width: 48%;
  }
  .footer3 {
    width: 100%;
  }

  .title-detail h1 {
    font-size: 30px;
  }
  .copyright .flex {
    text-align: center;
  }
  .copyright p {
    width: 100%;
  }
  .statistic {
    width: 100%;
  }

  /* .filter {
    display: block;
  } */
}

@media (max-width: 850px) {
  .header .wrap-content .flex-header .search {
    width: 60%;
  }

  .search-menu {
    width: 60%;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* ///// */
  .flex-header .mxhheader {
    display: none;
  }
  .flex-header .mxhheader .social {
    display: none;
  }

  .offcanvas-body .menu-mobile .mxhheader {
    display: block;
  }
  .tintuc-main {
    display: block;
  }
  .news-left {
    width: 100%;
  }
  .news-right {
    width: 100%;
    margin-top: 30px;
    padding: 10px;
  }
  .spnbtop .vienngang {
    width: 210px;
  }

  /* footer */
}
@media (max-width: 769px) {
  .wrap-content .flex-header .logo-headernone {
    margin-left: 10px;
  }
  .photo-about h2 {
    font-size: 60px;
  }
  .tieuchi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hinhanh-img:nth-child(1),
  .hinhanh-img:nth-child(2),
  .hinhanh-img:nth-child(3),
  .hinhanh-img:nth-child(4),
  .hinhanh-img:nth-child(5) {
    width: auto;
    height: 230px;
  }
  .hinhanh-img:nth-child(1) img,
  .hinhanh-img:nth-child(2) img,
  .hinhanh-img:nth-child(3) img,
  .hinhanh-img:nth-child(4) img,
  .hinhanh-img:nth-child(5) img {
    width: auto;
    height: 230px;
  }
  .hinhanh-info p {
    font-size: 18px;
  }
  .hinhanh-info {
    padding: 10px 20px 15px !important;
    gap: 10px;
  }
  .tintuc .tieude {
    width: 100%;
  }
  .tintucgrid {
    grid-template-columns: repeat(1, 1fr);
  }
  .tintuc-img {
    width: 30%;
  }
  .col-sm-4 {
    width: 100%;
    margin-bottom: 15px;
  }
  .col-sm-8 {
    width: 100%;
    margin-bottom: 15px;
  }
  .title-cat-main {
    gap: 15px;
  }
  .title-cat-main span {
    padding: 8px 15px;
  }
  .header .wrap-content .flex-header .search {
    width: 60%;
  }
  .albumgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-newssp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .title-about h2 {
    font-size: 23px;
  }
  /* ***** */
  .gutter-x-20 {
    --bs-gutter-x: 10px;
  }
  .item-news {
    padding: 5px;
  }
  .ds-news h3 {
    font-size: 14px;
  }
  .text-cart {
    display: none;
  }
  .grid-pro-detail {
    display: block;
  }
  .grid-pro-detail .left-pro-detail {
    width: 100%;
    padding: 0px;
    border-right: none;
  }
  .slick_photo1 {
    text-align: center;
  }
  .grid-pro-detail .right-pro-detail {
    width: 100%;
  }
  .grid-product,
  .grid-news {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .grid-newsdv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* footer */
  footer h5 {
    font-size: 40px;
  }
  .footer1 {
    width: 100%;
  }
  .footer2 {
    width: 100%;
    margin-top: 10px;
  }
  .footer3 {
    margin-top: 0;
  }
}

@media (max-width: 670px) {
  .wrap-content .flex-header .logo-headernone {
    margin-left: 0;
  }
  .wrap-content .logo-headernone img {
    width: 70px;
  }
  .photo-about {
    width: 100%;
  }
  .tieuchi h5 {
    font-size: 30px;
  }
  .flex-powered {
    display: block;
    text-align: center;
  }
  .flex-product-main .right-product .d-flex {
    display: block !important;
  }
  .copyright .flex {
    justify-content: center !important;
  }
}
@media (max-width: 600px) {
  #hamburger {
    width: 8%;
  }
  .slogantop {
    width: 1000%;
  }
  .marquee-text {
    display: inline-block;
    animation: marquee 10s linear infinite; /* Thời gian và kiểu hoạt ảnh */
  }
  .hotlinetop {
    width: 100%;
  }
  .hotlinetop p {
    justify-content: center;
    padding-bottom: 5px;
  }
  .menu-show ul {
    padding: 10px 0px 0px 0px;
  }
  .menu-show ul li {
    padding: 10px 30px 0px 0px;
  }
  .title-about h2 {
    font-size: 20px;
    margin-bottom: 0;
  }
  .tieuchi {
    padding: 30px 0px;
  }
  .tieuchi h5 {
    font-size: 22px;
  }
  .tieuchi span {
    font-size: 16px;
  }
  .banner {
    padding: 0px 0px 30px;
  }
  .banner .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .dichvu {
    padding: 30px 0px 0px;
  }
  .dichvu h5 {
    font-size: 30px;
  }
  .dichvu-info h5 {
    font-size: 50px;
  }
  .sanpham {
    padding: 30px 0px 0px;
  }
  .sanpham .flex .tieude {
    font-size: 23px;
    padding: 10px 30px 10px 10px;
    gap: 6px;
  }
  .sanpham .swiper {
    margin: 25px 0px;
  }
  .sanphamgia {
    width: 100%;
  }
  .sanpham-info p {
    font-size: 13px;
    padding: 8px 15px 5px 5px;
  }
  .sanpham-info a span {
    font-size: 16px;
  }
  .hinhanh {
    padding: 30px 0px;
  }
  .hinhanh h5 {
    font-size: 30px;
  }
  .hinhanh .flex {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 25px;
  }
  .hinhanh-img:nth-child(1),
  .hinhanh-img:nth-child(2),
  .hinhanh-img:nth-child(3),
  .hinhanh-img:nth-child(4),
  .hinhanh-img:nth-child(5) {
    width: auto;
    height: 270px;
  }
  .hinhanh-img:nth-child(1) img,
  .hinhanh-img:nth-child(2) img,
  .hinhanh-img:nth-child(3) img,
  .hinhanh-img:nth-child(4) img,
  .hinhanh-img:nth-child(5) img {
    width: auto;
    height: 270px;
  }
  .tuvan h5 {
    font-size: 30px;
  }
  .dangky h5 {
    font-size: 30px;
  }
  .dangky span {
    font-size: 24px;
  }
  .form {
    padding: 30px 0px;
  }
  .tintuc {
    padding: 30px 0px;
  }
  .tintuc .tieude {
    font-size: 28px;
  }
  .tintuc-img {
    width: 50%;
  }

  .title-detail h1 {
    font-size: 26px;
  }

  .cart {
    width: 50%;
  }
  .cart-head .count-cart {
    left: 22%;
    top: -12px;
  }
  .cart-head p {
    font-size: 14px;
  }
  .col-sm-6 {
    width: 100%;
  }
  .form .flex .noidung {
    margin-top: 0;
  }
  .form .contact-form .contact-input {
    margin-bottom: 10px !important;
  }
  .form textarea.form-control {
    height: 100%;
  }

  .header .wrap-content .flex-header .search {
    width: 65%;
  }
  .search label {
    padding: 15px 15px;
  }

  .wrap-content .flex-header .logo-headernone {
    margin-left: 0;
    width: 70% !important;
  }

  .tudongchay {
    height: 85px;
  }
  .grid-news {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .grid-newsdv {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .content-about .aboutus {
    margin-bottom: 0;
  }
  .search-menu {
    width: 80%;
  }

  .product .price-old {
    margin: 0;
  }
  .product .price-old {
    padding: 1px 10px;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .logoft {
    margin-left: 0px;
  }
}

@media (max-width: 575px) {
  .flex-sm-fill {
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .photo-about h2 {
    font-size: 40px;
  }
  .header .wrap-content .flex-header .search {
    width: 82%;
  }
  .cart-head {
    gap: 5px;
  }
  .header .wrap-content {
    width: 95%;
  }
  .search-menu {
    width: 90%;
  }
  .product h4 p {
    width: 95%;
  }
  footer h5 {
    font-size: 25px;
  }
  .sanpham .flex .tieude {
    font-size: 17px;
    padding: 10px 20px 10px 10px;
  }
  .tintuc-img {
    width: 100%;
  }

  /* ////// */
}
@media (max-width: 369px) {
}
