* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  font-family: Tahoma, Arial, Myriad Pro;
  font-size: 12px;
  line-height: 21px;
   height: auto; 
}
.border-main {
  position: relative;
  margin: 24px 0;
  background: none;
}

.border-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px; /* Độ dày của line */
  background: linear-gradient(
    to right,
    transparent 0%,
    #fff 10%,
    #fff 90%,
    transparent 100%
  );
  width: 100%;
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

.border-radius-10 {
  border-radius: 10px;
}
.header {
  width: 100%;
  background-color: #044caf;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);
}
#w-header {
  /* background: url(images/header-bg.png) repeat-x scroll center center transparent; */
  /* height: 185px; */
  margin: 0 auto;
  width: 100%; /* responsive */
  position: relative;
  z-index: 99;
}
#w-header .w-h-top {
  width: 100%;
  padding: 4px 0 0;
  /* height: 24px; */
  /* float: right; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.w-h-top-h3 {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding-left: 10px;
  text-transform: uppercase;
  /* width: 200px; */
  margin-bottom: 0;
}

.menu-top {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-top .list-inline-item {
  margin: 0 10px;
  padding: 0;
  position: relative;
}

.menu-top .list-inline-item:not(:first-child)::before {
  content: "|";
  position: absolute;
  left: -10px;
  color: white;
  font-size: 10px;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.menu-top a {
  text-decoration: none;
  color: white;
  font-size: 13px;
  /* font-weight: bold; */
  white-space: nowrap;
}
#w-header .w-h-top ul {
  /* float: right; */
  padding-right: 17px;
}
.cl {
  clear: both;
}

#w-header .w-h-left a img {
  cursor: pointer;
  display: block;
  height: 90px;
  width: 176px;
  margin: 10px auto 0;
}
ul.l a,
a {
  text-decoration: none;
}

#w-header .w-h-center {
  /* float: left; */
  height: 109px;
  width: 415px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 14px; */
}
#w-header .w-h-center .w-h-c-search {
  background-color: #ffffff;
  border-radius: 4px;
  height: 40px;
  margin: 15px 0 0 0; /* Thêm margin-top 15px */
  position: relative;
  width: 360px;
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
#w-header .w-h-center .w-h-c-search input[type="text"] {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  border: none;
  float: left;
  font: 14px Arial;
  height: 30px;
  width: 270px;
  padding: 0 10px;
  outline: none;
  min-width: 0;
  box-sizing: border-box;
}
#w-header .w-h-center .w-h-c-search input[type="submit"] {
  background: rgb(248, 149, 32);
  border: none;
  color: #ffffff;
  cursor: pointer;
  float: right;
  font: 14px Arial;
  height: 30px;
  width: 75px;
  border-radius: 3px;
  transition: background-color 0.3s;
  flex-shrink: 0;
  /* margin-left: 8px; */
  box-sizing: border-box;
}
#w-header .w-h-center .w-h-c-search input[type="submit"]:hover {
  background: rgb(248, 149, 32);
}
#w-h-c-s-autocomplete {
  display: none;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 5px 5px 5px 5px;
  left: 0;
  position: absolute;
  z-index: 102;
  top: 34px;
  width: 378px;
  padding: 7px 0;
}
#w-header .w-h-right {
  /* float: right; */
  height: 72px;
  width: 565px;
  padding: 37px 0 0;
}
.wh-call {
  /* padding: 10px 20px; */  
}
.support-label {
  color: white;
  font-size: 14px;
  line-height: 1.2;
  font-weight: bold;
  text-align: right;
  margin-right: 10px;
  white-space: nowrap;
}
.phone-list a {
  font-size: 20px;
  font-weight: bold;
  color: #fff200;
  text-decoration: none;
  text-shadow: 1px 0 1px #0066c9, -1px 0 1px #0066c9, 0 1px 1px #0066c9,
    0 -2px 1px #0066c9, 1px 2px 1px #0066c9, -2px -2px 1px #0066c9,
    2px 0px 1px #0066c9;
  transform: skew(0deg, 0deg) scale(1, 1);
  -webkit-transform: skew(0deg, 0deg) scale(1, 1.2);
  -moz-transform: skew(0deg, 0deg) scale(1, 1.2);
  -o-transform: skew(0deg, 0deg) scale(1, 1.2);
  -ms-transform: skew(0deg, 0deg) scale(1, 1.2);
  font-family: cursive;
  letter-spacing: 1px;
}
.phone-list a:hover {
  text-decoration: none;
  cursor: pointer;
}
nav#w-menu {
  /* width: 1175px; */
  height: 60px;
  margin-top: 3px;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

