/* utm-essendine-caps */
@font-face {
  font-family: "utm-essendine-caps";
  src: url("fonts/utm-essendine-caps.ttf") format("truetype");
  font-display: swap;
}

/* utm-americana */
@font-face {
  font-family: "utm-americana";
  src: url("fonts/utm-americana.ttf") format("truetype");
  font-display: swap;
}

/* utm-erie-black */
@font-face {
  font-family: "utm-erie-black";
  src: url("fonts/utm-erie-black.ttf") format("truetype");
  font-display: swap;
}

/* utm-avo */
@font-face {
  font-family: "utm-avo";
  src: url("fonts/utm-avo.ttf") format("truetype");
  font-display: swap;
}

/* utm-avo-italic */
@font-face {
  font-family: "utm-avo-italic";
  src: url("fonts/utm-avo-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

/* utm-avo-bold */
@font-face {
  font-family: "utm-avo-bold";
  src: url("fonts/utm-avo-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* utm-avo-bold-italic */
@font-face {
  font-family: "utm-avo-bold-italic";
  src: url("fonts/utm-avo-bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* magnesium */
@font-face {
  font-family: "utm-magnesium";
  src: url("fonts/utm-magnesium.ttf") format("truetype");
  font-display: swap;
}

/* sharnay*/
@font-face {
  font-family: "utm-sharnay";
  src: url("fonts/utm-sharnay.ttf") format("truetype");
  font-display: swap;
}

:root {
  --red: #8d1822;
  --red-dark: #590b18;
  --yellow: #fee795;
  --menu-bg: linear-gradient(to right, var(--red), var(--red-dark));
  --burger: #FFF;
  --menu-bg: #ed1c41;
}

html,
body {
  font-family: 'utm-avo', sans-serif;
  font-size: 16px;
  line-height: 1.3em;
  scroll-behavior: smooth;
  height: auto;
}

.container .boundary {
  width: 100%;
  max-width: 1300px;
}

.table-overflow {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.form-message {
  background-color: var(--brown);
  color: #333;
  border-color: var(--brown);
  margin: 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--main-font);
  font-size: 16px;
  color: #2d3448;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16
}

a {
  color: inherit;
}


body.no-scroll {
  overflow: hidden;
  height: 100vh;
  /* tránh cuộn bằng touch trên mobile */
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 15px;
  background-color: #333434;
  gap: 8px;
  font-size: 1.2em;
}

header i {
  color: #ed1c41;
  margin-right: 8px;
}

header span {
  color: #fff;
}

/* menu */
.main-menu {
  background: linear-gradient(180deg, #ea1b40, #ed1c41);
  color: #FFF;
  height: 70px;
  font-family: "utm-essendine-caps";
  font-size: 1.4em;
  position: relative;
  left: 0;
  z-index: 1000;
  overflow: visible;
}

.main-menu .boundary {
  padding: 0;
  line-height: 60px;
  text-align: center;
}

.main-menu .hamburger {
  float: right;
}

.main-menu .main-menu-content {
  display: none;
}

.main-menu .mm-logo {
  display: inline-block;
  float: left;
  position: relative;
  z-index: 22222;
  height: 130px;
  top: -35px;
}

.main-menu .mm-logo img {
  height: 100%;
  width: auto;
  position: relative;
  object-fit: contain;
}

.main-menu .mm-content {
  position: fixed;
  top: 85px;
  left: -100%;
  width: 100%;
  max-width: 900px;
  height: 100vh;
  z-index: 9999;
  background: var(--menu-bg);
  text-align: left;
  list-style-type: none;
  padding: 120px 0 0;
  margin: 0;
  font-size: .9em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  transition: all .5s;
}

.main-menu .mm-content .mmc-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

.main-menu .mm-content .mmc-logo img {
  width: 100%;
  height: auto;
}

.main-menu .mm-content.active {
  left: 0;
}

.main-menu .mm-background {
  content: "";
  background-color: rgb(0, 0, 0, .5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  display: none;
}

.main-menu .mm-background .icon-x {
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 1em;
  font-size: 1.5em;
  color: var(--yellow);
}

.main-menu .mm-content > li {
  padding: 0 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  line-height: 40px;
  position: relative;
  font-size: .85em;
}

.main-menu .mm-content li.mmc-logo a {
  border-bottom: 0;
}

.main-menu .mm-content li a {
  display: block;
  border-bottom: 1px solid #DDD;
  line-height: 40px;
  padding: 10px 0;
  font-family: 'utm-magnesium';
  font-size: 1.1em;
}

.icon-x {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10000;
}

.main-menu .mm-content li a::before {
  color: white;
  font-size: 0.8em;
  margin-right: 8px;
  vertical-align: middle;
}

.mm-content li .submenu {
  display: none;
  list-style-type: none;
  font-family: 'utm-avo' !important;
  padding-left: 20px;
  border-top: 1px solid #fff2;
}

.mm-content li .submenu li a {
  display: block;
  border-bottom: 1px solid #fff2;
  padding: 8px 0;
  color: white;
  font-size: 0.95em;
}

.main-menu .mm-content li a::before {
  content: "♦";
  color: #fff;
  font-size: 0.8em;
  margin-right: 8px;
  vertical-align: middle;
}

.mm-content li.has-submenu>a {
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  line-height: 1.5;
}

.mm-content li.has-submenu>a .arrow {
  float: right;
  transition: transform 0.3s;
  width: 10px;
  height: 10px;
  margin-right: 8px;
}

.main-menu .mm-content li.anchor.stop a {
  pointer-events: none;
}

.main-menu .mm-content li i {
  float: right;
  line-height: 40px;
  font-size: .9em;
  margin-left: 5px;
  transition: all .5s;
  margin-top: 10px;
}

.main-menu .mm-content li.active i {
  transform: unset;
}

.main-menu .mm-content li.active,
.main-menu .mm-content li:hover {
  color: var(--black) !important;
}

.main-menu .mm-content li .mmc-sub-items {
  height: auto;
  display: none;
  margin: 0;
  list-style-type: none;
  padding: 0;
  overflow: hidden;
}

.main-menu .mm-content li .mmc-sub-items li {
  padding: 0 0 0 20px;
  color: var(--text-color) !important;
}

.main-menu .mm-content li .mmc-sub-items li.parent {
  text-transform: uppercase;
  color: var(--black) !important;
  font-weight: bold;
}

.main-menu .mm-content li .mmc-sub-items li:hover a {
  color: var(--red);
}

.main-menu .mm-content {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc #000;
}

.banner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.banner picture {
  display: block;
  width: 100%;
}

.banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* sản phẩm */

.title-container {
  margin-top: 60px;
  position: relative;
  margin-bottom: 30px;
  font-family: 'utm-sharnay';
  text-align: left;
  margin-left: 10px;
}

.title-container img {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.title-container h3 {
  position: relative;
  z-index: 1;
  font-size: 2em;
  color: #353535;
  font-weight: normal;
  font-style: italic;
  text-transform: capitalize;
  padding-left: 20px;
}

.title-container::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 55px;
  width: 85%;
  height: 3px;
  background-color: #f44336;
}

/* silder*/
#san_pham_slider {
  width: 100%;
  padding: 10px 0;
}

.san-pham-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tt-sanpham {
  text-align: center;
  padding: 10px;
}

.tt-sanpham .sp-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.tt-sanpham img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}


.tt-sanpham {
  color: #fff;
  text-align: center;
  border-radius: 15px;
  font-size: .8em;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
  margin: 10px auto 0;
  width: 90%;
}

.tt-sanpham .sp-title {
  background: #6b6b6b;
  border-radius: 10px;
  height: 25%;
  width: 90%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  line-height: 1.3;
}

.sanpham-decktop {
  display: none;
}

/* nút tron */
.owl-dots .owl-dot span {
  display: none;
}

.owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background-color: #6b6969 !important;
  margin: 0 6px;
  border-radius: 2px;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.owl-dots .owl-dot.active {
  background-color: #ee1d42 !important;
  transform: rotate(45deg) scale(1.3);
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
}

/* giới thiệu */
.main-gioithieu {
  margin-left: 10px;
  text-align: left;
}

.logo-gioithieu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  text-align: center;
}

.logo-gioithieu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title-gioithieu h2 {
  text-align: left;
  font-family: 'utm-magnesium';
  color: #ee1d42;
}

.title-gioithieu h4 {
  text-align: left;
  font-family: 'utm-avo-bold';
  color: #353535;
  font-size: 1em;
}

.gioithieu-content {
  text-align: left;
}

/* nút xem thêm */
.btn-xem-them {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #d2b338;
  color: #fff;
  font-size: .9;
  font-family: 'utm-avo', sans-serif;
  padding: 6px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 50px;
}

.btn-xem-them:hover {
  background-color: #cba50c;
}

.btn-xem-them .icon {
  font-size: 16px;
  margin-top: 2px;
}

.gioithieu-content {
  margin-bottom: 20px;
  line-height: 1.6;
}

.in-dam {
  font-family: 'utm-avo-bold';
}

/* tin tức */

#tin_tuc_slider {
  width: 100%;
  padding: 30px 0;
}

.tin-tuc-item {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin: 10px;
}

.tt-tintuc {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 15px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.tin-tuc-decktop {
  display: none;
}

/* ảnh */
.tt-tintuc .tt-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.tt-tintuc:hover .tt-image img {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* tiêu đề và nội dung */
.tintuc-title {
  padding: 15px;
}

.tintuc-web {
  display: block;
  font-family: "utm-avo-bold", sans-serif;
  font-size: 1em;
  color: #353535;
  line-height: 1.4;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.tintuc-web:hover {
  color: #d2b338;
}

/* nội dung mô tả */
.noidung-tintuc {
  font-family: "utm-avo";
  font-size: 14px;
  text-align: justify;
  line-height: 1.6;
  color: #333;
  margin-top: 8px;
}

.tt-tintuc:hover .tintuc-web,
.tt-tintuc .tintuc-web:hover {
  color: #ee1d42;
  transform: translateY(-2px);
  text-decoration: underline;
  cursor: pointer;
}

/* lien lac*/
.main-lienlac {
  padding: 20px 0;
}

.main-lienlac::after {
  content: "";
  display: block;
  width: 95%;
  height: 2px;
  margin-top: 40px;
  background-color: #f1f0f0;
  margin: 10px auto 0;
}

.title-lien-lac {
  text-align: left;
  margin-left: 10px;
}

.title-lien-lac h2,
.title-lien-lac h6 {
  margin: 0;
  line-height: 1.3;
}

.title-lien-lac h2 {
  font-family: 'utm-avo-bold';
  color: #d2b338;
  font-size: 1.2em;
}

.title-lien-lac h6 {
  margin-top: 5px;
  font-family: 'utm-avo';
  color: #fff;
  font-size: .75em;
}

.info-lien-lac {
  margin-top: 30px;
  margin-bottom: 40px;
}

.info-lien-lac p {
  margin: 5px 0;
  font-size: .85em;
  font-family: 'utm-avo';
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: #fff;
}

.info-lien-lac i {
  color: #fff;
  font-size: 1em;
  width: 20px;
  text-align: center;
}

/*footer*/
.container.lien-lac {
  background: #353535 url(../images/metalerfire-footer-bg.png) bottom right no-repeat;
  background-size: auto 50%;
  background-position: 120px 600px;
}

.main-footer {
  position: relative;
  color: #fff;
  font-family: 'utm-avo';
  padding-top: 1px;
  margin: 0;
  padding: 15px;
}

.footer-column {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  margin-top: -40px;
}

.footer-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #fff !important;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.footer-list li {
  margin: 6px 0;
  font-size: 14px;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #555;
  text-align: left;
  padding: 10px;
  font-size: .7em;
  color: #ccc;
  margin: 0;
}

.footer-list li a:hover {
  color: #ee1d42;
}

.footer-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  left: 50%;
  justify-content: right;
  align-items: right;
  pointer-events: none;
}

.footer-img img {
  opacity: 1;
  object-fit: contain;
  margin-right: -90px;
  margin-top: 90px;
}

/* Đảm bảo text nằm trên ảnh */
.main-footer>*:not(.footer-img) {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* trang danh mục sảm phẩm */
.main-danhmuc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 10px;
}

.title-danhmuc {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-left: 10px;
}

.title-danhmuc h4 {
  color: #27aae1;
  font-family: 'utm-avo-bold';
  display: inline-block;
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  font-size: 1.2em;
}

.title-danhmuc h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 110%;
  height: 2px;
  background-color: #27aae1;
}

.danhmuc-item {
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.danhmuc-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.price-sp {
  font-weight: bold;
  margin-top: 10px;
  font-family: 'utm-avo-bold';
}

.duong-dan {
  margin-left: 10px;
  margin-top: 30px;
  text-align: left;
}

.duong-dan a {
  color: #27aae1;
}

.danhmuc-tintuc-decktop {
  display: none;
}

.title-tintuc {
  font-family: 'utm-avo-bold';
  font-size: 1.1em;
  margin-left: 10px;
}

.menu-danhmuc {
  display: none;
}

/* chi tiết sản phẩm */
.chitiet-sanpham {
  padding: 40px 0;
}

.main-hinh-chitiet {
  background-color: #f4f7fc;
  flex-direction: column;
  align-items: flex-start;
}

.chitiet {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hinhanh-chitiet {
  flex: 1;
  text-align: center;
  background-color: #f4f7fc;
}

.hinhanh-chitiet img {
  width: 100%;
  max-width: 300px;
  border: 1px solid #c8c8c8;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}

.hinhanh-phu {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.hinhanh-phu img.active {
  border: 2px solid #f00;
}

.hinhanh-phu img {
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.infor-product {
  flex: 1;
}

.tieude-chitiet h4 {
  font-family: 'utm-magnesium' !important;
  font-size: 1.3em;
}

.gia-sp h5 {
  color: #e91e63;
  margin-bottom: 15px;
  font-family: 'utm-avo-bold';
  font-size: 1.5em;
}

.infor-product button {
  margin: 30px 0;
  background: #d2b43a;
  color: #fff;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 8px;
}

/* Thong tin chi tiet*/

.thongtin-chitiet {
  width: 100%;
  margin: 0 auto;
  color: #000;
  line-height: 1.6;
  text-align: left;
}

.title-details {
  text-align: left;

}

.duongdan-chitiet-sp a {
  font-family: 'utm-avo' !important;
}

.title-details h5 {
  font-size: 1.2em;
  color: #00a0e3;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.title-details h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #00a0e3;
}


/* Tiêu đề phụ */
.thongtin-chitiet h6 {
  font-size: 1em;
  margin-top: 25px;
  font-family: 'utm-avo-bold';
  margin-bottom: 10px;
}

.thongtin-chitiet span {
  display: block;
  font-size: .95em;
  color: #333;
  margin-bottom: 12px;
  font-family: 'utm-avo';
  text-align: justify;
}

.sp-tuongtu-item {
  width: 70%;
  text-align: center;
  margin: 10px auto;
}

.sp-tuongtu-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5em;
  transition: transform 0.3s ease;
}

.sp-tuongtu-item img:hover {
  transform: scale(1.05);
}

.sp-tuongtu-name {
  font-size: 0.9em;
  color: #000;
  margin: 0.3em 0;
}

.sp-tuongtu-price {
  font-size: 1em;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.sp-tuongtu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  justify-items: center;
  padding: 1em;
}

#tuong_tu_slider .owl-prev,
#tuong_tu_slider .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  color: #bdbec0;
  background: transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

#tuong_tu_slider .owl-prev {
  left: 10px;
}

#tuong_tu_slider .owl-next {
  right: 10px;
}

/* bang thông số */
.specs-container {
  width: 100%;
  max-width: 700px;
  margin: 0;
  font-family: "utm-avo";
  color: #222;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .7em;
}

.specs-table thead th {
  text-align: left;
  padding: 12px 15px;
  font-family: "utm-avo-bold";
  border-bottom: 1px solid #ddd;
}

.specs-table tbody td {
  padding: 10px 15px;
  font-family: "utm-avo";
  border-bottom: 1px solid #eee;
}

/* trang tin tức chính */
.search-box {
  font-family: 'utm-avo';
  color: #333;
  width: 280px;
}

.search-box h4 {
  display: block;
  font-size: 1em;
  margin-bottom: 15px;
  font-family: 'utm-avo-bold' !important;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 0px 10px 15px;
  border: 1.5px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
  border-color: #aaa;
}

.search-input-wrapper .icon-search1 {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  pointer-events: none;
}

.title-sanpham-noibat h5 {
  font-family: 'utm-avo-bold';
  font-size: 1em;
}

.title-main-news h5 {
  font-family: 'utm-avo-bold';
  color: #00a0e3 !important;
  border-bottom: 1px solid #00a0e3;
  display: inline-block;
  padding-bottom: 4px;
  margin: 2px;
  margin-top: 50px;
}

.duong-dan-news {
  text-align: left;
  margin-top: 20px;
  padding-left: 10px;
  margin-bottom: 30px;
}

.title-main-news {
  text-align: left;
  padding-left: 10px;
}

.duong-dan-news a {
  font-family: 'utm-avo';
}

/* main chính new */
.news-desktop {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.news-item {
  overflow: hidden;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.news-image {
  width: 100%;
  height: auto;
}

.news-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 5px;
}

.news-title {
  display: block;
  font-family: 'utm-avo-bold';
  font-size: .85em;
  color: #222;
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-title:hover {
  color: #c40000;
}

.news-desc {
  font-size: .7em;
  color: #555;
  line-height: 1.5;
}

/* sản phẩm nổi bật */
.sanpham-noibat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sanpham-noibat-item {
  width: 160px;
  text-align: center;
}

.sanpham-noibat-item img {
  width: 100%;
  height: auto;
  display: block;
}

.content-sanpham-noibat p {
  font-size: 0.7em;
}

@media(min-width:768px) {
  .container.lien-lac {
    background-size: auto 50%;
    background-position: right 700px;
    padding: 30px;
  }

  .title-container {
    margin-left: 30px;
    font-size: 1em;
  }

  .title-container img {
    width: 90px;
    height: 90px;
  }

  .title-container::after {
    margin-left: 30px;
  }

  .main-footer {
    text-align: left;
    font-size: 1.5em;
  }

  .tt-sanpham .sp-title {
    font-size: 1.1em;
  }

  .main-footer li {
    font-size: .8em;
  }

  .tintuc-title {
    font-size: 1.2em;
  }

  .main-container-lienlac {
    margin-top: 40px;
    font-size: 1.5em;
  }

  .info-lien-lac {
    margin-top: 50px;
    line-height: 1.5 !important;
  }

  .info-lien-lac i {
    margin-right: 10px;
  }

  .footer-column {
    margin: 0 !important;
  }

  .main-danhmuc {
    grid-template-columns: repeat(3, 1fr);
  }

  .title-danhmuc h4 {
    font-size: 1.5em;
  }

  .title-danhmuc h4::after {
    width: 500px;
  }

  #tin_tuc_product_slider {
    display: none;
  }

  /* trang danh muc */
  .danhmuc-tintuc-decktop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .duong-dan {
    margin-left: 20px;
  }

  /* chi tiết sản phẩm */
  .chitiet {
    display: flex;
    flex-direction: row;
    gap: 50px;

  }

  #tuong_tu_slider .owl-nav {
    display: flex !important;
  }

  .specs-table {
    font-size: .9em;
  }

  /* trang tin tức chính */
  .news-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

  .container.news .boundary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 90px;
  }

  .main-news {
    flex: 3;
    padding: 20px;
  }

  .timkiem-news {
    flex: 1;
  }

  .sanpham-noibat {
    display: flex;
    flex-direction: column;
  }

  .sanpham-noibat-item {
    width: 100px;
  }

  .search-box {
    width: 200px;
  }

  .sanpham-noibat-item {
    display: flex;
    align-items: center;
    width: 280px;
    text-align: left;
  }

  .sanpham-noibat-item img {
    width: 80px;
    height: auto;
  }

  .sanpham-noibat-info {
    display: flex;
    flex-direction: column;
  }

  .sanpham-noibat-price {
    font-weight: bold;
    margin: 4px 0 0;
  }

  .duong-dan-news {
    font-size: 0.8em;
  }

}

@media (min-width:996px) {

  header {
    flex-direction: row-reverse;
  }

  .hamburger-box {
    display: none !important;
  }

  .main-menu {
    height: 60px;
    line-height: 60px;
  }

  .main-menu .mm-content {
    position: relative;
    overflow: unset;
    top: unset;
    left: unset;
    height: auto;
    max-width: unset;
    padding: 0;
    display: flex !important;
    flex-direction: row;
    font-size: 1rem;
    width: auto;
  }

  .main-menu .mm-content .icon-x,
  .main-menu .mm-content li a::before {
    display: none;
  }

  .main-menu .mm-content li a {
    display: inline-block;
    border: 0;
    padding: 0;
    line-height: 60px;
  }

  .mm-content li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    z-index: 999999;
    background: #FFF;
    width: 300px;
    font-family: 'utm-avo' !important;
    white-space: nowrap;
    height: auto;
    overflow: visible;
    padding: 0 10px;
    box-shadow: 0 0 3px #333;
  }

  .mm-content li .submenu li a {
    line-height: 1.2em;
    color: #000;
    font-size: .8em;
    font-family: 'utm-avo' !important;
  }

  #san_pham_slider {
    display: none;
  }

  .title-container {
    margin-left: 80px;
  }

  .sanpham-decktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 100px auto;
  }

  .tt-sanpham-decktop {
    width: 260px;
    text-align: center;
  }

  .sp-image-decktop {
    width: 100%;
    height: 200px;
  }

  .sp-image-decktop img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .sp-image-decktop img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .sp-title-decktop {
    margin-top: 20px;
    font-size: 1em;
    padding: 5px;
    font-family: "utm-avo-bold";
    color: #fff;
    background-color: #6b6969;
    height: 50px;
    width: 90%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .main-gioithieu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 70px;
    margin: 80px 100px;
  }

  .main-content-gioithieu {
    flex: 1;
    text-align: justify;
  }

  .logo-gioithieu {
    flex-shrink: 0;
  }

  .logo-gioithieu img {
    width: 350px;
    height: auto;
  }

  #tin_tuc_slider {
    display: none;
  }

  /* Tin tức */
  .tin-tuc-decktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    gap: 30px;
    max-width: 1000px;
    margin: 70px auto;
  }

  .tt-tintuc-decktop {
    width: 45%;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .tt-tintuc-decktop a {
    font-weight: bold;
  }

  .tt-tintuc-decktop:hover {
    transform: translateY(-5px);
  }

  .tt-image-decktop img {
    width: 90%;
    height: auto;
    display: block;
  }

  .tintuc-title-decktop {
    padding: 15px;
  }

  .tintuc-web-decktop {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    text-decoration: none;
  }

  .tintuc-web-decktop:hover {
    color: #c00;
  }

  .noidung-tintuc-decktop {
    font-size: 0.95em;
    color: #555;
    margin-top: 8px;
    text-align: justify;
  }

  .main-menu .mm-content>li>a:hover {
    background-color: #f1f0f0 !important;
    color: #000;
    padding: 0px 3px;
  }

  /* mũi tên menu */
  .main-menu .mm-content li a.item {
    position: relative;
    display: inline-block;
  }

  /* Chỉ áp dụng cho li cấp 1 trong mm-content */
  .main-menu .mm-content>li.active>a::after,
  .main-menu .mm-content>li:hover>a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #333434;
  }


  /* footer */
  .container.lien-lac {
    display: flex;
    padding-top: 50px;
    margin: 0 auto;
    background-size: auto 100%;
    background-position: right 50px;
    font-size: .75em;
  }

  .main-footer {
    display: flex;
  }

  .footer-column {
    display: flex;
  }

  .main-lienlac {
    display: flex;
  }

  .main-lienlac::after {
    display: none;
  }

  .info-lien-lac {
    margin-top: 50px;
    line-height: 1.5 !important;
  }

  .info-lien-lac i {
    margin-right: 5px;
  }

  .logo-footer {
    width: 150px;
    height: 150px;
    margin-right: 30px;
    margin-left: 10px;
  }

  .logo-footer img {
    width: 100%;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
  }

  .footer-bottom p {
    opacity: 0.5;
  }

  /* trang sản phẩm */
  .container.danhmuc .boundary {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 30px;
    align-items: start;
    padding-top: 50px;
  }

  .danhmuc-thongtin {
    order: 1;
  }

  .danhmuc-sanpham {
    order: 2;
  }

  .danhmuc-tintuc-decktop {
    display: flex;
    flex-direction: column;
  }

  .title-danhmuc h4::after {
    width: 100%;
  }

  .menu-danhmuc {
    display: block;
  }

  .menu-danhmuc .submenu {
    background: var(--menu-bg);
    padding: 15px 20px;
    list-style: none;
  }

  .menu-danhmuc .submenu li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 6px 0;
    font-family: "utm-avo" !important;
  }

  .menu-danhmuc .submenu li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 0;
  }

  .menu-danhmuc .submenu li::before {
    content: "◆";
    color: #fff;
    font-size: 10px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
  }

  .duong-dan {
    margin-left: 30px;
  }

  .main-menu .mm-content .submenu-con li a {
    padding: 0;
    font-size: .8em;
  }

  .menu-danhmuc .submenu li a:hover {
    color: #ffde00;
  }

  /* chi tiết sản phẩm */

  #tuong_tu_slider .owl-nav {
    display: flex !important;
  }

  .chitiet {
    gap: 10px;
    padding: 20px;

  }

  /* trang tin tức chính */
  .news-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

  .container.news .boundary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
  }

  .main-news {
    flex: 3;
  }

  .timkiem-news {
    flex: 1;
  }

  .search-box {
    width: 260px;
  }
  .mm-content li .submenu {
    width: 350px;
  }
}

