/* Hộp Tiện Ích (bachhoa2) — trang chủ theo mockup bachhoa2-home/mockups/home-desktop-v1.png (850px -> 1440 = x1.694) */
:root { --hti-o: #f7931e; --hti-o2: #ef7d0a; --hti-ol: #fff3e6; --hti-dk: #2b2b2b; --hti-ink: #1d1d1d; --hti-mut: #5c5c5c; --hti-line: #e7e7e7; --hti-bg: #f5f5f5;
  --hti-f: 'Roboto', 'Inter', Arial, sans-serif; }
body, p, li, a, span, div, input, select, textarea, button, label, h1, h2, h3, h4, h5, h6, .nav > li > a { font-family: var(--hti-f) !important; }
body { background: var(--hti-bg); }
#main, .home #main { background-color: var(--hti-bg) !important; background-image: none !important; }
.hti-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
.hti-mi { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
#button-contact-vr, .button-contact-vr, #zalo-vr, #phone-vr, .absolute-footer, .float-contact, .hotline-phone-ring-wrap { display: none !important; }

/* ---------- header ---------- */
#top-bar { background: var(--hti-dk) !important; }
#top-bar .flex-left { flex: 1 1 auto; justify-content: center; }
#top-bar .nav-left { justify-content: center; }
.hti-tb { display: flex; gap: 56px; justify-content: center; }
.hti-tb span + span::before { content: ""; position: absolute; left: -28px; top: 3px; bottom: 3px; width: 1px; background: #6a6a6a; }
.hti-tb span { position: relative; display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 14.5px; font-weight: 500; }
.hti-tb .hti-mi { width: 19px; height: 19px; background: #fff; }
#header .header-main { background: #fff !important; border-bottom: 0; }
#header .header-wrapper { box-shadow: none !important; border-bottom: 0 !important; }
#logo { width: auto !important; margin: 0 40px 0 0 !important; top: 0 !important; }
#header #logo a { display: inline-flex; align-items: center; gap: 13px; font-size: 30px !important; font-weight: 700 !important; color: var(--hti-dk) !important; text-transform: none !important; letter-spacing: -.01em; line-height: 1; white-space: nowrap; top: 0; margin: 0; }
#header #logo a::before { content: ""; width: 48px; height: 48px; flex: 0 0 48px; background: url("icons/logo.png") center/contain no-repeat; }
#header .header-main .flex-left { flex: 1 1 auto; }
#header .header-search-form { width: 596px !important; max-width: 596px !important; }
#header .header-search-form .searchform-wrapper, #header .header-search-form form { width: 100%; }
#header .header-search-form form, #header .header-search-form .searchform, #header .header-search-form .searchform-wrapper { margin: 0 !important; }
#header li.header-search-form { display: flex; align-items: center; margin: 0 !important; }
#header li.header-search-form > div, #header li.header-search-form .header-search-form-wrapper, #header li.header-search-form .searchform-wrapper { width: 100%; flex: 1 1 auto; }
#header .header-search-form .flex-row { align-items: stretch; }
#header .header-search-form input[type=search] { height: 44px !important; border: 1px solid #dcdcdc !important; border-right: 0 !important; border-radius: 4px 0 0 4px !important; box-shadow: none !important; font-size: 15px; padding: 0 16px; background: #fff; }
#header .header-search-form button.ux-search-submit { width: 50px; height: 44px; min-height: 44px; border-radius: 0 4px 4px 0 !important; background: var(--hti-o) !important; color: #fff !important; margin: 0; }
#header .header-search-form button.ux-search-submit i { font-size: 19px; }
#header .flex-right .header-nav-main { flex-wrap: nowrap; align-items: center; }
#header .flex-right .header-nav-main > li { margin: 0 !important; }
#header .flex-right li.html { display: flex; align-items: center; gap: 34px; }
#header .hti-hd { display: inline-flex !important; align-items: center; gap: 10px; color: var(--hti-dk) !important; font-size: 15.5px !important; font-weight: 500; white-space: nowrap; padding: 0 !important; line-height: 1 !important; position: relative; }
.hti-hd .hti-mi { width: 25px; height: 25px; background: var(--hti-dk); }
#header .hti-hd-ph { font-size: 17.5px !important; font-weight: 700; } .hti-hd-ph .hti-mi { background: var(--hti-o); width: 24px; height: 24px; }
.hti-hd-cart i { position: absolute; right: -19px; top: -15px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--hti-o); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hti-hd:hover { color: var(--hti-o) !important; }
#header .hti-hd-cart { margin-right: 18px; }
#header .header-bottom { background: var(--hti-dk) !important; min-height: 44px; border: 0 !important; }
#header .header-bottom-nav { flex-wrap: nowrap; }
#header .header-bottom-nav > li { margin: 0 46px 0 0 !important; }
#header .header-bottom-nav > li > a { color: #fff !important; font-size: 16.5px !important; font-weight: 500 !important; text-transform: none !important; padding: 0 !important; line-height: 44px !important; flex-wrap: nowrap !important; white-space: nowrap; position: relative; }
#header .header-bottom-nav > li > a::before, #header .header-bottom-nav > li > a::after { display: none !important; }
#header .header-bottom-nav > li:first-child > a { font-weight: 700 !important; }
#header .header-bottom-nav > li:first-child > a::after { content: "" !important; display: block !important; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hti-o); top: auto; width: auto; opacity: 1; }
#header .header-bottom-nav > li > a:hover { color: var(--hti-o) !important; }
#header .header-bottom-nav .icon-angle-down { color: #fff; opacity: .9; margin-left: 5px; }
#header .nav-dropdown { border-top: 3px solid var(--hti-o); }
#header .nav-dropdown li a { font-size: 15px; color: var(--hti-ink) !important; text-transform: none; }
#header .mobile-nav i, #header .mobile-nav .icon-menu { color: var(--hti-dk) !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a { background: transparent !important; color: var(--hti-dk) !important; }

/* ---------- chung ---------- */
.section.hti-sec, .section.hti-footer { padding: 0 !important; }
.hti-sec .col, .hti-footer .col { padding-bottom: 0 !important; }
.hti-sec p:not([class]), .hti-footer p:not([class]) { display: contents; }
.hti-h2 { font-size: 29px; line-height: 1.2; font-weight: 700; color: var(--hti-ink); margin: 0; letter-spacing: -.01em; }
.hti-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hti-head h2 { flex: 0 0 auto; width: fit-content; }
.hti-sec h3 a { color: inherit !important; }
img[src=""] { visibility: hidden; }
.hti-pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hti-now { font-size: 21px; font-weight: 700; color: var(--hti-o2); }
.hti-pr del { font-size: 15.5px; color: #8e8e8e; }

/* ---------- hero 3 banner + danh mục ---------- */
.section.hti-hero-sec { padding: 19px 0 0 !important; }
.hti-hero { display: grid; grid-template-columns: 872fr 483fr; gap: 12px; height: 422px; }
.hti-hero > * { min-width: 0; }
.hti-hb { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #efe6dc; color: var(--hti-ink) !important; }
.hti-hb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hti-hb-in { position: relative; z-index: 1; }
.hti-hb-main .hti-hb-in { padding: 58px 0 0 52px; }
.hti-h1 { font-size: 50px; line-height: 1.24; font-weight: 700; color: var(--hti-ink) !important; margin: 0; letter-spacing: -.01em; }
.hti-hb-s { font-size: 22px; color: #2b2b2b; margin-top: 16px; }
.hti-btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 28px; margin-top: 30px; background: var(--hti-o); color: #fff; border-radius: 4px; font-size: 18px; font-weight: 500; }
.hti-btn .hti-ic { font-size: 20px; }
.hti-hb-main:hover .hti-btn { background: var(--hti-o2); }
.hti-hb-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.hti-hb-sm .hti-hb-in { padding: 24px 0 0 32px; }
.hti-hb-t { font-size: 29px; line-height: 1.2; font-weight: 700; color: var(--hti-ink) !important; margin: 0; }
.hti-hb-p { font-size: 16px; line-height: 1.45; color: #3c3c3c; margin-top: 10px; }
.hti-hb-l { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--hti-o2); }
.hti-cats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; padding: 17px 0 16px; }
.hti-cats > * { min-width: 0; }
.hti-cat { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--hti-ink) !important; text-align: center; }
.hti-cat-ic { width: 62px; height: 62px; border-radius: 50%; background: #ffe9d3; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hti-cat-ic img { width: 36px; height: 36px; }
.hti-cat-n { font-size: 15.5px; line-height: 1.3; }
.hti-cat:hover .hti-cat-ic { background: #ffd6ad; }

/* ---------- deal ---------- */
.section.hti-deal-sec { padding: 0 0 16px !important; }
.hti-deal { background: var(--hti-o); border-radius: 8px; padding: 0 9px 9px; }
.hti-deal-hd { display: flex; align-items: center; gap: 28px; height: 79px; padding: 0 16px 0 15px; }
.hti-deal-t { display: flex; align-items: center; gap: 14px; color: #fff; margin-right: 22px; }
.hti-deal-t .hti-ic { font-size: 42px; stroke-width: 2; }
.hti-deal-t h2 { font-size: 30px; font-weight: 700; color: #fff !important; margin: 0; white-space: nowrap; }
.hti-slots { display: flex; gap: 5px; }
.hti-slot { width: 108px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1.5px solid #fff; border-radius: 6px; color: #fff !important; font-size: 22px; font-weight: 500; }
.hti-slot.is-on { background: #fff; color: var(--hti-o2) !important; font-weight: 700; }
.hti-cd { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; }
.hti-cd span { font-size: 18px; font-weight: 500; margin-right: 12px; }
.hti-cd b { width: 47px; height: 44px; border-radius: 5px; background: #2b2b2b; color: #fff; font-size: 26px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.hti-cd i { font-style: normal; font-size: 24px; font-weight: 700; }
.hti-deal-all { color: #fff !important; font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; margin-left: 50px; white-space: nowrap; }
.hti-dset { display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hti-dset.is-on { display: grid; }
.hti-dset > * { min-width: 0; }
.hti-dc { background: #fff; border-radius: 6px; overflow: hidden; }
.hti-dc-img { display: block; height: 200px; background: #fff; }
.hti-dc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hti-dc-b { padding: 8px 14px 14px; }
.hti-dc-n { font-size: 16.5px; line-height: 1.32; font-weight: 400; color: var(--hti-ink); margin: 0 0 8px; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hti-bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hti-bar-t { flex: 1; height: 10px; border-radius: 5px; background: #efefef; overflow: hidden; }
.hti-bar-t i { display: block; height: 100%; background: linear-gradient(90deg, #ffae4d, var(--hti-o)); border-radius: 5px; }
.hti-bar-l { font-size: 13.5px; color: #666; white-space: nowrap; }

/* ---------- giải pháp ---------- */
.section.hti-sol-sec { padding: 0 0 18px !important; }
.hti-sols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hti-sols > * { min-width: 0; }
.hti-sol { background: #fff; border: 1px solid var(--hti-line); border-radius: 6px; padding: 14px 17px 17px; }
.hti-sol-t { font-size: 21px; line-height: 1.25; font-weight: 700; margin: 0 0 12px; color: var(--hti-ink); }
.hti-sol-img { display: block; height: 186px; border-radius: 4px; overflow: hidden; background: #eee; }
.hti-sol-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hti-sts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 11px; }
.hti-st { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #f3f3f3; border: 1px solid #eee; }
.hti-st img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- sản phẩm ---------- */
.section.hti-prod-sec { padding: 6px 0 22px !important; }
.hti-prod-sec .hti-head { justify-content: flex-start; gap: 82px; }
.hti-ftabs { display: flex; gap: 12px; }
.hti-ftab { height: 38px; padding: 0 20px; display: flex; align-items: center; border-radius: 5px; background: #ececec; color: #3c3c3c !important; font-size: 15px; }
.hti-ftab.is-on { background: var(--hti-o); color: #fff !important; font-weight: 500; }
.hti-pcs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.hti-pcs > * { min-width: 0; }
.hti-pc { background: #fff; border: 1px solid var(--hti-line); border-radius: 6px; padding: 7px 9px 11px; }
.hti-pc-img { position: relative; display: block; height: 158px; background: #f3f3f3; border-radius: 4px; overflow: hidden; }
.hti-pc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hti-tag { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; background: #fff; border: 1px solid #f4b36c; border-radius: 3px; color: var(--hti-o2); font-size: 12.5px; font-weight: 500; }
.hti-tag .hti-ic { font-size: 14px; }
.hti-pc-n { font-size: 16.5px; line-height: 1.32; font-weight: 400; color: var(--hti-ink); margin: 10px 4px 5px; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hti-pc .hti-pr { margin: 0 4px; }
.hti-add { display: flex; align-items: center; justify-content: center; gap: 9px; height: 42px; margin: 10px 4px 0; border: 1.5px solid var(--hti-o); border-radius: 5px; color: var(--hti-o2) !important; font-size: 16px; font-weight: 500; }
.hti-add .hti-ic { font-size: 20px; }
.hti-add:hover { background: var(--hti-o); color: #fff !important; }
.hti-more-w { text-align: center; margin-top: 15px; }
.hti-more { display: inline-flex; align-items: center; gap: 10px; height: 47px; padding: 0 42px; border: 1.5px solid var(--hti-o); border-radius: 5px; background: #fff; color: var(--hti-o2) !important; font-size: 16.5px; font-weight: 500; }
.hti-more:hover { background: var(--hti-o); color: #fff !important; }
.hti-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 6px; margin-top: 22px; padding: 8px 0; }
.hti-svcs > * { min-width: 0; }
.hti-svc { display: flex; align-items: center; gap: 22px; padding: 0 0 0 54px; }
.hti-svc + .hti-svc { border-left: 1px solid var(--hti-line); }
.hti-svc img { width: 60px; height: 60px; flex: 0 0 60px; }
.hti-svc b { display: block; font-size: 20px; font-weight: 700; color: var(--hti-ink); }
.hti-svc span { display: block; font-size: 15px; color: var(--hti-mut); margin-top: 5px; }

/* ---------- mẹo hay ---------- */
.section.hti-blog-sec { padding: 4px 0 22px !important; }
.hti-all { color: var(--hti-o2) !important; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.hti-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 13px; }
.hti-posts > * { min-width: 0; }
.hti-post { background: #fff; border-radius: 6px; overflow: hidden; padding: 7px 7px 0; }
.hti-post-img { display: block; height: 160px; border-radius: 4px; overflow: hidden; background: #eee; }
.hti-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hti-post-b { padding: 9px 11px 12px; }
.hti-post-t { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--hti-ink); margin: 0 0 3px; }
.hti-post-e { font-size: 15px; line-height: 1.4; color: var(--hti-mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hti-post-m { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--hti-o2) !important; font-size: 15.5px; font-weight: 700; }

/* ---------- nhận ưu đãi ---------- */
.section.hti-nl-sec { padding: 0 !important; }
.hti-nl { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 88px; padding: 12px 0; }
.hti-nl-l { display: flex; align-items: center; gap: 36px; padding-left: 26px; }
.hti-nl-ic { width: 62px; height: 62px; }
.hti-nl-h { font-size: 21px; font-weight: 700; color: var(--hti-ink); margin: 0; }
.hti-nl-s { font-size: 15px; color: #3c3c3c; margin-top: 4px; }
.hti-nl-f { width: 600px; margin-right: 102px; }
.hti-nl-f .wpcf7 form > div, .hti-nl-f .wpcf7 p { margin: 0; }
.hti-nlf { display: flex; gap: 6px; }
.hti-nlf .wpcf7-form-control-wrap { flex: 1; }
.hti-nl-f input[type=email] { width: 100%; height: 44px; margin: 0; border: 1px solid #f1d6bb !important; border-radius: 4px; box-shadow: none !important; background: #fff; font-size: 15px; padding: 0 16px; }
.hti-nl-f button.hti-nlb { height: 44px; min-height: 44px; width: 112px; margin: 0; border: 0; border-radius: 4px; background: var(--hti-o) !important; color: #fff !important; font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 44px; padding: 0; }
.hti-nl-f .wpcf7-spinner { position: absolute; }
.hti-nl-f .wpcf7-response-output { margin: 6px 0 0 !important; font-size: 13px; }

/* ---------- footer ---------- */
#footer .section.hti-footer { border-top: 0 !important; }
.section.hti-footer { padding: 18px 0 0 !important; }
.hti-ft { display: grid; grid-template-columns: 437fr 299fr 349fr 282fr; }
.hti-ft > * { min-width: 0; }
.hti-ft-brand { padding-left: 24px; }
.hti-ft-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; }
.hti-ft-logo img { width: 48px; height: 48px; }
.hti-ft-logo span { font-size: 29px; font-weight: 700; }
.hti-ft-tag { font-size: 15px; line-height: 1.55; color: #ddd; margin-top: 12px; }
.hti-soc { display: flex; gap: 22px; margin-top: 18px; }
.hti-soc a { color: #fff !important; font-size: 24px; display: inline-flex; }
.hti-soc a:hover { color: var(--hti-o) !important; }
.hti-ft-col h4 { font-size: 18px; font-weight: 700; color: var(--hti-o) !important; margin: 4px 0 12px; text-transform: none; letter-spacing: 0; }
.hti-ft-col ul { list-style: disc; margin: 0 0 0 18px; padding: 0; color: #ddd; }
.hti-ft-col li { margin: 0 0 3px; font-size: 15px; line-height: 1.5; }
.hti-ft-col li a { color: #e6e6e6 !important; }
.hti-ft-col li a:hover, .hti-ft-ct a:hover { color: var(--hti-o) !important; }
.hti-ft-btn { display: inline-flex; align-items: center; justify-content: center; width: 188px; height: 38px; margin-top: 12px; background: var(--hti-o); color: #fff !important; border-radius: 4px; font-size: 16px; font-weight: 500; }
.hti-ft-ct a, .hti-ft-ct > div { display: flex; align-items: flex-start; gap: 14px; color: #e6e6e6 !important; font-size: 15px; line-height: 1.5; margin-bottom: 9px; }
.hti-ft-ct .hti-ic { font-size: 19px; color: #fff; margin-top: 2px; }
.hti-fbar { border-top: 1px solid #444; margin-top: 8px; padding: 8px 0 10px; text-align: center; font-size: 14px; color: #cfcfcf; }
.hti-footer a[href^="mailto"] span { overflow-wrap: anywhere; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header #logo a { font-size: 22px !important; gap: 8px; }
  #header #logo a::before { width: 32px; height: 32px; flex-basis: 32px; }
  #logo { margin: 0 !important; }
  .hti-tb { gap: 16px; } .hti-tb span { font-size: 12px; gap: 5px; } .hti-tb .hti-mi { width: 14px; height: 14px; }
  #header .header-inner > .show-for-medium.flex-left, #header .header-inner > .show-for-medium.flex-right { flex: 1 1 0; margin: 0 !important; }
  #header .header-inner > #logo { flex: 0 0 auto; }
  #header .header-inner > .show-for-medium.flex-right .mobile-nav { justify-content: flex-end; }
  .section.hti-hero-sec { padding-top: 12px !important; }
  .hti-hero { grid-template-columns: minmax(0, 1fr); height: auto; gap: 10px; }
  .hti-hb-main { padding-top: 220px; background: #fff4e8; }
  .hti-hb-main .hti-hb-bg { height: 220px; bottom: auto; object-position: 72% 50%; }
  .hti-hb-main .hti-hb-in { padding: 20px 18px 24px; }
  .hti-h1 { font-size: 30px; } .hti-hb-s { font-size: 17px; margin-top: 10px; } .hti-btn { margin-top: 18px; height: 46px; font-size: 16px; }
  .hti-hb-side { grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
  .hti-hb-sm { height: 170px; } .hti-hb-sm .hti-hb-in { padding: 18px 0 0 18px; width: 58%; }
  .hti-hb-sm .hti-hb-bg { object-position: 75% 50%; }
  .hti-hb-t { font-size: 21px; } .hti-hb-p { font-size: 14px; } .hti-hb-l { font-size: 14px; }
  .hti-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 6px; }
  .hti-cat-ic { width: 52px; height: 52px; } .hti-cat-ic img { width: 30px; height: 30px; } .hti-cat-n { font-size: 12.5px; }
  .hti-deal { padding: 0 6px 6px; }
  .hti-deal-hd { flex-wrap: wrap; height: auto; gap: 10px 8px; padding: 14px 6px; }
  .hti-deal-t { margin-right: 0; width: 100%; } .hti-deal-t h2 { font-size: 23px; } .hti-deal-t .hti-ic { font-size: 30px; }
  .hti-slot { width: 70px; height: 38px; font-size: 16px; }
  .hti-cd { margin-left: 0; } .hti-cd span { display: none; } .hti-cd b { width: 34px; height: 34px; font-size: 18px; }
  .hti-deal-all { margin-left: 0; font-size: 14px; }
  .hti-dset.is-on { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hti-dset > .hti-dc:nth-child(5) { display: none; }
  .hti-dc-img { height: 150px; } .hti-dc-b { padding: 8px 10px 12px; } .hti-dc-n { font-size: 14px; min-height: 37px; }
  .hti-now { font-size: 17px; } .hti-pr del { font-size: 13px; } .hti-bar-l { font-size: 11.5px; }
  .hti-h2 { font-size: 23px; }
  .hti-sols { grid-template-columns: minmax(0, 1fr); }
  .hti-prod-sec .hti-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hti-ftabs { gap: 8px; overflow-x: auto; max-width: 100%; } .hti-ftab { padding: 0 14px; height: 34px; font-size: 14px; white-space: nowrap; }
  .hti-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hti-pc-img { height: 140px; } .hti-pc-n { font-size: 14px; min-height: 37px; } .hti-add { height: 40px; font-size: 14px; }
  .hti-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding: 18px 0; }
  .hti-svc { padding: 0 10px; gap: 10px; } .hti-svc + .hti-svc { border-left: 0; }
  .hti-svc img { width: 40px; height: 40px; flex-basis: 40px; } .hti-svc b { font-size: 15px; } .hti-svc span { font-size: 12.5px; }
  .hti-posts { grid-template-columns: minmax(0, 1fr); }
  .hti-nl { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 0; }
  .hti-nl-l { padding-left: 0; gap: 14px; } .hti-nl-ic { width: 44px; height: 44px; }
  .hti-nl-f { width: auto; margin: 0; }
  .hti-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 16px; }
  .hti-ft-brand, .hti-ft-ct { grid-column: 1 / -1; padding-left: 0; }
}

/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-search-form { width: 420px !important; max-width: 420px !important; }
  #header .flex-right li.html { gap: 20px; }
  #header .header-bottom .header-bottom-nav > li { margin: 0 30px 0 0 !important; }
  .hti-hero { height: 380px; } .hti-h1 { font-size: 42px; }
  .hti-cd span { display: none; } .hti-deal-all { margin-left: 10px; } .hti-deal-hd { gap: 16px; }
  .hti-svc { padding-left: 24px; gap: 14px; }
  .hti-nl-f { width: 480px; margin-right: 0; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header .header-search-form { width: 300px !important; max-width: 300px !important; }
  #header .flex-right li.html { gap: 14px; } .hti-hd-ph { display: none !important; }
  #logo { margin-right: 16px !important; }
  #header .header-bottom .header-bottom-nav > li { margin: 0 20px 0 0 !important; } #header .header-bottom .header-bottom-nav > li > a { font-size: 15px !important; }
  #header .header-main .flex-right li.html.html_top_right_text { display: flex !important; }
  #header .header-main li.header-search-form.search-form { display: flex !important; }
  .hti-hero { height: 340px; } .hti-hb-main .hti-hb-in { padding: 40px 0 0 34px; } .hti-h1 { font-size: 36px; }
  .hti-hb-sm .hti-hb-in { padding: 18px 0 0 22px; } .hti-hb-t { font-size: 22px; } .hti-hb-p { font-size: 14px; }
  .hti-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 8px; }
  .hti-deal-hd { flex-wrap: wrap; height: auto; padding: 14px 10px; } .hti-deal-t h2 { font-size: 26px; }
  .hti-dset.is-on { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hti-sols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hti-pcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hti-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .hti-svc + .hti-svc { border-left: 0; }
  .hti-nl { flex-wrap: wrap; } .hti-nl-f { width: 100%; }
  .hti-ft { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 0 16px; } .hti-ft-brand { padding-left: 0; }
}
/* /mid-fix */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