nav#w-menu ul.menu-pc {
  max-width: 100%;
  overflow: hidden;
  /* display: inline-block; */
}
.w-menu {
  padding: 0;
  margin: 0;
  background: #ffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);

  overflow: hidden;
}

.w-menu .menu-pc {
  margin: 0;
  padding: 0 20px; /* Nếu muốn căn lề hai bên, có thể giữ */
  height: 100%;
  align-items: center;
}
nav#w-menu ul {
  background: #ffff;
}
nav#w-menu ul.menu-pc li.m-pc-root:first-child {
  background: none;
}
nav#w-menu ul.menu-pc li.m-pc-root {
  background: url(../images/menu-border.png) no-repeat scroll left 10px transparent;
  float: left;
  height: 60px;
}
nav#w-menu ul.menu-pc li.m-pc-root p.m-pc-r-img {
  display: block;
  margin: 6px auto 0;
  text-align: center;
  height: 21px;
}
nav#w-menu ul.menu-pc li.m-pc-root p.m-pc-r-img a {
  display: block;
}
ul.l {
  list-style: none;
}
ul.l a,
a {
  /* text-decoration: none; */
  color: #000000;
}
ul.menu-pc li.m-pc-root a.m-pc-r-a:hover {
  color: #f7931e;
  cursor: pointer;
}

nav#w-menu ul.menu-pc li.m-pc-root p.m-pc-r-img img {
  display: block;
  margin: 0 auto 0;
  text-align: center;
  max-height: 21px;
}
img {
  border: none;
  vertical-align: middle;
}
a.m-pc-r-a {
  color: #000000;
  /* float: left; */
  font: 12px / 18px Arial;
  height: 18px;
  padding: 0 15px 0 15px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  z-index: 9;
}
nav#w-menu ul.menu-pc li.m-pc-root:first-child {
  background: none;
}
nav#w-menu ul.menu-pc li.m-pc-root {
  background: url(../images/menu-border.png) no-repeat scroll left 10px transparent;
  float: left;
  height: 45px;
}

#menu-shadow {
  background: url(../images/menu-shadow.png) repeat-x scroll top left transparent;
  height: 16px;
  width: 100%;
}

