/* RESET */
:root {
  --blue-color: #1f5eff;
  --red-color: #ec1e28;
}
.hide-pc,
.sidebar-menu-mobile {
  display: none;
}

@media screen and (max-width: 1500px) {
}
@media screen and (max-width: 1400px) {
}
@media screen and (max-width: 1250px) {
}
@media screen and (max-width: 1080px) {
  .hide-pc {
    display: block;
  }
  .main-header-right #menu-menu-chinh-header {
    display: none;
  }
  .header-top {
    display: none !important;
  }
  .main-header-right {
    gap: 30px;
    flex-direction: row-reverse;
  }
  .hamburger-icon i {
    font-size: 22px;
    cursor: pointer;
  }

  /* ===== HAMBURGER ===== */

  /* ===== SIDEBAR ===== */
  .sidebar-menu-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -350px; /* hide */
    width: 350px;
    height: 100%;
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 999999;
    padding-bottom: 40px;
    transition: 0.3s ease-in-out;
  }
  /* ===========================
   SCROLLBAR STYLE (Chrome/Safari/Edge)
   =========================== */
  .sidebar-menu-mobile::-webkit-scrollbar {
    width: 5px; /* Độ mảnh của scrollbar */
  }

  .sidebar-menu-mobile::-webkit-scrollbar-track {
    background: #f0f0f0; /* Màu nền track */
  }

  .sidebar-menu-mobile::-webkit-scrollbar-thumb {
    background: var(--red-color); /* Màu chính thương hiệu */
    border-radius: 10px;
  }

  .sidebar-menu-mobile::-webkit-scrollbar-thumb:hover {
    background: var(--red-color); /* Đậm hơn khi hover */
  }

  /* ===========================
   FIREFOX SUPPORT
   =========================== */
  .sidebar-menu-mobile {
    scrollbar-width: thin; /* Mảnh */
    scrollbar-color: var(--red-color) #f0f0f0; /* Thumb màu cam – track xám */
  }

  .sidebar-menu-mobile.open {
    left: 0;
  }

  /* TITLE + CLOSE BUTTON */
  .menu-section-title {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 20px;
    color: var(--red-color);
    border-bottom: 1px solid #b3b3b3;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-section-title .close i {
    font-size: 22px;
    cursor: pointer;
  }

  /* MENU LIST */

  .mobile-menu > li {
    border-bottom: 1px solid #b3b3b3;
  }

  .mobile-menu .menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #222;
    position: relative;
  }
  .mobile-menu .menu-item a::after {
    position: absolute;
    content: "";
    left: 20px;
    bottom: -5px;
    width: 0%;
    height: 2px;
    transition: width 0.3s ease;
    background: var(--red-color);
  }
  .mobile-menu .menu-item-has-children.open a::after {
    width: calc(100% - 40px);
  }
  .mobile-menu .menu-item {
    margin-bottom: 0;
    border-bottom: 1px solid #b3b3b3;
  }
  .mobile-menu ul {
    margin-bottom: 0;
  }
  .menu-item-has-children > .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: 0.35s ease;
    flex-direction: column;
    gap: unset;
  }

  .menu-item-has-children.open > .sub-menu {
    max-height: 1000px; /* đủ lớn cho mọi submenu */
  }

  /* Arrow mượt */
  .menu-arrow i {
    transition: transform 0.3s ease;
  }

  .menu-item-has-children.open > a .menu-arrow i {
    transform: rotate(180deg);
  }
  .sub-menu .menu-item a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #b3b3b3;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sub-menu .menu-item a::after {
    display: none !important;
  }
  .sub-menu .menu-item {
    border-bottom: 0;
    padding: 0 20px;
  }
  .sub-menu .menu-item:last-child a {
    border-bottom: 0;
  }
  .sub-menu .sub-menu li a {
    display: block;
    padding: 8px 20px 0px;
    font-size: 14px;
    color: #555;
    border-bottom: 0;
  }
}
@media screen and (max-width: 800px) {
  .home-banner-swiper img {
    height: 600px;
  }
  #home_banner .banner-inner {
    top: 50%;
    transform: translateY(-50%);
  }
  #home_banner .banner-inner h1 {
    font-size: 56px;
  }
  #home_banner .banner-inner p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .about_us-row {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .about_us-left {
    flex: none;
  }
  .service-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reason-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-absolute ul {
    gap: 24px;
  }
  .project-absolute ul li {
    flex-direction: column;
    justify-content: center;
  }
  .project-item:hover .project-absolute ul {
    transform: translateY(50%);
  }
  .project-field-right {
    align-items: center;
  }
  .bottom-banner-inner {
    top: 50%;
    gap: 24px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 15px;
  }
  .bottom-banner-img img {
    height: 420px;
  }
  .home_contact_form-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
  }
  .reason-item {
    width: fit-content;
  }
}
@media screen and (max-width: 600px) {
  .sidebar-menu-mobile {
    left: -100%;
    width: 100%;
  }
  .btn-round a {
    padding: 4px 20px;
    font-size: 14px;
  }
  .main-header-right {
    gap: 16px;
  }
  .header-logo img {
    height: 55px;
  }
  #home_banner .banner-inner h1 {
    font-size: 36px;
  }
  #home_banner .banner-inner p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 24px;
  }
  .btn-primary {
    padding: 12px 30px;
  }
  .home-banner-swiper img {
    height: 450px;
  }
  .swiper-pagination-bullet {
    width: 40px;
  }
  .about_us-right h2 {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
  }
  .about_us-right span,
  .section-subtitle {
    font-size: 12px;
  }
  .about_us-right .about_us-description p {
    color: #000;
    font-size: 14px;
  }
  .cs-section-title {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 0;
  }
  .service-card-list {
    margin-top: 24px;
    grid-template-columns: repeat(1, 1fr);
  }
  .home_product_cate-description {
    font-size: 14px;
    line-height: 22px;
  }
  .tab-filter ul {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--red-color) transparent;
  }
  /* Chrome, Edge, Safari */
  .tab-filter ul::-webkit-scrollbar {
    height: 4px; /* mỏng */
  }

  .tab-filter ul::-webkit-scrollbar-track {
    background: transparent;
  }

  .tab-filter ul::-webkit-scrollbar-thumb {
    background-color: var(--red-color);
    border-radius: 10px;
  }

  .tab-filter ul::-webkit-scrollbar-thumb:hover {
    background-color: var(--red-color);
  }
  .tab-filter ul li a {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
  }
  .tab-filter ul li {
    flex: 1;
  }
  .search-product {
    padding: 5px 10px 5px 24px;
  }
  .search-product-btn {
    padding: 5px !important;
  }
  .search-product-btn svg {
    width: 20px;
    height: 20px;
    margin-bottom: 1px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-item {
    box-shadow: 0 0 12px 0 rgb(223 223 223 / 25%);
  }
  .reason-list {
    display: none;
  }
  .why_chose_us-inner {
    padding: 0;
  }
  .project-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .banner-content {
    font-size: 18px;
  }
  .banner-infor {
    gap: 35px;
  }
  .banner-infor span:first-child {
    font-size: 12px;
  }
  .banner-infor span:last-child {
    font-size: 12px;
  }
  .banner-infor span:first-child::after {
    right: -17px;
  }
  .news-row {
    margin-top: 24px;
  }
  .news-thumb {
    margin-bottom: 12px;
  }
  .news-item.main .news-item-title a {
    font-size: 18px;
  }
  .news-content {
    gap: 16px;
  }
  .news-excerpt {
    font-size: 14px;
    line-height: 22px;
  }
  .news-main {
    margin-bottom: 16px;
  }
  .news-item.small {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .news-item.small .news-thumb img {
    width: 100%;
  }
  .news-item.small .news-thumb {
    width: 100% !important;
  }
  .footer-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer-col .footer-contact li {
    color: #9b9b9b;
    font-size: 14px;
    line-height: 180%;
    margin-bottom: 4px;
  }
  .footer-col li {
    font-size: 14px;
  }
  .footer-bottom p {
    font-size: 14px;
  }
  .footer-socials {
    gap: 24px;
  }
  .footer-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .home_contact_form-left h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .form-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .btn-primary.large {
    padding: 10px 30px;
  }
  .service-img img {
    height: 400px;
    width: 100%;
    object-fit: cover;
  }
  .service-inner h3 {
    font-size: 20px;
  }
  .service-inner p {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .service-inner-wrap {
    width: 340px;
  }
  .product-infor {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 13px;
  }
  .product-infor h3 {
    font-size: 14px;
    line-height: 22px;
  }
  .product-price {
    font-size: 14px;
  }
  #home_product_cate {
    padding-bottom: 24px;
  }
  #why_chose_us .section-heading p {
    font-size: 14px;
    line-height: 22px;
  }
  .abContent__title {
    font-size: 20px;
  }
  .abContent__subtitle {
    font-size: 12px;
    margin-bottom: 0 !important;
  }
  .abBannerInner__title {
    font-size: 30px;
  }
  .abInfo__main {
    padding: 30px 30px;
  }
  .abInfo__banner {
    margin-top: unset;
    height: 100%;
  }
  .abTeam__title {
    font-size: 20px;
  }
  .abTeam__subtitle {
    margin-bottom: 0 !important;
    font-size: 12px;
  }
  .abFacility__slider {
    padding-bottom: 50px;
  }
  .abCer__title {
    font-size: 12px;
    margin-bottom: 10px !important;
  }
  .product-page-filter h2 {
    margin-bottom: 10px;
    font-size: 16px;
  }
  .product-cate-filter h3,
  .product-brand-filter h3 {
    color: #000;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .filter-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--red-color) transparent;
  }
  .filter-label {
    white-space: nowrap;
  }

  /* Chrome, Edge, Safari */
  .filter-list::-webkit-scrollbar {
    height: 3px; /* mỏng */
  }

  .filter-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .filter-list::-webkit-scrollbar-thumb {
    background-color: var(--red-color);
    border-radius: 10px;
  }

  .filter-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--red-color);
  }
  .filter-search {
    padding: 5px 10px 5px 24px;
  }
  .filter-search-btn {
    padding: 5px 10px !important;
  }
  .filter-search-btn svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
  }
  .filter-top-action {
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-search {
    flex: none;
    width: 100%;
  }
  .filter-sort {
    width: 100%;
  }
  .product-archive-result .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pagination {
    margin-top: 20px;
  }
  .product-gallery-main .swiper-slide img {
    max-height: 350px;
    height: 350px;
  }
  .product-gallery-thumbs .swiper-slide {
    height: 70px;
  }
  .product-summary-inner {
    width: 100% !important;
  }
  table.product-infomation {
    margin: 16px 0;
    padding: 16px 0;
  }

  .produc-tab-wrapper ul li a {
    font-size: 14px;
    padding: 5px;
  }
  .single_post-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .related-products {
    gap: 16px;
  }
  #form_bao_gia .bao-gia-wrap {
    flex-direction: column;
    gap: 16px;
  }
  #form_bao_gia .bao-gia-right .wpcf7-form-control {
    padding: 12px 35px;
  }
  #form_bao_gia h2 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 10px;
  }
  .cs-row p {
    flex-direction: column;
    gap: unset;
  }
  .bao-gia-left {
    width: 100%;
  }
  .cs-row p span input,
  .cs-row p span textarea {
    height: 40px !important;
    font-size: 14px;
  }
  .cs-row p span input::placeholder {
    font-size: 14px;
  }
  .product_policy-row {
    flex-direction: column;
  }
  .product_policy-left {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #000;
  }
  .single-breadcrumb p,
  .single-breadcrumb p a {
    font-size: 14px;
  }
  #project_page .tab-filter {
    margin-top: 24px;
  }
  .project-post-meta ul {
    gap: 10px 24px;
    flex-wrap: wrap;
  }
  .single-post-content {
    margin-top: 16px;
  }
  .news-item.small:last-child {
    margin-bottom: 0 !important;
  }
  .news-category-grid {
    margin-top: 24px;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .news-category-grid .news-item .news-cate-thumb {
    flex: 0 0 150px;
  }
  .news-category {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .news-page .col-md-9 {
    margin-bottom: 16px;
  }
  .contact-top h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .contact-infor p {
    font-size: 14px;
  }
  .cf7-row p span input,
  .cf7-row p span textarea {
    height: 40px !important;
    font-size: 14px;
  }
  .cf7-row p span input::placeholder {
    font-size: 14px;
  }
  .contact-page .wpcf7-form {
    margin-top: 16px;
  }
  .cf7-row.cf7-submit .wpcf7-form-control {
    padding: 10px 50px !important;
    font-size: 14px;
  }
  .contact-bottom {
    display: none;
  }
  .related-flipbooks-section {
    margin-top: 24px !important;
    padding: 24px 0!important;
  }
  .related-flipbooks-section ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .related-flipbooks-section ul li{
    aspect-ratio: unset;
  }
  .related-flipbooks-section ul li img {
    height: 250px;
}
}
