/* Dây Thép Kim Phát — trang trong (giới thiệu / sản phẩm / chi tiết SP / liên hệ) theo mockup thep-inner */
.tpi-tpl #main { background: #fff !important; }
.tpi-page { color: #2b3036; font-size: 17px; }
.tpi-w { max-width: 1300px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.tpi-i { display: inline-block; width: 1em; height: 1em; background: center / contain no-repeat; flex: 0 0 auto; vertical-align: -.15em; }
.tpi-page p { margin: 0; }
.tpi-page h1, .tpi-page h2, .tpi-page h3 { color: var(--kpt-ink); }
.tpi-h1 { font-size: 58px; line-height: 1.15; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.tpi-h2 { font-size: 38px; line-height: 1.22; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.tpi-ul { position: relative; padding-bottom: 16px; }
.tpi-ul::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; border-radius: 2px; background: var(--kpt-r); }
.tpi-sub { font-size: 18px; color: var(--kpt-mut); margin-top: 8px; }
.tpi-lead { font-size: 18px; color: var(--kpt-mut); margin: 14px 0 22px !important; line-height: 1.55; }
.tpi-k { font-size: 17px; font-weight: 700; color: var(--kpt-r); text-transform: uppercase; letter-spacing: .02em; }
.tpi-sec { padding: 46px 0; }
.tpi-pt0 { padding-top: 0; }
.tpi-bg { background: var(--kpt-bg); }
.tpi-2c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 590px); gap: 50px; align-items: center; }
.tpi-crumb { font-size: 14.5px; color: var(--kpt-mut); display: flex; flex-wrap: wrap; gap: 8px; }
.tpi-crumb a { color: var(--kpt-mut) !important; }
.tpi-crumb em { font-style: normal; color: var(--kpt-ink); font-weight: 600; }
.tpi-rb, .tpi-ob { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 34px; border-radius: 4px; font-size: 18px; font-weight: 700; white-space: nowrap; margin: 0; text-transform: none; letter-spacing: 0; }
.tpi-rb { background: var(--kpt-r); color: #fff !important; border: 0; }
.tpi-rb:hover { background: var(--kpt-r2); }
.tpi-ob { background: #fff; color: var(--kpt-r) !important; border: 2px solid var(--kpt-r); }
.tpi-more { display: inline-flex; gap: 10px; align-items: center; color: var(--kpt-r) !important; font-weight: 700; font-size: 17px; white-space: nowrap; }
.tpi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* hero tối */
.tpi-hero { position: relative; background: #2a2d31 right center / cover no-repeat; min-height: 386px; color: #fff; }
.tpi-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 15, .82) 0%, rgba(10, 12, 15, .55) 45%, rgba(10, 12, 15, .1) 75%); }
.tpi-hero .tpi-w { position: relative; padding-top: 136px; padding-bottom: 60px; }
.tpi-hero .tpi-crumb, .tpi-hero .tpi-crumb a, .tpi-hero .tpi-crumb em { color: #eceef1 !important; font-weight: 400; }
.tpi-hero .tpi-h1 { color: #fff !important; margin-top: 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.tpi-hsub { font-size: 23px; color: #fff; margin-top: 12px !important; }
.tpi-hero-c { min-height: 333px; }
.tpi-hero-c .tpi-w { padding-top: 110px; }
.tpi-hero-c .tpi-h1 { font-size: 72px; }

/* ---------- GIỚI THIỆU ---------- */
.tpi-about .tpi-2c .tpi-h2 { font-size: 42px; margin: 10px 0 26px; }
.tpi-about .tpi-2c p { font-size: 18.5px; line-height: 1.65; color: #3d434a; margin-bottom: 16px !important; }
.tpi-slogan { font-size: 25px !important; font-weight: 700; color: var(--kpt-r) !important; margin-top: 22px !important; }
.tpi-simg img { width: 100%; aspect-ratio: 590 / 405; object-fit: cover; display: block; }
.tpi-vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.tpi-val { background: #fff; border: 1px solid var(--kpt-line); padding: 26px 30px 34px; text-align: center; }
.tpi-val .tpi-i { font-size: 60px; }
.tpi-val h3 { font-size: 27px; font-weight: 700; margin: 14px 0 12px; }
.tpi-val p { font-size: 17.5px; line-height: 1.6; color: #3d434a; }
.tpi-fac { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.tpi-fac figure { margin: 0; border: 1px solid var(--kpt-line); }
.tpi-fac img { width: 100%; height: 232px; object-fit: cover; display: block; }
.tpi-fac figcaption { font-size: 19px; font-weight: 700; color: var(--kpt-ink); padding: 14px 22px; }
.tpi-coms { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.tpi-com { display: flex; gap: 20px; align-items: flex-start; padding: 0 26px; }
.tpi-com + .tpi-com { border-left: 1px solid #cfd3d8; }
.tpi-com:first-child { padding-left: 0; }
.tpi-ok { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: var(--kpt-r) url("icons/t-ok-w.png") center / 50% no-repeat; }
.tpi-com b { font-size: 23px; color: var(--kpt-ink); }
.tpi-com p { font-size: 16px; color: var(--kpt-mut); margin-top: 8px !important; }
.tpi-dealer { display: grid; grid-template-columns: 686px minmax(0, 1fr); gap: 46px; align-items: center; }
.tpi-dealer img { width: 100%; height: 256px; object-fit: cover; display: block; }
.tpi-dealer p { font-size: 17px; color: #3d434a; line-height: 1.6; margin-top: 16px !important; }
.tpi-dealer .tpi-ob { margin-top: 26px; min-height: 60px; }
.tpi-cta { background: var(--kpt-bg); padding: 26px 0; }
.tpi-cta .tpi-w { display: flex; align-items: center; gap: 40px; }
.tpi-cta h2 { flex: 0 0 auto; font-size: 38px; font-weight: 700; margin: 0; padding-right: 40px; border-right: 2px solid #c8ccd2; }
.tpi-cta p { flex: 1 1 auto; min-width: 0; font-size: 20px; color: #3d434a; line-height: 1.5; }
.tpi-cta .tpi-rb { flex: 0 0 auto; min-height: 62px; padding: 0 48px; }

/* ---------- SẢN PHẨM ---------- */
.tpi-band { background: var(--kpt-bg); padding: 22px 0 26px; }
.tpi-band .tpi-h1 { font-size: 40px; margin-top: 16px; }
.tpi-bsub { font-size: 17px; color: #3d434a; margin: 12px 0 0 !important; }
.tpi-sec-s { padding-top: 24px; }
.tpi-shopw { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 24px; align-items: start; }
.tpi-filter { border: 1px solid var(--kpt-line); background: #fff; }
.tpi-fh { display: flex; gap: 14px; align-items: center; background: var(--kpt-r); color: #fff; font-size: 18px; font-weight: 700; padding: 16px 20px; }
.tpi-fh .tpi-i { font-size: 22px; }
.tpi-fg { padding: 18px 20px; border-bottom: 1px solid var(--kpt-line); }
.tpi-fg:last-child { border-bottom: 0; }
.tpi-fg h4 { font-size: 18px; font-weight: 700; color: var(--kpt-ink); margin: 0 0 12px; }
.tpi-fg label { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; font-size: 17px; font-weight: 400; color: #2b3036; cursor: pointer; }
.tpi-fg input[type=checkbox] { width: 20px; height: 20px; margin: 0; accent-color: var(--kpt-r); }
.tpi-fp { display: grid; grid-template-columns: 48px minmax(0, 1fr) 30px; align-items: center; margin-bottom: 12px; }
.tpi-fp input { height: 44px; margin: 0; border: 1px solid #d3d7dc; box-shadow: none; border-radius: 3px 0 0 3px; font-size: 15px; }
.tpi-fp i { height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #d3d7dc; border-left: 0; font-style: normal; background: #f6f7f8; }
.tpi-fapply { width: 100%; min-height: 48px; font-size: 17px; }
.tpi-freset { display: block; width: 100%; margin: 10px 0 0; padding: 0; min-height: 0; border: 0; background: none; color: var(--kpt-r); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.tpi-help { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin-top: 24px; background: var(--kpt-bg); padding: 22px 20px; color: var(--kpt-ink) !important; }
.tpi-help > .tpi-i { font-size: 38px; }
.tpi-help span { display: flex; flex-direction: column; }
.tpi-help b { font-size: 17px; }
.tpi-help small { font-size: 13.5px; color: var(--kpt-mut); }
.tpi-help em { font-style: normal; font-size: 26px; font-weight: 800; color: var(--kpt-r); margin-top: 10px; }
.tpi-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 15.5px; color: var(--kpt-mut); }
.tpi-view { display: flex; gap: 8px; }
.tpi-view i { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--kpt-line); cursor: pointer; }
.tpi-view i.on { background: var(--kpt-r); border-color: var(--kpt-r); }
.tpi-view .tpi-i { font-size: 20px; }
.tpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tpi-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.tpi-pc { border: 1px solid var(--kpt-line); background: #fff; display: flex; flex-direction: column; }
.tpi-pc-img { display: block; background: #e6e7e9; }
.tpi-pc-img img { width: 100%; height: 170px; object-fit: contain; display: block; }
.tpi-pc-b { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tpi-pc h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.tpi-pc h3 a { color: var(--kpt-ink) !important; }
.tpi-pc-s { font-size: 14.5px; color: var(--kpt-mut); line-height: 1.5; }
.tpi-pc-f { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.tpi-pc-f b { font-size: 19px; color: var(--kpt-r); }
.tpi-pc-f a { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 700; color: var(--kpt-r) !important; }
.tpi-grid.tpi-list { grid-template-columns: 1fr; }
.tpi-grid.tpi-list .tpi-pc { flex-direction: row; }
.tpi-grid.tpi-list .tpi-pc-img { flex: 0 0 240px; }
.tpi-empty { padding: 30px; text-align: center; color: var(--kpt-mut); }
.tpi-strip { background: var(--kpt-bg); padding: 30px 0; }
.tpi-strip .tpi-w { display: grid; grid-template-columns: repeat(3, 1fr); }
.tpi-strip .tpi-w > div { display: flex; gap: 22px; align-items: flex-start; padding: 0 30px; }
.tpi-strip .tpi-w > div + div { border-left: 1px solid #cfd3d8; }
.tpi-strip .tpi-w > div:first-child { padding-left: 0; }
.tpi-strip .tpi-i { font-size: 58px; }
.tpi-strip span { display: flex; flex-direction: column; font-size: 16px; color: var(--kpt-mut); line-height: 1.5; }
.tpi-strip b { font-size: 25px; color: var(--kpt-ink); margin-bottom: 4px; }

/* ---------- CHI TIẾT SP ---------- */
.tpi-crumbbar { background: var(--kpt-bg); padding: 12px 0; }
.tpi-sec-p { padding-top: 30px; }
.tpi-pd { display: grid; grid-template-columns: 688px minmax(0, 1fr); gap: 46px; align-items: start; }
.tpi-pd-main { background: #e6e7e9; }
.tpi-pd-main img { width: 100%; height: 512px; object-fit: cover; display: block; }
.tpi-pd-th { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.tpi-pd-th button { margin: 0; padding: 0; min-height: 0; border: 2px solid transparent; background: #e6e7e9; }
.tpi-pd-th button.on { border-color: var(--kpt-r); }
.tpi-pd-th img { width: 100%; height: 132px; object-fit: cover; display: block; }
.tpi-pd-k { font-size: 13px; color: var(--kpt-mut); letter-spacing: .02em; }
.tpi-pd-t { font-size: 38px; line-height: 1.25; font-weight: 800; margin: 8px 0 14px; }
.tpi-pd-price { font-size: 18px; color: #3d434a; }
.tpi-pd-price b { font-size: 44px; font-weight: 800; color: var(--kpt-r); margin-left: 12px; vertical-align: -6px; }
.tpi-pd-d { font-size: 18px; color: #3d434a; line-height: 1.6; margin: 18px 0 20px !important; }
.tpi-pd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; padding: 10px 0; border-top: 1px solid var(--kpt-line); }
.tpi-pd-row > span { font-size: 17px; font-weight: 600; color: var(--kpt-ink); }
.tpi-chip { display: inline-flex; justify-self: start; border: 2px solid var(--kpt-r); border-radius: 4px; padding: 8px 20px; font-size: 17px; }
.tpi-pd-row select { height: 50px; margin: 0; border: 1px solid #d3d7dc; box-shadow: none; font-size: 16px; }
.tpi-qty { display: inline-flex; border: 1px solid #d3d7dc; justify-self: start; }
.tpi-qty button { margin: 0; min-height: 0; width: 48px; height: 46px; background: #f2f3f5; border: 0; font-size: 22px; color: var(--kpt-ink); }
.tpi-qty input { width: 96px; height: 46px; margin: 0; border: 0; box-shadow: none; text-align: center; font-size: 17px; }
.tpi-pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.tpi-pd-btns .tpi-rb, .tpi-pd-btns .tpi-ob { width: 100%; min-height: 56px; }
.tpi-pd-f { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.tpi-pd-f span { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 15px; color: var(--kpt-ink); text-align: center; }
.tpi-pd-f .tpi-i { font-size: 38px; }
.tpi-pd-hot { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 22px; background: #fbeaea; padding: 14px; font-size: 17px; color: var(--kpt-ink); }
.tpi-pd-hot .tpi-i { font-size: 24px; }
.tpi-pd-hot b { color: var(--kpt-r); }
.tpi-tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--kpt-line); margin-bottom: 30px; }
.tpi-tabs a { padding: 14px 26px; font-size: 18px; color: #3d434a !important; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tpi-tabs a.on { color: var(--kpt-r) !important; font-weight: 700; border-bottom-color: var(--kpt-r); }
.tpi-spec { display: grid; grid-template-columns: 733px minmax(0, 1fr); gap: 38px; align-items: center; margin: 10px 0 46px; scroll-margin-top: 90px; }
.tpi-spec img { width: 100%; height: 320px; object-fit: cover; display: block; }
.tpi-spec h3 { font-size: 24px; font-weight: 700; margin: 0 0 16px; }
.tpi-spec table, .tpi-cmp { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.tpi-spec th, .tpi-spec td, .tpi-cmp th, .tpi-cmp td { border: 1px solid var(--kpt-line); padding: 15px 18px; font-size: 16.5px; text-align: left; text-transform: none !important; letter-spacing: 0 !important; }
.tpi-spec th { background: #f4f5f6; width: 46%; font-weight: 600; color: var(--kpt-ink); }
.tpi-cmp { margin-top: 26px; background: #fff; }
.tpi-cmp th { background: #e4e6e9; font-weight: 700; color: var(--kpt-ink); }
.tpi-cmp td:first-child { font-weight: 600; color: var(--kpt-ink); }
.tpi-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.tpi-apps figure { position: relative; margin: 0; }
.tpi-apps img { width: 100%; height: 218px; object-fit: cover; display: block; }
.tpi-apps figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 26px 16px; background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent); color: #fff; font-size: 22px; font-weight: 700; }
#ung-dung { scroll-margin-top: 90px; }
.tpi-cta-l h2 { font-size: 40px; }

/* ---------- LIÊN HỆ ---------- */
.tpi-ccols { display: grid; grid-template-columns: minmax(0, 790px) 440px; justify-content: space-between; gap: 40px; align-items: start; }
.tpi-ccols .tpi-h2 { font-size: 44px; }
.tpi-ci { display: flex; gap: 24px; align-items: center; border: 1px solid var(--kpt-line); padding: 22px 24px; margin-top: 18px; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.tpi-ci > span { display: inline-flex; width: 76px; height: 76px; border-radius: 6px; background: #f3f4f6; align-items: center; justify-content: center; flex: 0 0 auto; }
.tpi-ci .tpi-i { font-size: 38px; }
.tpi-ci > div { display: flex; flex-direction: column; min-width: 0; }
.tpi-ci b { font-size: 19px; color: var(--kpt-ink); font-weight: 600; }
.tpi-ci-v { font-size: 30px; font-weight: 800; color: var(--kpt-r) !important; line-height: 1.3; }
.tpi-ci-m { font-size: 21px; white-space: nowrap; }
.tpi-ci p { font-size: 20px; color: #2b3036; line-height: 1.45; }
.tpi-ci-t { border: 0; border-top: 1px solid var(--kpt-line); box-shadow: none; padding-left: 26px; }
.tpi-ci-t > .tpi-i { font-size: 48px; }
.tpi-map { margin-top: 20px; border: 1px solid var(--kpt-line); }
.tpi-map iframe { display: block; width: 100%; height: 300px; border: 0; margin: 0; }
.tpi-head .tpi-ob { min-height: 52px; font-size: 16px; padding: 0 28px; }
.tpi-faq2 { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: start; }
.tpi-faq2 .tpi-sub { font-size: 22px; line-height: 1.5; margin-top: 20px; }
.tpi-faq { border: 1px solid var(--kpt-line); background: #fff; }
.tpi-fq { border-top: 1px solid var(--kpt-line); }
.tpi-fq:first-child { border-top: 0; }
.tpi-fq summary { list-style: none; cursor: pointer; display: flex; gap: 18px; align-items: center; padding: 18px 24px; font-size: 19px; font-weight: 600; color: var(--kpt-ink); }
.tpi-fq summary::-webkit-details-marker { display: none; }
.tpi-fq summary::before { content: "+"; width: 20px; font-size: 28px; font-weight: 400; line-height: 1; color: var(--kpt-ink); flex: 0 0 auto; }
.tpi-fq[open] summary::before { content: "−"; color: var(--kpt-r); }
.tpi-fq > div { padding: 0 24px 18px 62px; font-size: 16.5px; line-height: 1.6; color: #4b5158; }

/* form CF7 */
.tpi-page .wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 0; }
.tpi-page .wpcf7 form > p { display: contents; }
.tpi-page .wpcf7 br { display: none; }
.tpi-f { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; font-size: 17px; font-weight: 600; color: var(--kpt-ink); }
.tpi-f em { color: var(--kpt-r); font-style: normal; }
.tpi-f .wpcf7-form-control-wrap { display: block; }
.tpi-full, .tpi-page .wpcf7-response-output { grid-column: 1 / -1; }
.tpi-page .wpcf7 input:not([type=submit]), .tpi-page .wpcf7 select, .tpi-page .wpcf7 textarea { width: 100%; height: 50px; margin: 0; border: 1px solid #d3d7dc; border-radius: 3px; box-shadow: none; padding: 0 16px; font-size: 16px; color: var(--kpt-ink); background-color: #fff; font-weight: 400; }
.tpi-page .wpcf7 textarea { height: 120px; min-height: 0; padding: 12px 16px; }
.tpi-page .wpcf7 select { color: #6b7179; }
.tpi-page .wpcf7 .wpcf7-submit { grid-column: 1; justify-self: start; width: 360px; max-width: 100%; min-height: 54px; border-radius: 4px; background: var(--kpt-r); color: #fff; font-size: 19px; font-weight: 700; border: 0; margin: 4px 0 0; text-transform: none; letter-spacing: 0; }
.tpi-page .wpcf7 .wpcf7-submit:hover { background: var(--kpt-r2); }
.tpi-page .wpcf7-spinner { position: absolute; left: 0; top: 0; margin: 0; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1199px) {
  .tpi-pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .tpi-spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tpi-dealer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tpi-ccols { grid-template-columns: minmax(0, 1fr) 380px; }
  .tpi-ci-m { font-size: 17px; }
  .tpi-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 849px) {
  .tpi-w { padding: 0 16px; }
  .tpi-h1, .tpi-hero-c .tpi-h1, .tpi-band .tpi-h1 { font-size: 32px !important; }
  .tpi-h2, .tpi-about .tpi-2c .tpi-h2, .tpi-ccols .tpi-h2, .tpi-cta h2 { font-size: 25px !important; }
  .tpi-hsub, .tpi-sub, .tpi-lead { font-size: 16.5px !important; }
  .tpi-sec { padding: 32px 0; }
  .tpi-pt0 { padding-top: 0; }
  .tpi-hero, .tpi-hero-c { min-height: 0; }
  .tpi-hero::before { background: rgba(10, 12, 15, .6); }
  .tpi-hero .tpi-w, .tpi-hero-c .tpi-w { padding-top: 60px; padding-bottom: 36px; }
  .tpi-2c, .tpi-dealer, .tpi-shopw, .tpi-pd, .tpi-spec, .tpi-ccols, .tpi-faq2 { grid-template-columns: minmax(0, 1fr) !important; gap: 22px; }
  .tpi-about .tpi-2c p { font-size: 16.5px; }
  .tpi-slogan { font-size: 19px !important; }
  .tpi-vals, .tpi-fac, .tpi-coms, .tpi-strip .tpi-w { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
  .tpi-val { padding: 20px 16px; }
  .tpi-val h3 { font-size: 22px; }
  .tpi-fac img { height: 200px; }
  .tpi-com, .tpi-strip .tpi-w > div { padding: 0 !important; border-left: 0 !important; }
  .tpi-dealer img { height: 200px; }
  .tpi-cta .tpi-w { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tpi-cta h2 { border-right: 0; padding-right: 0; }
  .tpi-cta p { font-size: 16.5px; }
  .tpi-rb, .tpi-ob { min-height: 50px; padding: 0 20px; font-size: 16.5px; }
  .tpi-bsub { margin: 10px 0 0 !important; font-size: 15.5px; }
  .tpi-grid, .tpi-grid4 { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .tpi-pc-img img { height: 120px; }
  .tpi-pc-b { padding: 10px 12px 14px; }
  .tpi-pc h3 { font-size: 15px; }
  .tpi-pc-s { font-size: 13px; }
  .tpi-pc-f { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tpi-pc-f b { font-size: 16px; }
  .tpi-grid.tpi-list .tpi-pc { flex-direction: column; }
  .tpi-grid.tpi-list .tpi-pc-img { flex: none; }
  .tpi-strip .tpi-i { font-size: 44px; }
  .tpi-strip b { font-size: 19px; }
  .tpi-pd-main img { height: 320px; }
  .tpi-pd-th img { height: 72px; }
  .tpi-pd-t { font-size: 26px; }
  .tpi-pd-price b { font-size: 30px; }
  .tpi-pd-d { font-size: 16px; }
  .tpi-pd-row { grid-template-columns: 120px minmax(0, 1fr); }
  .tpi-pd-btns { grid-template-columns: 1fr; gap: 10px; }
  .tpi-pd-f span { font-size: 13px; }
  .tpi-tabs a { padding: 12px 14px; font-size: 16px; }
  .tpi-spec img { height: 200px; }
  .tpi-apps { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .tpi-apps img { height: 140px; }
  .tpi-apps figcaption { font-size: 16px; padding: 30px 12px 10px; }
  .tpi-cmp th, .tpi-cmp td { padding: 10px 8px; font-size: 13.5px; }
  .tpi-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tpi-page .wpcf7 form { grid-template-columns: 1fr !important; }
  .tpi-page .wpcf7 .wpcf7-submit { width: 100%; }
  .tpi-ci { padding: 16px; gap: 14px; }
  .tpi-ci > span { width: 56px; height: 56px; }
  .tpi-ci .tpi-i { font-size: 28px; }
  .tpi-ci-v { font-size: 22px; }
  .tpi-ci-m { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
  .tpi-ci p { font-size: 16.5px; }
  .tpi-map iframe { height: 250px; }
  .tpi-faq2 .tpi-sub { font-size: 16.5px; margin-top: 10px; }
  .tpi-fq summary { font-size: 16px; padding: 14px 16px; }
  .tpi-fq > div { padding: 0 16px 14px; font-size: 15.5px; }
}
.tpi-ci-t p { font-size: 18px; white-space: nowrap; }
@media (max-width: 1199px) { .tpi-ci-t p { white-space: normal; } }
@media (max-width: 849px) { .tpi-side { order: 2; } }
/* thước đo (ruler) desktop */
@media (min-width: 850px) {
  .tpi-page .tpi-h2 { font-size: 44px; }
  .tpi-about .tpi-2c .tpi-h2 { font-size: 48px; }
  .tpi-val h3 { font-size: 33px; }
  .tpi-band .tpi-h1 { font-size: 46px; }
  .tpi-ccols .tpi-h2 { font-size: 48px; }
}
/* lượt cuối: dải CTA không tràn ngang; ảnh nhỏ không cắt chủ thể */
.tpi-cta p { flex: 1 1 0 !important; }
.tpi-pd-th img { object-fit: contain; background: #e6e7e9; }
.tpi-cta h2 { width: auto !important; flex: 0 1 auto !important; max-width: 46%; }
