/* Đồ Thờ Hưng Gia (bantho) — trang chủ theo mockup bantho-home/mockups/home-desktop-v4.png (hướng B; 805px -> 1440 = x1.789) */
:root { --htg-r: #9f1218; --htg-r2: #7f0d12; --htg-nv: #1f2b4a; --htg-ink: #1c1c1c; --htg-mut: #5f5f5f; --htg-line: #e8e3dc; --htg-cream: #faf7f2; --htg-beige: #f6f1e8;
  --htg-f: 'Be Vietnam Pro', 'Inter', Arial, sans-serif; --htg-s: 'Noto Serif', Georgia, serif; }
body, p, li, a, span, div, input, select, textarea, button, label, .nav > li > a { font-family: var(--htg-f) !important; }
h1, h2, h3, h4, h5, h6 { font-family: var(--htg-s) !important; }
h1 a, h2 a, h3 a, h4 a { font-family: inherit !important; }
body { background: #fff; }
#main, .home #main { background-color: #fff !important; background-image: none !important; }
.htg-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
#button-contact-vr, .button-contact-vr, #zalo-vr, #phone-vr, .absolute-footer, .float-contact, .hotline-phone-ring-wrap, .devvn-popup-quickbuy-btn { display: none !important; }

/* ---------- header ---------- */
#top-bar { background: var(--htg-nv) !important; }
#top-bar .flex-left { flex: 1 1 auto; justify-content: center; }
#top-bar .nav-left { justify-content: center; }
.htg-tb { display: flex; gap: 58px; justify-content: center; align-items: center; }
.htg-tb span { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.htg-tb span + span::before { content: ""; position: absolute; left: -29px; top: 3px; bottom: 3px; width: 1px; background: rgba(255, 255, 255, .55); }
.htg-tb .htg-ic { font-size: 17px; color: #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 64px 0 0 !important; top: 0 !important; }
#header #logo a { display: grid !important; grid-template-columns: 102px auto; grid-template-rows: auto auto; column-gap: 15px; align-items: end; font-family: var(--htg-s) !important; font-size: 28px !important; font-weight: 700 !important; color: var(--htg-r) !important; text-transform: none !important; letter-spacing: -.005em; line-height: 1.05; white-space: nowrap; top: 0; margin: 0; }
#header #logo a::before { content: ""; grid-row: 1 / 3; width: 102px; height: 70px; background: url("icons/logo.png") center/contain no-repeat; align-self: center; }
#header #logo a::after { content: "Đồ thờ gỗ tự nhiên"; grid-column: 2; align-self: start; font-family: var(--htg-f); font-size: 16px; font-weight: 400; color: #4b4b4b; letter-spacing: 0; margin-top: 4px; text-transform: none; position: static; }
#header .header-main .flex-left { flex: 1 1 auto; }
#header .header-search-form { width: 472px !important; max-width: 472px !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: 40px !important; border: 1px solid #d9d4cd !important; border-right: 0 !important; border-radius: 3px 0 0 3px !important; box-shadow: none !important; font-size: 14.5px; padding: 0 14px; background: #fff; }
#header .header-search-form button.ux-search-submit { width: 54px; height: 40px; min-height: 40px; border-radius: 0 3px 3px 0 !important; background: var(--htg-r) !important; color: #fff !important; margin: 0; }
#header .header-search-form button.ux-search-submit i { font-size: 18px; }
#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: 58px; }
#header .htg-hd { display: inline-flex !important; align-items: center; gap: 11px; color: var(--htg-r) !important; font-size: 19px !important; font-weight: 700; white-space: nowrap; padding: 0 !important; line-height: 1 !important; position: relative; }
#header .htg-hd .htg-ic { font-size: 25px; }
#header .htg-hd-cart .htg-ic { font-size: 34px; stroke-width: 1.7; }
.htg-hd-cart i { position: absolute; right: -11px; top: -10px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--htg-r); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
#header .htg-hd:hover { color: var(--htg-r2) !important; }
#header .htg-hd-cart { margin-right: 10px; }
#header .header-bottom { background: var(--htg-r) !important; min-height: 46px; border: 0 !important; }
#header .header-bottom .flex-center { flex: 1 1 auto; }
#header .header-bottom-nav { flex-wrap: nowrap; justify-content: space-between; width: 100%; max-width: 1170px; margin: 0 auto; }
#header .header-bottom-nav > li { margin: 0 !important; }
#header .header-bottom-nav > li > a { color: #fff !important; font-size: 17px !important; font-weight: 600 !important; text-transform: none !important; padding: 0 !important; line-height: 46px !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 > a:hover { color: #ffe3c2 !important; }
#header .header-bottom-nav .icon-angle-down { color: #fff; opacity: .9; margin-left: 5px; }
#header .nav-dropdown { border-top: 3px solid var(--htg-r); }
#header .nav-dropdown li a { font-size: 15px; color: var(--htg-ink) !important; text-transform: none; }
#header .mobile-nav i, #header .mobile-nav .icon-menu, #header .mobile-nav .cart-icon, #header .mobile-nav .icon-shopping-cart { color: var(--htg-r) !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a, #header .mobile-nav .header-cart-link { background: transparent !important; color: var(--htg-r) !important; }

/* ---------- chung ---------- */
.section.htg-sec, .section.htg-footer { padding: 0 !important; }
.htg-sec .col, .htg-footer .col { padding-bottom: 0 !important; }
.htg-sec p:not([class]), .htg-footer p:not([class]) { display: contents; }
.htg-h2 { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--htg-ink) !important; margin: 0; position: relative; padding-bottom: 14px; }
.htg-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--htg-r); }
.htg-h2-c { text-align: center; } .htg-h2-c::after { left: 50%; margin-left: -36px; width: 72px; }
.htg-h2-n { padding-bottom: 0; } .htg-h2-n::after { display: none; }
.htg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.htg-head h2 { flex: 0 0 auto; width: fit-content; }
.htg-more { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--htg-r) !important; font-size: 15.5px; font-weight: 500; padding-bottom: 12px; }
.htg-sec h3 a { color: inherit !important; }
img[src=""] { visibility: hidden; }
.htg-btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px; background: var(--htg-r); color: #fff !important; border-radius: 4px; font-size: 18px; font-weight: 600; box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.htg-btn .htg-ic { font-size: 20px; }
.htg-btn:hover { background: var(--htg-r2); }

