@media only screen and (max-width: 1660px) {
}
@media only screen and (max-width: 1360px) {
}
@media only screen and (max-width: 1260px) {
}
@media only screen and (max-width: 1160px) {
}
@media only screen and (max-width: 1080px) {
}
@media only screen and (max-width: 992px) {
  .htv-tabs-content .tab.active {
    gap: 0px;
  }
  #product_cate-list .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 850px) {
  .footer-wrapper .footer-col-1,
  .footer-wrapper .footer-col-2 {
    flex-basis: 100%;
    max-width: 100%;
  }
  .footer-wrapper .footer-col-1 {
    margin-bottom: 30px;
  }
  .htv-tabs-nav {
    justify-content: space-between;
  }
  .htv-tabs-nav li img {
    max-width: 80px;
    height: 80px;
    padding: 15px;
  }
  .icon-tab-wrap {
    max-width: 80px;
  }
  .htv-tabs-content .tab-img {
    flex: auto;
  }
  .htv-tabs-content .tab.active {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .product-grid,
  #product_cate-list .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
    gap: 30px;
  }
  .contact-info {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .btn-download-catelog {
    padding: 0 !important;
    font-size: 12.8px !important;
  }
}
@media only screen and (max-width: 768px) {
  #contact-page .row {
    flex-direction: column-reverse;
  }
  .contact-map {
    margin-top: 30px;
  }
  #introduction_section .col-md-6 {
    width: 50%;
  }
  .contact-map .map-wrap iframe {
    height: 500px;
  }
  #single_product-wrap .product_thumbnail-wrap {
    position: unset;
    padding-right: 0px !important;
  }
  #single_product-wrap .col-md-6:last-child {
    padding-left: 0px;
    margin-top: 25px;
  }
  #single_product-wrap .col-md-6 {
    padding: 0;
  }
   .certification-grid{
    grid-template-columns: repeat(2, 1fr);
  justify-items:center;

  }
}

@media only screen and (max-width: 650px) {
  #single_product-wrap .product_thumbnail-inner {
    height: 350px;
  }
  #btn-contact-product {
    padding: 10px;
    font-size: 16px;
  }
  .product_content {
    margin: 30px 0 20px;
  }
  .footer-col-2 .col.medium-6 {
    flex-basis: 100%;
    max-width: 100%;
  }
  .home-banner-swiper img,
  .home-banner-swiper {
    height: 450px;
  }
  .htv-tabs-nav li {
    flex: 0 0 auto;
  }
  .htv-tabs-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 15px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--secondary-color) #f1f1f1; /* Firefox */
  }

  /* Chrome, Edge, Safari */
  .htv-tabs-nav::-webkit-scrollbar {
    height: 4px; /* chiều cao của thanh ngang */
  }

  .htv-tabs-nav::-webkit-scrollbar-track {
    background: #f1f1f1; /* màu nền track */
    border-radius: 10px;
  }

  .htv-tabs-nav::-webkit-scrollbar-thumb {
    background: var(--secondary-color); /* màu thanh cuộn */
    border-radius: 10px;
  }

  .htv-tabs-nav::-webkit-scrollbar-thumb:hover {
    background: #e69500; /* hover đậm hơn */
  }
  .custom-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  #home_tab_list-section,
  #introduction_section,
  #post_list-wrapper,
  #single_post-wrap,
  #contact-page {
    padding-top: 45px;
  }
  .icon-tab-wrap {
    max-width: 60px;
  }
  .htv-tabs-nav li img {
    max-width: 60px;
    height: 60px;
    padding: 10px;
  }
  .tab-text p {
    margin-bottom: 0;
  }
  .tab-text {
    font-size: 14px;
  }
  .title-primary {
    font-size: 24px;
    text-align: center;
  }
  .product-grid,
  #product_cate-list .product-grid {
    margin-top: 35px;
    gap: 15px;
  }
  .product-infor {
    padding: 10px;
  }
  #introduction_section .col-md-6 {
    width: 100%;
  }
  #home_tab_list-section,
  #introduction_section .row {
    gap: 20px;
    margin-top: 20px;
  }
  .intro-content {
    font-size: 14px;
  }
  .clear:after,
  .clearfix:after,
  .container:after,
  .row:after {
    display: none !important;
  }
  .step {
    width: 60px;
    height: 60px;
  }
  .steps {
    margin: 35px 0 20px;
  }
  .form-step .row {
    gap: 20px;
  }
  .form-step .row .col-md-6 {
    width: 100%;
    font-size: 14px;
    text-align: center;
  }
  .intro-content p:last-child {
    margin-bottom: 0;
  }
  .core_values-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }
 
  .core_value-icon img {
    height: 50px;
  }
  .core_value-desc {
    margin-bottom: 0;
  }
  .product_category-tab ul {
    gap: 20px;
    margin-bottom: 0;
  }
  .post-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media only screen and (max-width: 450px) {
  .contact-map .map-wrap iframe {
    height: 350px;
    border-radius: 8px;
  }
  .col-menu-footer {
    margin-bottom: 20px !important;
  }
  .contact-form7 input[type="submit"] {
    line-height: 30px;
    height: 30px !important;
    font-size: 16px !important;
  }
  .contact-info .contact-list li {
    padding: 16px 12px;
    font-size: 14px;
  }
  #single_post-wrap .post-content p {
    font-size: 14px;
    line-height: 26px;
  }
  .popup-form .wpcf7-submit {
    font-size: 16px;
  }
  .popup-close {
    font-size: 12px;
  }
  .popup-title {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .popup-content {
    width: 90%;
    padding: 20px 15px;
  }
  .product_content p {
    line-height: 24px;
    font-size: 14px;
  }
  .htv-tabs-content {
    margin-top: 30px;
  }
  .home-banner-swiper img,
  .home-banner-swiper {
    height: 300px;
  }
  .footer-wrapper {
    padding-top: 45px;
    padding-bottom: 20px;
  }
  .copy-right-section {
    padding-top: 20px;
    border-top: 1px solid #ffffff59;
    font-size: 13px;
  }
  .footer-wrapper .footer-col-1 .img-inner {
    text-align: center;
  }
  .footer-col-1 .img-inner img {
    max-width: 160px;
  }
  .footer-wrapper h1 {
    font-size: 16px;
    text-transform: none;
    margin-bottom: 10px;
    margin-top: 20px;
  }
  .footer-wrapper .footer-col-1 {
    margin-bottom: 20px;
  }
  .footer-col-2 .section-title span {
    text-transform: none;
  }
  .footer-wrapper p {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 21px;
  }
  .footer-col-2 .section-title {
    font-size: 16px !important;
  }
  .column-soical .col-inner .icon-inner {
    padding: 7px;
  }
  .column-soical .icon-box-img {
    width: 39px !important;
    margin-bottom: 0 !important;
  }
  .column-soical .col-inner {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  .product-grid,
  #product_cate-list .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }
  .product-infor {
    padding: 10px 25px 25px;
  }
  .home-banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .steps {
    justify-content: space-between; /* không ép đều */
    overflow-x: auto; /* cho cuộn ngang */
    gap: 15px; /* khoảng cách giữa các step */
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f1f1f1;
  }

  .steps::-webkit-scrollbar {
    height: 6px;
  }
  .steps::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  .steps::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
  }

  .step {
    width: 50px;
    height: 50px;
    font-size: 14px;
    flex: 0 0 auto; /* tránh bị co */
  }
  .steps::before,
  .steps::after {
    top: 25px;
    transform: unset;
  }
}
@media only screen and (max-width: 375px) {
}
@media only screen and (max-width: 320px) {
}
