/* Makxim Pro Audio — giao diện tối giản kiểu loamarshall.vn.
   Nạp SAU bundle cũ (/Styles/styles) nên chỉ cần ghi đè. Tiền tố mx- cho class mới. */
:root {
  --ink: #111;
  --muted: #707070;
  --line: #e9e9e9;
  --soft: #f6f6f6;
  --red: #e0151f;
  --sale: #ff2c26;
  --wrap: 1360px;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body, input, button, select, textarea, h1, h2, h3, h4, h5, h6, .titleHome { font-family: 'Quicksand', sans-serif; }
a { color: var(--ink); }
a:hover, a:focus { color: var(--red); text-decoration: none; }
@media (min-width: 1200px) {
  .container { width: auto; max-width: var(--wrap); padding-left: 32px; padding-right: 32px; }
}

/* ---------- Thanh trên cùng ---------- */
.navbar-top { background: var(--ink); color: #fff; border: 0; }
.navbar-top .nav-top { margin: 0; min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.navbar-top .nav-top > li { float: none; }
.navbar-top .slogan { margin: 0; font-size: 12px; font-weight: 500; color: #fff; line-height: 34px; letter-spacing: .2px; }
.navbar-top a, .navbar-top .dropdown-toggle { color: #fff !important; font-size: 12px; line-height: 34px; }
.navbar-top .dropdown-menu { border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.navbar-top .dropdown-menu, .navbar-top .dropdown-menu p { color: var(--ink); font-size: 13px; }
.navbar-top .dropdown-menu span { color: var(--red); font-weight: 600; }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.header .logo { float: none; margin: 0; padding: 0; flex: 0 0 auto; }
.header .logo img { max-height: 54px; width: auto; }
.header .box-search {
  float: none; margin: 0 auto; flex: 0 1 460px; position: relative;
  background: var(--soft); border: 1px solid transparent; border-radius: 999px; height: 42px; transition: border-color .2s, background .2s;
}
.header .box-search:focus-within { background: #fff; border-color: var(--ink); }
.header .box-search input { width: 100%; height: 40px; border: 0; background: transparent; padding: 0 48px 0 20px; font-size: 14px; outline: 0; box-shadow: none; }
.header .box-search .btns {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/15px no-repeat;
}
.header #boxsearch { top: 46px; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.header #services-header { float: none; margin: 0; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.header #services-header .item { float: none; margin: 0; padding: 0; background: none; line-height: 1.3; }
.header #services-header .item strong { display: block; color: var(--ink); font-size: 17px; font-weight: 700; }
.header #services-header::before {
  content: ""; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/17px no-repeat;
}
.header .cart { float: none; margin: 0; flex: 0 0 auto; position: relative; }
.header .cart a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px;
  background: none; padding: 0; border: 0; height: auto; line-height: 1;
}
.header .cart .fa { font-size: 20px; width: auto; }
.header .cart .lblCart {
  position: absolute; left: 12px; top: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

@media (min-width: 1025px) { .header #services-header.show-desktop { display: flex !important; } }

/* ---------- Menu ngang ---------- */
.nav-hori { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; position: relative; z-index: 50; }
.nav-hori .container { display: flex; align-items: stretch; }
.nav-hori .main-menu { float: none; width: 250px; flex: 0 0 250px; position: relative; background: none; margin: 0; }
.nav-hori .title-main-menu {
  background: none !important; color: var(--ink) !important; font-size: 14px; font-weight: 700; text-transform: none;
  height: 50px; line-height: 50px; padding: 0 0 0 0; cursor: pointer; border: 0;
}
.nav-hori .title-main-menu .fa-home { display: none; }
.nav-hori .title-main-menu::before {
  content: ""; display: inline-block; vertical-align: -3px; width: 18px; height: 14px; margin-right: 12px;
  background: linear-gradient(var(--ink),var(--ink)) 0 0/18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) 0 6px/18px 2px no-repeat, linear-gradient(var(--ink),var(--ink)) 0 12px/12px 2px no-repeat;
}
.nav-hori .parent-menu {
  position: absolute; left: 0; top: 50px; width: 270px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.10); padding: 6px 0; margin: 0;
}
.nav-hori .parent-menu > li { border: 0; position: static; }
.nav-hori .parent-menu > li > a.root {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; color: var(--ink);
  font-size: 14px; font-weight: 500; background: none; border: 0; line-height: 1.4;
}
.nav-hori .parent-menu > li:hover > a.root { background: var(--soft); color: var(--red); }
.nav-hori .parent-menu .sub-menu {
  left: 268px; top: -2px; min-height: calc(100% + 2px); width: 290px; background: #fff; border: 1px solid var(--line);
  box-shadow: 18px 18px 40px rgba(0,0,0,.08); padding: 10px 0;
}
.nav-hori .parent-menu .sub-menu a { color: var(--ink); font-size: 14px; padding: 8px 22px; display: block; background: none; }
.nav-hori .parent-menu .sub-menu a:hover { color: var(--red); }
.nav-hori .nav-inside { float: none; flex: 1 1 auto; display: flex; align-items: center; background: none; padding: 0; margin: 0; border: 0; }
.nav-hori #dot { display: none; }
.nav-hori .nav-center { display: flex; gap: 6px; margin: 0 auto; padding: 0; float: none; }
.nav-hori .nav-center > li { float: none; position: relative; }
.nav-hori .nav-center > li > a {
  display: block; padding: 0 16px; height: 50px; line-height: 50px; color: var(--ink) !important; background: none !important;
  font-size: 14px; font-weight: 600; text-transform: none; position: relative;
}
.nav-hori .nav-center > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 12px; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-hori .nav-center > li:hover > a::after { transform: scaleX(1); }
.nav-hori .nav-center ul { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.10); border-radius: 0 0 6px 6px; padding: 8px 0; }
.nav-hori .nav-center ul a { color: var(--ink) !important; background: none !important; padding: 8px 20px; font-size: 14px; font-weight: 500; }
.nav-hori .nav-center ul a:hover { color: var(--red) !important; }
.nav-hori .nav-inside .cart { display: none; }

/* ---------- Banner ---------- */
#sync1 { margin: 0 !important; }
#sync1 img { width: 100%; display: block; }
#sync1 .owl-dots { position: absolute; left: 0; right: 0; bottom: 16px; }
#sync1 .owl-dot span { background: rgba(255,255,255,.55); width: 8px; height: 8px; }
#sync1 .owl-dot.active span { background: #fff; width: 22px; }

/* ---------- Tiêu đề khối ---------- */
.titleHome, h2.titleHome {
  font-size: 30px; font-weight: 500; text-transform: none; color: var(--ink); letter-spacing: -.2px; margin: 0 0 34px; padding: 0;
  background: none; border: 0; text-align: center; line-height: 1.25;
}
.titleHome::before, .titleHome::after { display: none !important; }
.titleHome.hasBorder { text-align: left; font-size: 28px; margin-bottom: 20px; }

/* ---------- Danh mục sản phẩm (ô ảnh lớn) ---------- */
.mx-cats { background: #fff; padding: 64px 0 24px; }
.mx-cats .cate_home { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 24px; background: none; border: 0; overflow: visible; margin: 0; }
.mx-cats .cate_home > a {
  flex: 0 0 calc((100% - 72px) / 4); width: auto; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: none; border: 0 !important; padding: 0; color: var(--ink);
}
.mx-cats .cate_home picture {
  display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: var(--soft); margin: 0 0 20px;
}
.mx-cats .cate_home img {
  width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0 !important; border: 0;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.mx-cats .cate_home > a:hover img { transform: scale(1.05); }
.mx-cats .cate_home > a { height: auto; float: none; overflow: visible; }
.mx-cats .cate_home > a > picture { height: auto; margin: 0 0 20px; border: 0; border-radius: 0; }
.mx-cats .cate_home h3 { font-size: 22px; font-weight: 500; margin: 0 0 14px; padding: 0; color: var(--ink) !important; line-height: 1.3; max-height: none; }
.mx-cats .cate_home > a:hover > h3 { font-weight: 500; }
.mx-cats .cate_home > a::after {
  content: "Xem ngay"; display: inline-block; padding: 10px 24px; border: 1px solid var(--line); font-size: 13px; font-weight: 500;
  color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.mx-cats .cate_home > a:hover::after { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Khối sản phẩm ---------- */
.box-pro-km-bg { background: #fff !important; padding: 56px 0 24px; margin: 0; }
.box-pro-km-bg + .box-pro-km-bg { border-top: 0; }
.box-pro-km { background: none !important; padding: 0 !important; border: 0; box-shadow: none; }
.mx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.mx-grid > .product2:nth-child(n+9) { display: none; }
.mx-grid.is-open > .product2:nth-child(n) { display: flex; }
.mx-more { text-align: center; margin: 44px 0 0; }
.mx-btn-outline {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 26px; border: 1px solid var(--ink); background: #fff;
  color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: 1px; cursor: pointer; transition: background .2s, color .2s;
}
.mx-btn-outline:hover, .mx-btn-outline:focus { background: var(--ink); color: #fff; }

/* Thẻ sản phẩm — dùng chung trang chủ, danh mục */
.product2 {
  display: flex; flex-direction: column; text-align: left !important; background: none; border: 0 !important; box-shadow: none !important;
  padding: 0 !important; margin: 0; height: 100%; position: relative;
}
.product2 .thumb {
  display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; margin: 0 0 18px; padding: 0; height: auto;
}
.product2 .thumb img { width: 100%; height: 100%; object-fit: contain; max-height: none; transition: transform .5s ease; }
.product2:hover .thumb img { transform: scale(1.04); }
.product2 .discout { position: absolute; left: 0; top: 0; margin: 0; z-index: 2; }
.product2 .icon-saleoff {
  display: inline-block; background: var(--sale) !important; color: #fff; border-radius: 3px; padding: 2px 6px; width: auto; height: auto;
  font-size: 12px; font-weight: 600; line-height: 17px;
}
.product2 .icon-saleoff sub { position: static; font-size: inherit; color: inherit; line-height: inherit; vertical-align: baseline; }
.product2 .code { order: -1; display: none; }
.product2 .mx-brand { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin: 0 0 6px; }
.product2 h3 { margin: 0 0 10px; font-size: 14px; font-weight: 500; line-height: 1.45; min-height: 0; height: auto; text-transform: none; }
.product2 h3 a {
  color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: none;
}
.product2 h3 a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.product2 > .clearfix { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.product2 > .clearfix::before, .product2 > .clearfix::after { display: none; }
.product2 .p-price { float: none; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 0; margin: 0; }
.product2 .p-price > span[style] { font-size: 11px !important; color: var(--muted); order: 3; }
.product2 .p-curent-price { color: var(--sale) !important; font-size: 16px !important; font-weight: 700; display: block; }
.product2 .p-old-price { color: var(--muted) !important; font-size: 12px !important; text-decoration: line-through; display: block; margin: 0; }
.mx-buy {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.mx-buy i {
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-size: 13px; transition: background .2s;
}
.mx-buy:hover { color: var(--red); }
.mx-buy:hover i { background: var(--red); }

/* ---------- Về chúng tôi ---------- */
.about-home { background: var(--soft); padding: 72px 0 40px; margin: 56px 0 0; }
.about-home .about-sumary { font-size: 15px; line-height: 1.75; color: #333; max-height: 330px; overflow: hidden; position: relative; transition: max-height .4s; }
.about-home .about-sumary::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(246,246,246,0), var(--soft)); }
.about-home.is-open .about-sumary { max-height: none; }
.about-home.is-open .about-sumary::after { display: none; }
.about-home .read_more { margin-top: 22px; }
.about-home .read_more a {
  display: inline-block; padding: 11px 26px; border: 1px solid var(--ink); background: transparent !important; color: var(--ink) !important;
  font-size: 14px; font-weight: 500; border-radius: 0;
}
.about-home .read_more a:hover { background: var(--ink) !important; color: #fff !important; }
.about-home .slide-banner img { border-radius: 0; }

/* ---------- Cam kết dịch vụ ---------- */
.mx-services { border-top: 1px solid var(--line); background: #fff; padding: 40px 0; }
.mx-services .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mx-services .container::before, .mx-services .container::after { display: none; }
.mx-services .item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mx-services .fa { font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.mx-services b { font-size: 16px; font-weight: 600; }
.mx-services span { font-size: 13px; color: var(--muted); }

/* ---------- Tin tức + footer ---------- */
.footer { background: none; color: var(--ink); padding: 0; margin: 0; }
.new-footer { background: #fff; padding: 56px 0 24px; border-top: 1px solid var(--line); }
.new-footer .sub-heading { display: block; font-size: 24px; font-weight: 500; color: var(--ink); margin: 0 0 24px; text-transform: none; border: 0; background: none; padding: 0; }
.new-footer .sub-heading .icon { display: none; }
.news-item { background: none !important; border: 0 !important; box-shadow: none !important; height: 100%; }
.news-item .thumb { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 14px; background: var(--soft); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .thumb img { transform: scale(1.04); }
.news-item .content { padding: 0 !important; background: none !important; }
.news-item h3 { font-size: 15px; font-weight: 600; line-height: 1.45; margin: 0 0 8px; text-transform: none; height: auto; }
.news-item h3 a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: none; }
.news-item .line { color: var(--muted); font-size: 13px; }
.news-item .alink { color: var(--ink) !important; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.box-footer { background: #0d0d0d !important; color: #b5b5b5; padding: 56px 0 36px; }
.box-footer, .box-footer p, .box-footer span, .box-footer em, .box-footer strong { color: #b5b5b5; font-size: 13px; line-height: 1.75; }
.box-footer h3, .box-footer h3 span, .box-footer h3 strong { color: #fff !important; }
.box-footer .footer-title { font-size: 15px !important; font-weight: 600; margin: 0 0 16px; border: 0; text-transform: none; }
.box-footer .footer-title .fa { display: none; }
.box-footer .footer-menu li { padding: 0; margin: 0 0 8px; border: 0; background: none; }
.box-footer .footer-menu li::before { content: "•"; color: #666; margin-right: 8px; }
.box-footer a { color: #b5b5b5 !important; }
.box-footer a:hover { color: #fff !important; }
.box-footer .col-sm-8 > .row > .col-sm-3 { width: 33.333%; }
.copy { background: #000 !important; color: #8a8a8a; border-top: 1px solid #222; padding: 16px 0; text-align: center; }
.copy p { margin: 0; font-size: 12px; color: #8a8a8a; }

/* ---------- Trang danh mục ---------- */
.breadcrumb { background: none; padding: 18px 0; margin: 0; font-size: 13px; }
.breadcrumb a { color: var(--muted); }
.heading-main { font-size: 28px !important; font-weight: 500; text-transform: none; color: var(--ink); border: 0; background: none; padding: 0; margin: 6px 0 22px; }
.heading-main::after, .heading-main::before { display: none !important; }
.ul-cat { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.ul-cat li { float: none; margin: 0; }
.ul-cat li a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink); background: #fff; }
.ul-cat li.active a, .ul-cat li a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
#main .product2 { margin-bottom: 20px; }
.orderby .sorter-btn { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13px; }
.page-nummber a, .page-nummber span { border-radius: 0 !important; border-color: var(--line) !important; color: var(--ink) !important; }
.page-nummber .active, .page-nummber span.current { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }

/* ---------- Chi tiết sản phẩm ---------- */
.pro-detailt h1 { font-size: 26px; font-weight: 600; line-height: 1.35; text-transform: none; color: var(--ink); margin: 6px 0 24px; }
.pro-detailt .product-hero-img { border: 0; background: #fff; }
.pro-detailt .sale { background: var(--sale); color: #fff; border-radius: 3px; padding: 2px 8px; font-size: 13px; font-weight: 600; width: auto; height: auto; line-height: 20px; }
.pro-detailt #bx-pager a { border: 1px solid var(--line) !important; display: block; }
.pro-detailt #bx-pager a:hover { border-color: var(--ink) !important; }
.prodt-r-info { font-size: 13px; color: var(--muted); margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.prodt-r-info b { color: var(--ink); }
.prodt-r .box-price { float: none; }
.prodt-r .price { color: var(--sale) !important; font-size: 28px !important; font-weight: 700; }
.prodt-r .price > span[style] { font-size: 12px !important; color: var(--muted) !important; font-weight: 500; }
.prodt-r .price1 span { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.prodt-r .address-map { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prodt-r .shipping { border: 1px solid var(--line); padding: 14px 18px; border-radius: 0; background: #fff; }
.prodt-r .shipping li { padding-top: 4px; padding-bottom: 4px; font-size: 14px; }
.prodt-r .tt-km { border: 1px dashed var(--red); background: #fff7f7; border-radius: 0; }
.prodt-r .chatngay > div, .prodt-r .themgiohang > div { border-radius: 0 !important; padding: 9px !important; }
.prodt-r .themgiohang > div { background: var(--red) !important; }
.prodt-r .chatngay > div { background: #fff !important; border: 1px solid var(--ink); }
.prodt-r .chatngay > div p, .prodt-r .chatngay > div .fa { color: var(--ink) !important; }
.prodt-r .chatngay > div p, .prodt-r .themgiohang > div p { font-weight: 600; font-size: 14px !important; letter-spacing: .3px; }
.prodt-r .fa { margin-right: 8px; }
.prodt-r .buy_now { background: var(--ink) !important; border-radius: 0 !important; border: 0; color: #fff !important; font-weight: 700; letter-spacing: .5px; }
.prodt-r .buy_now span { color: rgba(255,255,255,.7) !important; font-weight: 500; letter-spacing: 0; }
.prodt-r .callorder a { color: var(--red); font-weight: 700; }
.heading, .sub-heading { border: 0 !important; background: none !important; }
.heading span, .sub-heading span { font-size: 22px; font-weight: 500; color: var(--ink); background: none !important; padding: 0 !important; text-transform: none; }
.heading::before, .heading::after, .heading span::before, .heading span::after { display: none !important; }
.content-post { font-size: 15px; line-height: 1.75; }
.product-km strong a { color: var(--ink); font-weight: 500; }
.row-price b { color: var(--sale); }

/* ---------- Mobile ---------- */
@media (max-width: 1199px) {
  .mx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-cats .cate_home > a { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 1024px) {
  .header { padding: 0; box-shadow: 0 1px 0 var(--line); }
  .header .container { min-height: 58px; justify-content: center; position: relative; gap: 0; }
  .header .logo { width: auto; margin: 0 auto; }
  .header .logo img { height: 38px; max-height: 38px; }
  #nav-icon4 { top: 50%; left: 15px; margin-top: -9px; width: 22px; height: 18px; }
  #nav-icon4 span { background: var(--ink); height: 2px; border-radius: 2px; }
  #nav-icon4 span:nth-child(2) { top: 7px; }
  #nav-icon4 span:nth-child(3) { top: 14px; }
  .header .cart { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
  .header .cart a { font-size: 0; gap: 0; color: var(--ink); }
  .header .cart .fa { color: var(--ink); font-size: 21px; margin: 0; }
  .head-fix { height: 58px; }
  .nav-mobile { background: #fff; border-bottom: 1px solid var(--line); padding: 8px 15px; }
  .box-search-mobile { margin: 0; padding: 0; }
  .box-search-mobile input[type=text] { height: 40px; border-radius: 999px; background: var(--soft); padding: 0 50px 0 18px; font-size: 14px; }
  .box-search-mobile a.btnS { top: 4px; right: 4px; width: 32px; height: 32px; line-height: 32px; border-radius: 50%; background: var(--ink); font-size: 13px; }
  .navbar-nav-mobile { background: #fff; top: 58px; box-shadow: 10px 0 30px rgba(0,0,0,.12); }
  .navbar-nav-mobile > li { border-bottom: 1px solid var(--line); }
  .navbar-nav-mobile > li > a { text-transform: none; font-weight: 600; font-size: 15px; color: var(--ink); }
  .mobile-dropdown { background: var(--soft); }
}
@media (max-width: 991px) {
  .mx-services .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .titleHome, h2.titleHome { font-size: 22px; margin-bottom: 22px; }
  .mx-cats { padding: 40px 0 8px; }
  .mx-cats .cate_home { gap: 28px 14px; }
  .mx-cats .cate_home > a { flex-basis: calc((100% - 14px) / 2); }
  .mx-cats .cate_home h3 { font-size: 15px; margin-bottom: 10px; }
  .mx-cats .cate_home > a::after { padding: 7px 14px; font-size: 12px; }
  .box-pro-km-bg { padding: 40px 0 8px; }
  .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .mx-grid > .product2:nth-child(n+7) { display: none; }
  .mx-buy span { display: none; }
  .product2 > .clearfix { align-items: center; }
  .about-home { padding: 44px 0 20px; }
  .mx-services { padding: 28px 0; }
  .mx-services .container { gap: 22px 12px; }
  .mx-services b { font-size: 14px; }
  .mx-services span { font-size: 12px; }
  .box-footer .col-sm-8 > .row > .col-sm-3 { width: 100%; }
  .pro-detailt h1 { font-size: 21px; }
}