/* ---------- hero ---------- */
.htg-hero-sec .row, .htg-band-sec .row { max-width: none !important; }
.htg-hero-sec .col, .htg-band-sec .col { padding: 0 !important; }
.htg-hero { display: grid; grid-template-columns: 963fr 465fr; gap: 12px; height: 470px; }
.htg-hero > * { min-width: 0; }
.htg-hb { position: relative; display: block; overflow: hidden; background: #6b4a33; color: #fff !important; }
.htg-hb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.htg-hb-in { position: relative; z-index: 1; }
.htg-hb-main::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(40, 20, 10, .45) 0%, rgba(40, 20, 10, .18) 38%, rgba(40, 20, 10, 0) 55%); }
.htg-hb-main .htg-hb-in { z-index: 2; padding: 103px 0 0 154px; }
.htg-h1 { font-size: 52px; line-height: 1.12; font-weight: 700; color: #fff !important; margin: 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.htg-hb-main .htg-btn { margin-top: 28px; }
.htg-hb-main:hover .htg-btn { background: var(--htg-r2); }
.htg-hb-side { display: grid; grid-template-rows: 214fr 247fr; gap: 9px; }
.htg-hb-1 { background: #f2ebe2; }
.htg-hb-1 .htg-hb-in { padding: 104px 0 0 24px; }
.htg-hb-1 .htg-hb-t { font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--htg-ink) !important; margin: 0; }
.htg-hb-p { font-size: 19px; font-weight: 700; color: var(--htg-r); margin-top: 8px; font-family: var(--htg-s) !important; }
.htg-hb-2::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(25, 12, 5, .62) 0%, rgba(25, 12, 5, .1) 50%, rgba(25, 12, 5, 0) 70%); }
.htg-hb-2 .htg-hb-in { z-index: 2; position: absolute; left: 24px; bottom: 26px; }
.htg-hb-2 .htg-hb-t { font-size: 26px; line-height: 1.25; font-weight: 600; color: #fff !important; margin: 0; }

/* ---------- cam kết + danh mục ---------- */
.section.htg-cat-sec { padding: 21px 0 26px !important; }
.htg-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 8px; }
.htg-trust > * { min-width: 0; }
.htg-tr { display: flex; align-items: center; gap: 18px; height: 93px; padding: 0 12px 0 32px; background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(60, 40, 20, .08); }
.htg-tr img { width: 62px; height: 62px; flex: 0 0 62px; }
.htg-tr b { display: block; font-family: var(--htg-s) !important; font-size: 16px; font-weight: 700; color: var(--htg-ink); line-height: 1.3; }
.htg-tr span { display: block; font-size: 12px; color: var(--htg-mut); line-height: 1.4; margin-top: 7px; white-space: nowrap; }
.htg-cat-sec .htg-h2-c { margin-top: 30px; }
.htg-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.htg-cats > * { min-width: 0; }
.htg-cat { display: block; color: var(--htg-ink) !important; text-align: center; }
.htg-cat-img { display: block; height: 198px; background: #e8e8e8; overflow: hidden; }
.htg-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.htg-cat:hover .htg-cat-img img { transform: scale(1.04); }
.htg-cat-n { display: block; font-size: 16px; font-weight: 600; margin-top: 13px; }

/* ---------- thẻ sản phẩm ---------- */
.section.htg-p1-sec { padding: 22px 0 24px !important; }
.htg-pcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.htg-pcs > * { min-width: 0; }
.htg-pc { background: #fff; border: 1px solid #ede9e3; display: flex; flex-direction: column; }
.htg-pc-img { display: block; height: 192px; background: #e8e8e8; overflow: hidden; }
.htg-pcs-s .htg-pc-img { height: 215px; }
.htg-pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htg-pc-b { padding: 15px 12px 12px; text-align: center; }
.htg-pc-n { font-family: var(--htg-f) !important; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--htg-ink); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htg-pc-sku { font-size: 13px; color: #6d6d6d; margin-top: 4px; }
.htg-pc-pr { font-size: 18.5px; font-weight: 700; color: var(--htg-r); margin-top: 6px; }
.htg-pc-btn { display: inline-flex; align-items: center; justify-content: center; width: 130px; height: 35px; margin-top: 9px; border: 1.5px solid var(--htg-r); border-radius: 4px; color: var(--htg-r) !important; font-size: 15px; font-weight: 600; }
.htg-pc-btn:hover { background: var(--htg-r); color: #fff !important; }

/* ---------- dải thiết kế phòng thờ ---------- */
.htg-band { position: relative; height: 255px; overflow: hidden; background: #3b2316; }
.htg-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.htg-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30, 14, 6, .62) 0%, rgba(30, 14, 6, .35) 40%, rgba(30, 14, 6, 0) 62%); }
.htg-band-in { position: relative; z-index: 2; max-width: 1272px; margin: 0 auto; padding: 42px 0 0 6px; }
.htg-band-t { font-size: 39px; line-height: 1.38; font-weight: 700; color: #fff !important; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.htg-band .htg-btn { margin-top: 20px; height: 52px; font-size: 18.5px; padding: 0 24px; }

/* ---------- bàn thờ đứng + công trình ---------- */
.section.htg-p2-sec { padding: 22px 0 24px !important; }
.htg-head-w { margin-top: 18px; }
.htg-works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.htg-works > * { min-width: 0; }
.htg-wk { display: block; text-align: center; color: var(--htg-ink) !important; }
.htg-wk-img { display: block; height: 161px; overflow: hidden; background: #e8e2da; }
.htg-wk-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.htg-wk:hover .htg-wk-img img { transform: scale(1.04); }
.htg-wk-n { display: block; font-family: var(--htg-s) !important; font-size: 19px; font-weight: 700; margin-top: 11px; }

/* ---------- quy trình + form ---------- */
.section.htg-proc-sec { padding: 20px 0 18px !important; }
.htg-proc { display: grid; grid-template-columns: minmax(0, 1fr) 491px; gap: 40px; align-items: start; }
.htg-proc-l { padding: 16px 0 0 18px; }
.htg-proc .htg-h2-n { font-size: 30px; }
.htg-steps { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px 0; margin-top: 20px; }
.htg-st { display: flex; align-items: flex-start; gap: 18px; }
.htg-st b { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: var(--htg-r); color: #fff; font-family: var(--htg-s); font-size: 23px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.htg-st h3 { font-size: 20px; font-weight: 600; color: var(--htg-ink); margin: 0 0 8px; line-height: 1.3; }
.htg-st span { display: block; font-size: 14px; line-height: 1.5; color: var(--htg-mut); }
.htg-form { background: #fff; border-radius: 6px; padding: 20px 26px 22px; box-shadow: 0 2px 14px rgba(70, 45, 20, .07); }
.htg-form-t { font-size: 23px; font-weight: 700; color: var(--htg-ink); margin: 0; }
.htg-form-s { font-size: 14.5px; color: var(--htg-mut); margin: 5px 0 14px; }
.htg-cf7 .htg-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.htg-cf7 .htg-g2 > p { display: contents; }
.htg-cf7 .wpcf7-form-control-wrap { display: block; }
.htg-form form.htg-cf7 { margin: 0 !important; }
.htg-cf7 input[type=text], .htg-cf7 input[type=tel], .htg-cf7 select { height: 39px !important; border: 1px solid #ddd8d0 !important; border-radius: 4px !important; box-shadow: none !important; font-size: 14.5px !important; padding: 0 14px !important; margin: 0 !important; width: 100%; background-color: #fff; color: #333; }
.htg-cf7 select { margin-top: 12px !important; }
.htg-cf7 .htg-sel { margin-top: 12px; }
.htg-cf7 .htg-sel select { margin-top: 0 !important; }
.htg-cf7 button.htg-sub { width: 100%; height: 39px; margin: 13px 0 0; background: var(--htg-r); color: #fff; border: 0; border-radius: 4px; font-size: 15.5px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.htg-cf7 button.htg-sub:hover { background: var(--htg-r2); }
.htg-cf7 .wpcf7-spinner { position: absolute; right: 12px; margin: 0; }
.htg-cf7 form { position: relative; }
.htg-cf7 .wpcf7-response-output { margin: 12px 0 0 !important; font-size: 13.5px; }

/* ---------- cẩm nang ---------- */
.section.htg-blog-sec { padding: 22px 0 22px !important; }
.htg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 14px; }
.htg-posts > * { min-width: 0; }
.htg-post { background: #fff; border: 1px solid #efebe5; }
.htg-post-img { display: block; height: 163px; overflow: hidden; background: #ebe4da; }
.htg-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.htg-post:hover .htg-post-img img { transform: scale(1.04); }
.htg-post-b { padding: 11px 14px 12px; }
.htg-post-t { font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--htg-ink); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htg-post-m { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--htg-r) !important; font-size: 15px; }

/* ---------- footer ---------- */
#footer { background: var(--htg-nv) !important; margin-top: 0 !important; padding: 0 !important; }
.section.htg-footer { padding: 21px 0 0 !important; }
.htg-ft { display: grid; grid-template-columns: 343px 233px 233px 268px minmax(0, 1fr); gap: 0; align-items: start; padding-left: 0; }
.htg-ft > * { min-width: 0; }
.htg-ft-logo { display: inline-flex; align-items: center; gap: 14px; color: #f4e8d2 !important; }
.htg-ft-logo img { width: 92px; height: auto; }
.htg-ft-logo span { font-family: var(--htg-s) !important; font-size: 23px; font-weight: 600; }
.htg-ft-tag { font-size: 14.5px; line-height: 1.6; color: #e1e4ec; margin-top: 16px; }
.htg-soc { display: flex; gap: 28px; margin-top: 20px; }
.htg-soc a { color: #fff !important; font-size: 28px; display: inline-flex; }
.htg-soc a:hover { color: #e9c58a !important; }
.htg-ft-col h4 { font-family: var(--htg-f) !important; font-size: 17px; font-weight: 600; color: #fff !important; margin: 4px 0 14px; text-transform: none; letter-spacing: 0; }
.htg-ft-col ul { list-style: none; margin: 0; padding: 0; }
.htg-ft-col ul li { margin-left: 0 !important; }
.htg-ft-col li { margin: 0 0 3px; font-size: 14.5px; line-height: 1.55; }
.htg-ft-col li a { color: #dfe3ec !important; }
.htg-ft-col li a:hover, .htg-ft-ct a:hover { color: #e9c58a !important; }
.htg-ft-ct a, .htg-ft-ct > div { display: flex; align-items: flex-start; gap: 14px; color: #dfe3ec !important; font-size: 14.5px; line-height: 1.6; margin-bottom: 9px; }
.htg-ft-ct .htg-ic { font-size: 18px; color: #fff; margin-top: 3px; }
.htg-ft-map { display: flex; justify-content: flex-end; padding-top: 2px; }
.htg-ft-map iframe { width: 200px; height: 161px; border-radius: 3px; background: #dfe3ec; }
.htg-fbar { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 22px; padding: 12px 0 14px; text-align: center; font-size: 14px; color: #d3d8e3; }
.htg-footer a[href^="mailto"] span { overflow-wrap: anywhere; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header #logo a { grid-template-columns: 52px auto; column-gap: 8px; font-size: 21px !important; }
  #header #logo a::before { width: 52px; height: 36px; }
  #header #logo a::after { font-size: 11.5px; margin-top: 2px; }
  #logo { margin: 0 !important; }
  .htg-tb { gap: 0; } .htg-tb span { font-size: 12.5px; } .htg-tb span + span { display: none; }
  #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; }
  .htg-hero { grid-template-columns: minmax(0, 1fr); height: auto; gap: 10px; }
  .htg-hb-main { padding-top: 250px; background: var(--htg-nv); }
  .htg-hb-main::before { display: none; }
  .htg-hb-main .htg-hb-bg { height: 250px; bottom: auto; object-position: 66% 50%; }
  .htg-hb-main .htg-hb-in { padding: 22px 16px 26px; }
  .htg-h1 { font-size: 31px; } .htg-h1 br { display: none; }
  .htg-hb-main .htg-btn { margin-top: 18px; height: 46px; font-size: 16px; }
  .htg-hb-side { grid-template-rows: none; grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .htg-hb-1, .htg-hb-2 { height: 180px; }
  .htg-hb-1 .htg-hb-in { padding: 58px 0 0 18px; width: 52%; }
  .htg-hb-1 .htg-hb-bg { object-position: 80% 50%; }
  .htg-hb-1 .htg-hb-t { font-size: 19px; } .htg-hb-p { font-size: 16px; }
  .htg-hb-2 .htg-hb-t { font-size: 21px; } .htg-hb-2 .htg-hb-in { left: 18px; bottom: 18px; }
  .section.htg-cat-sec { padding: 18px 0 26px !important; }
  .htg-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
  .htg-tr { height: auto; padding: 14px 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .htg-tr img { width: 40px; height: 40px; flex-basis: 40px; } .htg-tr b { font-size: 14.5px; } .htg-tr span { font-size: 12px; margin-top: 4px; white-space: normal; }
  .htg-h2 { font-size: 24px; }
  .htg-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; margin-top: 26px; }
  .htg-cat-img { height: 118px; } .htg-cat-n { font-size: 13.5px; margin-top: 10px; }
  .section.htg-p1-sec, .section.htg-p2-sec, .section.htg-blog-sec { padding: 30px 0 20px !important; }
  .htg-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .htg-pc-img, .htg-pcs-s .htg-pc-img { height: 130px; }
  .htg-pc-b { padding: 12px 8px 12px; } .htg-pc-n { font-size: 13.5px; white-space: normal; min-height: 36px; } .htg-pc-pr { font-size: 16px; }
  .htg-pc-btn { width: 100%; height: 34px; font-size: 14px; }
  .htg-more { font-size: 14px; padding-bottom: 10px; } .htg-head h2 { flex: 0 1 auto; width: auto; }
  .htg-band { height: auto; padding-top: 200px; background: #3b2316; }
  .htg-band::before { display: none; }
  .htg-band-bg { height: 200px; bottom: auto; object-position: 72% 50%; }
  .htg-band-in { padding: 20px 16px 24px; }
  .htg-band-t { font-size: 24px; } .htg-band-t br { display: none; }
  .htg-band .htg-btn { height: 46px; font-size: 15.5px; }
  .htg-works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-top: 18px; }
  .htg-wk-img { height: 110px; } .htg-wk-n { font-size: 16px; margin-top: 8px; }
  .htg-proc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .htg-proc-l { padding: 10px 0 0; } .htg-proc .htg-h2-n { font-size: 24px; }
  .htg-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
  .htg-st span br { display: none; }
  .htg-form { padding: 20px 16px; }
  .htg-posts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .htg-post-t { white-space: normal; }
  .htg-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
  .htg-ft-brand, .htg-ft-ct, .htg-ft-map { grid-column: 1 / -1; }
  .htg-ft-map { justify-content: flex-start; } .htg-ft-map iframe { width: 100%; }
}

/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  #logo { margin-right: 30px !important; }
  #header #logo a { grid-template-columns: 82px auto; font-size: 27px !important; }
  #header #logo a::before { width: 82px; height: 56px; }
  #header .header-search-form { width: 360px !important; max-width: 360px !important; }
  #header .flex-right li.html { gap: 34px; } #header .htg-hd { font-size: 17px !important; }
  #header .header-bottom-nav > li { margin: 0 !important; }
  .htg-hero { height: 420px; } .htg-hb-main .htg-hb-in { padding: 80px 0 0 70px; } .htg-h1 { font-size: 46px; }
  .htg-hb-1 .htg-hb-in { padding-top: 84px; }
  .htg-band-in { padding-left: 40px; }
  .htg-tr { padding: 0 14px 0 20px; gap: 14px; } .htg-tr span { white-space: normal; } .htg-tr img { width: 50px; height: 50px; flex-basis: 50px; }
  .htg-ft { grid-template-columns: 1.35fr 1fr 1fr 1.25fr 200px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header #logo { max-width: none !important; margin-right: 18px !important; }
  #header #logo a { grid-template-columns: 62px auto; column-gap: 10px; font-size: 22px !important; }
  #header #logo a::before { width: 62px; height: 42px; }
  #header #logo a::after { font-size: 13px; }
  #header .header-main li.header-search-form.search-form { display: flex !important; }
  #header .header-search-form { width: 250px !important; max-width: 250px !important; margin-left: 0 !important; }
  #header .header-main .flex-right li.html.html_top_right_text { display: flex !important; }
  #header .htg-hd-ph { display: none !important; }
  #header .header-bottom-nav > li > a { font-size: 13.5px !important; }
  .htg-hero { height: 360px; } .htg-hb-main .htg-hb-in { padding: 56px 0 0 40px; } .htg-h1 { font-size: 38px; }
  .htg-hb-1 .htg-hb-in { padding: 60px 0 0 18px; } .htg-hb-1 .htg-hb-t { font-size: 18px; } .htg-hb-p { font-size: 16px; }
  .htg-hb-2 .htg-hb-t { font-size: 20px; }
  .htg-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .htg-cat-img { height: 140px; }
  .htg-pc-img, .htg-pcs-s .htg-pc-img { height: 150px; } .htg-pc-n { font-size: 14.5px; }
  .htg-band-t { font-size: 30px; }
  .htg-wk-img { height: 120px; }
  .htg-proc { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; } .htg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .htg-post-t { font-size: 16px; }
  .htg-ft { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } .htg-ft-brand { grid-column: 1 / -1; } .htg-ft-map { justify-content: flex-start; }
}
/* /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; }