.w-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.newsspecial-by {
  border: 1px solid #e7e8e9;
  padding: 1px;
  /* width: 337px; */
  /* height: 354px; */
  background-color: #f3fafe;
  overflow: hidden;
}
.ns-b-head {
  background: url(../images/home-news-bg.png) no-repeat scroll left top transparent;
  background-size: 100% auto; /* Ảnh kéo dài hết chiều ngang, giữ nguyên tỉ lệ chiều cao */
  height: 25px;
  width: 100%;
}
.ns-b-head a {
  font: bold 14px / 33px Myriad Pro, Tahoma, Arial;
  color: #ffffff;
  text-transform: uppercase;
  padding-left: 13px;
}
ul.l {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.ns-b-list li {
  float: left;
  width: 100%;
  padding: 6px 0 4px;
  border-bottom: 1px solid #e0e5e8;
}
ul.ns-b-list li .ns-b-l-img {
  float: left;
  padding: 0 0 0 10px;
  width: 74px;
  height: 53px;
}
ul.ns-b-list li .ns-b-l-img a {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 74px;
  height: 53px;
}
ul.l a,
a {
  text-decoration: none;
}
ul.ns-b-list li .ns-b-l-img a img {
  display: block;
  margin: auto;
  max-width: 74px;
  max-height: 53px;
}
img {
  border: none;
  vertical-align: middle;
}
ul.ns-b-list li .ns-b-l-content {
  /* float: right; */
  /* padding: 10px 10px 0 0; */
  width: 255px;
  margin-top: 10px;
}
ul.ns-b-list li .ns-b-l-content a {
  display: block;
  color: #231f20;
  font: 13px / 19px Tahoma, Arial;
  text-align: justify;
  margin-left: 94px;
}
ul.l a,
a {
  text-decoration: none;
}

.news-scroll {
  max-height: 330px; /* 5 tin, mỗi tin ~70px */
  overflow-y: auto; /* Cho phép cuộn dọc khi vượt quá */
  overflow-x: hidden;
  padding-right: 8px; /* Để không bị che bởi thanh cuộn */
  scrollbar-width: thin;
  scrollbar-color: #044caf #f1f1f1;
}
.news-scroll::-webkit-scrollbar {
  width: 6px;
}
.news-scroll::-webkit-scrollbar-thumb {
  background: #044caf;
  border-radius: 3px;
}
.news-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.product-hot {
  background: #044caf;
  padding: 20px 0 30px 0;
  margin: 20px 0;
  border-radius: 4px;
}
.product-hot-title {
  width: 100%;
  max-width: 100%;
  padding-bottom: 10px;
  color: #fff;
  font-size: 19px;
  /* font-weight: bold; */
  text-align: left;
  margin-left: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #ffffff;
}
.product-hot-list {
  margin: 0;
  padding: 0 10px;
}
.product-hot-item {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 18px 10px 10px 10px;
  text-align: center;
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.product-hot-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.product-hot-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e53935;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 2px 12px;
  border-radius: 3px;
  z-index: 2;
}
.product-hot-img {
  max-width: 100%;
  max-height: 120px;
  margin: 20px 0 10px 0;
  object-fit: contain;
}
.product-hot-name {
  font-size: 16px;
  color: #222;
  margin: 10px 0 2px 0;
  min-height: 40px;
}
.product-hot-model {
  font-size: 18px;
  color: #0099ff;
  font-weight: bold;
  margin-bottom: 6px;
  margin-top: 2px;
}
.product-hot-oldprice {
  color: #888;
  text-decoration: line-through;
  font-size: 15px;
  margin-bottom: 2px;
}
.product-hot-price {
  color: #e53935;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}
.product-hot-item {
  position: relative;
  overflow: hidden;
}

.product-hot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%; /* Thay đổi từ bottom: 0 thành height: 60% */
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 15px;
  z-index: 10;
  font-size: 14px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Thêm overflow hidden */
}

.product-hot-item:hover .product-hot-overlay,
.product-hot-item:focus-within .product-hot-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-hot-overlay-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-hot-overlay-desc {
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
  overflow-y: auto; /* Cho phép cuộn nếu nội dung dài */
  max-height: calc(100% - 40px); /* Trừ đi chiều cao của title */
}
.product-hot-overlay-desc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-hot-overlay-desc ul li {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* Giới hạn 1 dòng cho mỗi item */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-category {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
  text-align: center;
}
.product-category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 2px solid #044caf;
  margin: 0 0 18px 0;
  padding: 0 0 10px 0;
  gap: 10px;
}
.product-category-title {
  background: #044caf;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  padding: 7px 22px;
  border-radius: 2px;
  margin-right: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-category-title a {
  color: #fff;
}
.product-category-title a:hover {
  text-decoration: underline;
}
.product-category-menu {
  font-size: 16px;
  color: #222;
  flex: 1;
}
.product-category-menu a {
  color: #1976d2;
  text-decoration: none;
  margin: 0 2px;
  font-size: 16px;
}
.product-category-menu a:hover {
  text-decoration: underline;
  color: #044caf;
}
.product-category-list {
  margin: 0;
  padding: 0 10px;
}
.product-category-item {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 18px 10px 10px 10px;
  text-align: center;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.product-category-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.product-hot-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e53935;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 2px 12px;
  border-radius: 3px;
  z-index: 2;
}
.product-hot-img {
  max-width: 100%;
  max-height: 120px;
  margin: 20px 0 10px 0;
  object-fit: contain;
}
.product-hot-model.blue {
  color: #0099ff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
  margin-top: 2px;
}
.product-hot-name {
  font-size: 16px;
  color: #222;
  margin: 10px 0 2px 0;
  min-height: 40px;
}
.product-hot-oldprice {
  color: #888;
  text-decoration: line-through;
  font-size: 15px;
  margin-bottom: 2px;
}
.product-hot-price {
  color: #e53935;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}
.product-category-more {
  text-align: right;
  /* margin: 10px 20px 0 0; */
}
.product-category-more a {
  color: #1976d2;
  font-size: 16px;
  text-decoration: none;
}
.product-category-more a:hover {
  text-decoration: underline;
  color: #044caf;
}
.intro-section {
  border-top: 1px solid #e5e5e5;
  line-height: 1.4;
  padding: 20px 0 30px;
  max-width: 1200px;
  margin: 24px auto 12px auto;
}
.intro-title {
  color: #312b2b;
  font-size: 16px;
  margin-bottom: 10px;
  /* font-family: arial, helvetica, sans-serif; */
  font-weight: 800;
}
.intro-desc {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: arial, helvetica, sans-serif;
}
.intro-highlight {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: arial, helvetica, sans-serif;
}
.intro-highlight b {
  color: #888;
  font-weight: bold;
  font-family: arial, helvetica, sans-serif;
}
#partners {
  background: url(../images/thanhdoc.png) repeat-x scroll top left transparent;
  height: 91px;
  width: 100%;
  overflow: hidden; /* tránh tràn */
  display: flex;
  align-items: center;
  justify-content: center;
}

#partners .partners {
  height: 91px;
  width: 100%;
  max-width: 1203px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  box-sizing: border-box;
}
#partners .partners ul.l {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
#partners .partners li.banner-item {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#partners .partners img {
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Footer Body
----------------------------------------------------------*/
footer#w-footer {
  /* width: 1203px;
  margin: 0 auto 0; */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 20px; */
  box-sizing: border-box;
}

