@media (max-width: 1300px) {
}
@media (max-width: 1001px) {
  .header__bottom .wrap__content {
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -moz-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .scrollToTop {
    bottom: 10px;
    right: 20px;
  }
  .header {
    position: unset;
    background: #333;
  }
  .header__bottom-center {
    width: 100%;
  }
  .footer {
    margin-bottom: 50px;
  }
  .logo img {
    width: 40px;
  }
  .post_calendar,
  .b5_title:after {
    display: none;
  }
}

@media (max-width: 850px) {
  .footer__news,
  .col__left,
  .col__right,
  .aboutus__left,
  .aboutus__right,
  .col-news,
  .col-video {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -moz-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer__news {
    text-align: left !important;
  }
  .logo__footer {
    display: block !important;
    margin: auto;
    text-align: center;
  }

  .grid__service {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image__whychooseStatic {
    position: unset;
    margin-bottom: 20px;
  }
  .news-info {
    padding: 10px;
  }
  .detail_product .row .right-pro-detail,
  .detail_product .row .bottom-pro-detail {
    padding-left: 0;
    padding-right: 0;
  }
  .right-content-box {
    padding: 10px !important;
  }
  .title-btn-buy {
    font-size: 14px;
  }
  .text-btn-buy {
    font-size: 9px;
  }
  .gt_thumb img {
    position: relative;
    width: auto;
  }
  .b1_content {
    margin-top: 0;
    z-index: 2;
  }
  .b1_content {
    padding: 20px 10px;
  }
  .b1_link {
    justify-content: center;
  }
  .block1:after {
    display: none;
  }
  .b1_content_all .col-md-6,
  .b1_content_all .col-xs-12 {
    padding: 0 !important;
  }
  p.b2_decs {
    margin-bottom: 15px;
    font-size: 14px;
  }
  .b3_link a {
    padding: 10px 20px;
    font-size: 12px;
  }
  .b6_nav_tabs {
    display: none;
  }
  .b6_ct_tab_img {
    margin-top: 0;
  }
  .box_ld {
    width: 100%;
    margin-top: 0;
    background: #db1c24;
    padding: 20px 10px;
    left: 0;
    min-height: unset;
  }
  .b6_tab_title img {
    margin-bottom: 10px;
    width: 40px !important;
  }
  .b6_tab_title {
    gap: 10px;
  }
  .b6_ctab_desc {
    margin-top: 10px;
  }
  .block4 {
    margin: 0;
  }
  .b6_content_tab_detail .col-md-6 {
    padding: 0 5px;
  }
  .b4_item {
    padding: 20px;
  }
  .b4_item_identity {
    gap: 10px;
  }
  .b4_item_info {
    text-align: end;
  }
  .b4_item {
    padding: 20px;
    background-color: #db1c24;
    color: #fff;
  }
}

@media (max-width: 550px) {
  .footer__article {
    padding: 50px 0 170px 0;
  }
  .items__contact {
    margin-bottom: 15px;
  }
  .group__whychoose {
    margin-bottom: 0;
  }
  .items__whychoose {
    margin-bottom: 40px;
  }
  .title__mark {
    margin-bottom: -20px;
    font-family: var(--font-bold-v2);
    font-size: 40px;
  }
  .image__upgrade {
    height: 250px !important;
  }
  .grid__news {
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .service__list__image img {
    width: 100%;
    height: 100% !important;
    transition: opacity 0.3s ease-in-out;
  }
  .name__serviceList {
    padding: 10px 5px;
  }
  .name__serviceList a {
    font-size: 20px;
  }
  .grid__productList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }
  .newsletter-button .btn__submit {
    padding: 10px 30px;
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .title__aboutus h2 {
    font-size: 35px;
  }
  .title__aboutus p {
    font-size: 20px;
  }
  .title__mark {
    margin-bottom: 0;
    font-family: var(--font-bold-v2);
    font-size: 25px;
  }
  .items__whychoose {
    max-width: 100%;
  }
  footer .bg__footer {
    background-size: cover;
  }
  .wrap__productList .line__text {
    display: none;
  }
  .service__list__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  .items__productList {
    border-radius: 50px 0px 0px 0px;
    background: linear-gradient(180deg, #f2f2f2 0%, #ccc 100%);
    padding: 40px 10px 30px 10px;
  }
  .name__productList {
    font-size: 20px;
  }
  .items__productList:nth-child(1) .image__productList {
    width: 180px;
  }
  .image__upgrade {
    height: 200px !important;
  }
  .control-owl button.owl-next {
    right: 0;
  }
  .control-owl button.owl-prev {
    left: 0;
  }
  .name__setting_v2 {
    font-family: var(--font-bold-v2);
    font-size: 27px;
    text-transform: uppercase;
    color: #000;
  }
  .switch-container {
    margin: 30px auto auto auto;
  }
  .aboutus__left::after {
    z-index: -1;
  }
  .switch-item span {
    font-size: 14px;
  }
  .tabs-pro-detail .nav-tabs .nav-item {
    width: 100%;
  }
  .tabs-pro-detail .nav-tabs .nav-link {
    font-size: 14px;
  }
  .btn-hotline-detail .hotline-detail-title {
    font-size: 18px;
  }
  .btn-zalo-detail .zalo-detail-title {
    font-size: 18px;
  }
  .row.g-4 .col-lg-4.col-md-4 {
    padding: 0;
  }
  .post_list_2 {
    margin-bottom: 0;
  }
}

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

@media only screen and (max-width: 991px) {
  /* Header Responsive */
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    gap: 10px;
  }
  .search-bar {
    order: 3;
    width: 100%;
    margin-top: 5px;
    flex: unset;
  }
  .header-actions {
    gap: 4px;
  }
  .header-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
  .header-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Fix layout stuck width */
  html,
  body,
  .wrapper,
  .container,
  .wrap__content,
  .fps-inner,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Category Filter Tabs Mobile */
  .gr_prolevel {
    max-width: 100vw;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .gr_prolevel ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
  }
  .gr_prolevel li a {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Fix Product Columns off-screen */
  .grid__product,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .row {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Footer Fixes */
  .fps-items {
    justify-content: center;
  }
  .ft-link {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .ft-link i {
    margin-top: 5px;
  }
}

@media only screen and (max-width: 575px) {
  .map__iframe {
    position: relative;
    height: 200px;
  }
  /* Product Grid Mobile Fix */
  .grid__product,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .fps-items {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-promo-strip {
    padding: 15px 20px;
  }
  .fps-inner {
    padding: 0;
  }
  .header-btn.cart-btn {
    padding-right: 12px;
  }
  .logo-text {
    font-size: 14px;
  }
  .title_block {
    font-size: 16px;
  }

  .mobile-bottom-sections .mobile-no-padding {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 20px 0 !important;
    padding: 0 !important;
  }
  .accordion-custom .accordion-button {
    font-size: 13px;
  }
}

@media only screen and (max-width: 991px) {
  /* Hide desktop menu on mobile */
  .fix-sm {
    display: none !important;
  }

  #header_mid {
    display: none !important;
  }

  .logo-mmenu img {
    max-height: 40px !important;
    width: auto !important;
  }

  .hotline-mmenu {
    color: #fff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Float header top social media icons at the bottom-right corner of the web page */
  .header-top {
    display: block !important;
    background: transparent !important;
    border: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
  }
  .header-top .head-top,
  .header-top .search_site,
  .head_top_right {
    display: none !important;
  }
  .header-top .head-social {
    display: block !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .mxh_top {
    display: block !important;
  }
  .mxh_top ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .mxh_top li {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
  .mxh_top img {
    max-width: 45px !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease !important;
  }
  .mxh_top img:hover {
    transform: scale(1.1) !important;
  }

  .control-product-nb button {
    color: #222222 !important;
    font-size: 20px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
  }
  .control-product-nb button:hover {
    background: rgba(0, 0, 0, 0.15) !important;
    color: #000000 !important;
  }
  .control-product-nb button.owl-prev {
    left: 5px !important;
  }
  .control-product-nb button.owl-next {
    right: 5px !important;
  }

  /* Block padding & title adjustments for mobile */
  .block1,
  .block2,
  .block4,
  .block5,
  .block6,
  .block7,
  .wrap-news-main,
  .wrap-partner {
    padding: 20px 0 !important;
  }
  .block3 {
    height: auto !important;
    padding: 30px 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
  }
  .b3_content_all {
    width: 100% !important;
    height: auto !important;
    padding: 30px 15px !important;
    margin: 0 !important;
  }
  .b3_title {
    margin-bottom: 20px !important;
  }
  .b3_title:after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -10px !important;
  }
  .b3_content {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }

  .b1_title,
  .b2_title,
  .b3_title,
  .b5_title,
  .b6_title,
  .b7_title,
  .title_mobile,
  .title-main h4,
  .title-main,
  .title-pro-detail {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  /* Style for mobile news items in block5 */
  .p2_title_mobile {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
    display: block !important;
    line-height: 1.4 !important;
  }
  .p2_title_mobile:hover {
    color: #db1c24 !important;
  }
  .post2_item .p2_content_text {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .post2_item .p2_link {
    margin-bottom: 0 !important;
  }
  .post2_item .p2_link a {
    font-size: 13px !important;
    color: #333 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }
  .post2_item .p2_link a i {
    color: #db1c24 !important;
    margin-right: 3px !important;
    font-size: 13px !important;
  }
  .post2_item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .b7_title:after {
    display: none;
  }
  .footer-logo {
    display: none;
  }
  #footer {
    padding: 20px 0;
  }
  .col-md-3.ftcol {
    padding: 0;
  }
  .btn_cng {
    padding: 10px;
    background: #58595b;
    color: white;
    margin: 20px 0 10px;
}
.block5 .d-flex .text-right {
    margin: 0 !important;
}
.block5 .d-flex {
    align-items: center;
    justify-content: space-between;
}
.btn_cng a {
    color: white !important;
}
.block5 .row .col-md-6 {
    padding: 0;
}
  .col-md-4.ftcol.ftcol1 {
    padding: 0;
  }
.why_content {
    position: relative;
    padding: 0;
}
  /* Product Outstanding Tabs Mobile */
  .product-nb-tabs-container {
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 5px;
  }
  .product-nb-tabs {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 5px 0;
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  .product-nb-tabs::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for IE, Edge and Firefox */
  .product-nb-tabs {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .product-nb-tab {
    flex: 0 0 auto;
    padding: 10px 18px;
    background: #ffffff;
    color: #333333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    cursor: pointer;
  }
  .product-nb-tab.active {
    background: #db1c24;
    color: #ffffff;
    border-color: #db1c24;
    box-shadow: 0 4px 10px rgba(219, 28, 36, 0.2);
  }
  .product-nb-tab span {
    display: block;
    white-space: nowrap;
  }
}