@media(min-width:1200px) {

  .main-menu .mm-content {
    display: flex !important;
    flex-direction: row;
    gap: 30px;
  }

  .mm-content li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    z-index: 999999;
    width: 380px;
    font-family: 'utm-avo' !important;
    white-space: nowrap;
    height: auto;
    overflow: visible;
    padding: 10px;
    font-size: 1.4em !important;
    border-bottom: 1px solid #ffffff33;
  }

  .mm-content li .submenu li a {
    font-family: 'utm-avo' !important;
  }

  .title-container {
    margin-left: 60px;
  }

  .container.lien-lac {
    display: flex;
    align-items: stretch;
    padding: 50px;
    margin: 0 auto;
    width: 100%;
  }

}

@media(min-width:1500px) {
  .main-menu .mm-logo img {
    width: 100%;
  }

  .main-menu .mm-content {
    display: flex !important;
    flex-direction: row;
    padding-left: 70px;
  }

  .main-menu .mm-content li {
    font-size: .9em;
  }

  .mm-content li .submenu {
    width: 450px;
  }

  .title-container {
    margin-left: 100px;
    font-size: 1.3em;
  }

  .title-container img {
    width: 90px;
    height: 90px;
  }

  .title-container::after {
    margin-left: 30px;
  }

  .main-gioithieu {
    margin: 80px 180px;
  }

  .tin-tuc-decktop {
    max-width: 1200px;
  }

  .tt-tintuc-decktop {
    width: 22%;
  }

  .container.lien-lac {
    justify-content: space-evenly;
    width: 100%;
    box-sizing: border-box;
    padding: 30px calc(50%-600px);
  }

  .logo-footer {
    width: 200px;
    height: 200px;
  }

  .logo-footer img {
    width: 100%;
  }

  .footer-column {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-column-1 {
    flex: 1;
  }

  .main-footer {
    margin-left: -60px;
  }

  .duong-dan {
    margin-left: 30px;
  }

  /* tin tức chính */
  .news-title {
    font-size: .9em;
  }

  .news-desc {
    font-size: .8em;
  }

  .content-sanpham-noibat p {
    font-size: 0.8em;
  }
}

@media(min-width:1800px) {
  .main-menu .mm-logo img {
    width: 100%;
  }

  .main-menu .mm-content li {
    font-size: .9em;
  }

  .main-gioithieu {
    margin: 80px 210px;
  }

  .sanpham-decktop {
    max-width: 1500px;
    margin-left: 80px;
    justify-content: left;
  }

  .container.lien-lac {
    max-width: 2000px;
  }

  .duong-dan {
    margin-left: 150px;
  }

  .main-menu .mm-content li a {
    position: relative;
    display: inline-block;
  }

  /* mũi tên menu */
  /* Chỉ áp dụng cho li cấp 1 trong mm-content */
  .main-menu .mm-content>li.active>a::after,
  .main-menu .mm-content>li:hover>a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #333434;
  }


  /* trang tin tức chính */
  .duong-dan-news {
    font-size: 1em;
  }
}