#w-footer .w-footer {
  display: block;
  margin: 11px 0 17px;
}
.w-f-left table td {
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 10px;
}

.w-f-left a[href^="tel://"] {
  color: #0c0cd9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.w-f-left a[href^="tel://"]:hover {
  color: #0066cc;
  text-decoration: underline;
}

.w-f-left {
  float: left;
  width: 430px;
  /* height: 500px; */
  overflow: hidden;
  font: 12px/22px Tahoma, Arial;
  flex: 1;
  min-width: 300px;
  font: 12px/22px Tahoma, Arial;
  padding-bottom:50px;
}
.w-f-left p {
  margin: 0;
}
.w-f-left h4 {
  color: #3a5795;
  font-size: 20px;
}

.w-f-center {
  margin: 8px 0 0;
  float: right;
  width: 744px;
  height: 206px;
}

.w-f-center img {
  width: 100%;
  max-height: 100%;
}

.w-f-right {
  padding: 18px 25px 22px 25px;
  margin: 8px 0 0;
  float: right;
  width: 745px;
  border: 2px solid #e7e8e9;
  background-color: #f1f1f2;
  border-radius: 5px;
  height: 210px;
  /* margin-top: 1px; */
}
.w-f-left a[href^="tel://"]:hover
{
  text-decoration: underline;
}
.w-f-right .w-f-r-left,
.w-f-right .w-f-r-center {
  float: left;
  width: 170px;
}

.w-f-right .w-f-r-left p,
.w-f-right .w-f-r-center p,
.w-f-right .w-f-r-right p {
  display: block;
  text-transform: uppercase;
  color: #3a5795;
  font: bold 16px/34px Myriad Pro, Tahoma, Arial;
}

.w-f-right .w-f-r-left ul li,
.w-f-right .w-f-r-center ul li {
  margin: 3px 0;
  list-style: inside none disc;
}

.w-f-right .w-f-r-left ul li a,
.w-f-right .w-f-r-center ul li a {
  color: #231f20;
  font-family: Tahoma;
  font-size: 12px;
}

.w-f-right .w-f-r-left ul li a:hover,
.w-f-right .w-f-r-center ul li a:hover {
  text-decoration: underline;
}

.w-f-right .w-f-r-center {
  margin: 0 30px;
}

.w-f-right .w-f-r-right {
  float: left;
}

.w-f-right .w-f-r-right .dmca-badge {
  display: block;
  margin-top: 10px;
}

.w-f-right .w-f-r-right ul li {
  float: left;
  margin-right: 9px;
  width: 37px;
  height: 37px;
}

.w-f-right .w-f-r-right ul li a.connect-fb {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/fb.png") no-repeat scroll top left transparent;
}

.w-f-right .w-f-r-right ul li a.connect-gl {
  display: block;
  width: 100%;
  height: 100%;
  background: url("images/icon-google.png") no-repeat scroll top left
    transparent;
}

.w-f-right .w-f-r-right ul li a.connect-yt {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/ytb.png") no-repeat scroll top left transparent;
}
.public_gov {
  margin-top: 15px;
}

.hotline-bar {
  background: #044caf;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-size: 2rem;
  font-family: "Arial", sans-serif;
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
   gap: 12px;
  position: fixed;
  left: 0; 
  bottom: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.hotline-bar .hotline-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("https://cdn-icons-png.flaticon.com/512/724/724664.png")
    no-repeat center/contain;
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}

.hotline-bar a {
  color: #fff;
  text-decoration: none;
  margin: 0 4px;
  transition: text-decoration 0.2s, color 0.2s;
  font-weight: 500;
  white-space: nowrap;
} 
/* Responsive cho tablet và mobile */
