/* Dây Thép Kim Phát (thep) — trang chủ theo mockup thep-home/mockups/home-desktop-v1.png (793px -> 1440 = x1.816) */
:root { --kpt-r: #c50f0f; --kpt-r2: #a80c0c; --kpt-rf: #c00000; --kpt-ink: #15181c; --kpt-mut: #565c63; --kpt-line: #e2e4e8; --kpt-bg: #f1f2f4;
  --kpt-f: 'Inter', 'Be Vietnam Pro', Arial, sans-serif; }
body, p, li, a, span, div, input, select, textarea, button, label, h1, h2, h3, h4, h5, h6, td, th, .nav > li > a { font-family: var(--kpt-f) !important; }
h1 a, h2 a, h3 a, h4 a { font-family: inherit !important; }
body, html { background: #fff !important; }
#main, .home #main, #wrapper { background-color: #fff !important; background-image: none !important; }
.kpt-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
.absolute-footer, .float-contact, #button-contact-vr, .hotline-phone-ring-wrap { display: none !important; }
img[src=""] { visibility: hidden; }

/* ---------- topbar + header ---------- */
#top-bar { background: #f1f2f3 !important; }
#top-bar .flex-row { min-height: 38px; }
#top-bar .html_topbar_left, #top-bar .flex-left { margin-left: 0 !important; }
#top-bar .flex-left { flex: 1 1 auto; justify-content: center; }
#top-bar .kpt-tb { display: inline-flex; align-items: center; gap: 38px; }
#top-bar .kpt-tb > * { display: inline-flex; align-items: center; gap: 8px; color: #555b63 !important; font-size: 13.5px !important; text-transform: none !important; font-weight: 400 !important; }
#top-bar .kpt-tb img { width: 15px; height: 15px; }
#header .header-main { background: #fff !important; }
#header .header-wrapper { box-shadow: none !important; border-bottom: 3px solid #d42020 !important; }
#logo { width: auto !important; margin: 0 !important; top: 0 !important; }
#header #logo a { display: inline-flex; align-items: center; height: 61px; padding-left: 72px; background: url("icons/logo.png") left center / 61px auto no-repeat; font-size: 0 !important; line-height: 1 !important; text-transform: none !important; white-space: nowrap; top: 0; margin: 0; }
#header #logo a::before { content: "DÂY THÉP\00a0"; font-size: 24px; font-weight: 800; color: #1b1e22; letter-spacing: -.01em; }
#header #logo a::after { content: "KIM PHÁT"; font-size: 24px; font-weight: 800; color: #d11f1f; letter-spacing: -.01em; }
#header .header-main .flex-left { flex: 1 1 auto; justify-content: center; }
#header .header-main .flex-left .header-nav-main { justify-content: center; }
#header .header-nav-main { flex-wrap: nowrap; align-items: center; }
#header .flex-left .header-nav-main > li { margin: 0 13px !important; }
#header .flex-left .header-nav-main > li > a { font-size: 15px !important; font-weight: 600 !important; color: #1f2328 !important; text-transform: none !important; padding: 0 !important; line-height: 40px !important; white-space: nowrap; flex-wrap: nowrap !important; }
#header .flex-left .header-nav-main > li > a:hover { color: var(--kpt-r) !important; }
#header .header-nav-main > li > a::after, #header .header-nav-main > li > a::before { display: none !important; }
#header .header-main .nav > li > a .icon-angle-down { margin-left: 6px; font-size: 13px; }
#header .flex-right .header-nav-main > li { margin: 0 !important; }
#header .flex-right li.header-search-form { margin-right: 19px !important; }
#header .header-search-form .searchform-wrapper { margin: 0 !important; }
#header .header-search-form { width: 231px !important; max-width: 231px !important; }
#header .header-search-form input[type=search] { height: 44px; border: 1px solid #dcdfe3; border-right: 0; border-radius: 4px 0 0 4px; box-shadow: none; font-size: 14px; padding-left: 16px; background: #fff; }
#header .header-search-form .button.icon { height: 44px; min-height: 44px; width: 46px; background: var(--kpt-r) !important; color: #fff !important; border-radius: 0 4px 4px 0; margin: 0; }
#header .header-button-1 .button { background: var(--kpt-r) !important; border: 0 !important; color: #fff !important; border-radius: 4px !important; height: 44px; min-width: 136px; padding: 0 14px !important; line-height: 44px !important; font-size: 14.5px !important; font-weight: 600 !important; text-transform: none !important; box-shadow: none !important; margin: 0 !important; }
#header .header-button-1 .button span { font-size: inherit !important; }
#header .header-button-1 .button:hover { background: var(--kpt-r2) !important; }
#header .nav-dropdown { border: 0 !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .14) !important; border-radius: 4px; border-top: 3px solid #d42020 !important; }
#header .nav-dropdown > li > a { color: var(--kpt-ink) !important; font-size: 14.5px !important; padding: 10px 18px !important; border: 0 !important; }
#header .nav-dropdown > li > a:hover { color: var(--kpt-r) !important; }
#header .mobile-nav i, #header .mobile-nav .icon-menu, #header .mobile-nav .icon-search { color: #1f2328 !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a { background: transparent !important; color: #1f2328 !important; }

/* ---------- chung ---------- */
.section.kpt-sec, .section.kpt-hero, .section.kpt-footer { padding: 0 !important; }
.kpt-sec .col, .kpt-hero .col, .kpt-footer .col { padding-bottom: 0 !important; }
.kpt-sec p:not([class]), .kpt-footer p:not([class]), .kpt-hero p:not([class]) { display: contents; }
.kpt-h2 { position: relative; font-size: 34px; line-height: 1.25; font-weight: 700; color: var(--kpt-ink); margin: 0; padding-bottom: 14px; letter-spacing: -.02em; }
.kpt-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 69px; height: 4px; background: #d42020; }
.kpt-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kpt-head h2 { flex: 0 1 auto; width: fit-content; min-width: 0; }
.kpt-all { flex: 0 0 auto; color: #d11f1f !important; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.kpt-all .kpt-ic { font-size: 19px; }
.kpt-more { display: inline-flex; align-items: center; gap: 10px; color: #d11f1f !important; font-size: 16.5px; font-weight: 700; }
.kpt-more .kpt-ic { font-size: 19px; }
.kpt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; height: 56px; padding: 0 28px; border-radius: 4px; background: var(--kpt-r); color: #fff !important; font-size: 17px; font-weight: 700; }
.kpt-btn .kpt-ic { font-size: 20px; }
.kpt-btn:hover { background: var(--kpt-r2); }

/* ---------- hero ---------- */
.section.kpt-hero { min-height: 461px; align-items: flex-start !important; }
.kpt-hero .section-bg img.bg { object-position: 65% 50%; }
.kpt-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 25, .82) 0%, rgba(20, 22, 25, .55) 45%, rgba(20, 22, 25, 0) 70%); pointer-events: none; }
.kpt-hero-in { position: relative; z-index: 2; padding: 92px 0 40px 21px; }
.kpt-h1 { font-size: 65px; line-height: 1.17; font-weight: 800; color: #fff !important; margin: 0; letter-spacing: -.025em; }
.kpt-hero-s { font-size: 25px; color: #fff; margin-top: 16px; font-weight: 500; }
.kpt-btns { display: flex; gap: 20px; margin-top: 32px; }
.kpt-btns .kpt-btn { width: 227px; padding: 0; }
.kpt-btn-o { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: 218px; height: 56px; border: 2px solid #fff; border-radius: 4px; color: #fff !important; font-size: 17px; font-weight: 600; }
.kpt-btn-o .kpt-ic { font-size: 20px; }
.kpt-btn-o:hover { background: #fff; color: var(--kpt-ink) !important; }

/* ---------- dòng sản phẩm ---------- */
.section.kpt-prod-sec { padding: 32px 0 30px !important; }
.kpt-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; margin-top: 25px; }
.kpt-pd { height: 424px; border: 1px solid var(--kpt-line); border-radius: 4px; overflow: hidden; background: #fff; }
.kpt-pd-img { display: block; height: 255px; background: #e6e7e9; }
.kpt-pd-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kpt-pd-img { background: #e4e5e7 !important; }
.kpt-pd-b { padding: 18px 26px 0; }
.kpt-pd h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.kpt-pd h3 a { color: var(--kpt-ink) !important; }
.kpt-pd-b > div { font-size: 16px; line-height: 1.95; color: var(--kpt-mut); }
.kpt-pd .kpt-more { margin-top: 10px; }

/* ---------- bảng quy cách ---------- */
.section.kpt-tbl-sec { padding: 25px 0 38px !important; }
.kpt-tbl-sec .kpt-h2 { display: block; width: fit-content; }
.kpt-sub { font-size: 17px; color: var(--kpt-mut); margin: -18px 0 0 87px; }
.kpt-tbl-w { margin-top: 27px; }
.kpt-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e0e2e6; margin: 0; }
.kpt-tbl th { height: 47px; background: #e3e5e8; color: var(--kpt-ink); font-size: 15.5px; font-weight: 600; text-transform: none; letter-spacing: 0; text-align: center; padding: 0 12px !important; border: 1px solid #e0e2e6; }
.kpt-tbl td { height: 51px; padding: 0 12px !important; text-align: center; font-size: 16px; color: var(--kpt-mut); border: 1px solid #e8eaed; }
.kpt-tbl th:first-child, .kpt-tbl td:first-child { text-align: left; padding-left: 30px !important; color: var(--kpt-ink); font-weight: 500; width: 222px; }
.kpt-tbl th:nth-child(2) { width: 259px; } .kpt-tbl th:nth-child(3) { width: 281px; } .kpt-tbl th:nth-child(4) { width: 290px; }
.kpt-tbl td a { display: inline-flex; align-items: center; gap: 12px; color: var(--kpt-mut) !important; }
.kpt-tbl td a .kpt-ic { font-size: 22px; color: #d11f1f; stroke-width: 3; }
.kpt-tbl td a:hover { color: var(--kpt-r) !important; }
.kpt-tbl tbody tr:nth-child(even) td { background: #fafafb; }
a.kpt-quote { display: inline-flex !important; align-items: center; justify-content: center; width: 111px; height: 36px; border: 1.5px solid #d11f1f; border-radius: 4px; color: #d11f1f !important; font-size: 15px; font-weight: 600; }
a.kpt-quote:hover { background: #d11f1f; color: #fff !important; }

/* ---------- ứng dụng ---------- */
.section.kpt-app-sec { padding: 26px 0 0 !important; }
.kpt-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; margin-top: 24px; }
.kpt-ap { position: relative; height: 267px; border-radius: 3px; overflow: hidden; background: #d6d8db; }
.kpt-ap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kpt-ap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0)); }
.kpt-ap span { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; text-align: center; color: #fff; font-size: 21px; font-weight: 600; }

/* ---------- năng lực ---------- */
.section.kpt-cap-sec { padding: 35px 0 34px !important; }
.kpt-cap { display: grid; grid-template-columns: minmax(0, 795fr) minmax(0, 445fr); gap: 16px; margin-top: 14px; }
.kpt-caps { display: grid; grid-template-columns: minmax(0, 403fr) minmax(0, 381fr); grid-template-rows: 220px 220px; gap: 11px; }
.kpt-caps img { width: 100%; height: 100%; object-fit: cover; display: block; background: #d6d8db; }
.kpt-capb { padding: 42px 30px 0 34px; background: var(--kpt-rf); color: #fff; }
.kpt-capb h3 { font-size: 34px; font-weight: 700; line-height: 1.25; color: #fff; margin: 0; letter-spacing: -.01em; }
.kpt-capb > i { display: block; width: 69px; height: 3px; background: #fff; margin: 22px 0 26px; }
.kpt-capb ul { list-style: none; margin: 0; padding: 0; }
.kpt-capb li { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-size: 19px; color: #fff; }
.kpt-capb li .kpt-ic { font-size: 30px; color: #fff; }
.kpt-btn-w { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: 221px; height: 56px; margin-top: 14px; border: 2px solid #fff; border-radius: 4px; color: #fff !important; font-size: 17px; font-weight: 600; }
.kpt-btn-w .kpt-ic { font-size: 20px; } .kpt-btn-w:hover { background: #fff; color: var(--kpt-rf) !important; }

/* ---------- đại lý ---------- */
.kpt-ag { display: flex; align-items: center; height: 144px; }
.kpt-ag h2 { font-size: 43px; flex: 0 0 auto; width: fit-content; }
.kpt-ag .kpt-btn { flex: 0 0 auto; } .kpt-ag-t { min-width: 0; }
.kpt-ag h2::after { bottom: -6px; }
.kpt-ag-t { flex: 1 1 auto; margin-left: 46px; padding-left: 52px; border-left: 2px solid #bfc3c8; font-size: 19px; line-height: 1.75; color: #3c4248; }
.kpt-ag .kpt-btn { width: 233px; height: 62px; padding: 0; }

/* ---------- tin tức ---------- */
.section.kpt-news-sec { padding: 26px 0 34px !important; }
.kpt-news { display: grid; grid-template-columns: minmax(0, 617fr) minmax(0, 589fr); gap: 49px; margin-top: 18px; }
.kpt-po-big .kpt-po-img { display: block; height: 256px; background: #d6d8db; }
.kpt-po-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kpt-po-big h3 { font-size: 29px; font-weight: 700; line-height: 1.25; margin: 20px 0 0; letter-spacing: -.01em; }
.kpt-po-big h3 a, .kpt-po-sm h3 a { color: var(--kpt-ink) !important; }
.kpt-po-e { font-size: 17.5px; color: var(--kpt-mut); margin-top: 8px; }
.kpt-po-big .kpt-more { margin-top: 16px; font-size: 18px; }
.kpt-news-l { display: flex; flex-direction: column; }
.kpt-po-sm { display: flex; align-items: center; gap: 28px; padding: 0 0 18px; }
.kpt-po-sm + .kpt-po-sm { border-top: 1px solid var(--kpt-line); padding-top: 18px; }
.kpt-po-sm .kpt-po-img { flex: 0 0 260px; height: 115px; background: #d6d8db; }
.kpt-po-sm h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0 0 12px; }

/* ---------- footer ---------- */
#footer .section.kpt-footer { padding: 0 !important; border-top: 0 !important; }
.kpt-ft { display: grid; grid-template-columns: minmax(0, 478fr) minmax(0, 450fr) minmax(0, 327fr); padding: 36px 0 30px; }
.kpt-ft-b { padding-right: 50px; }
.kpt-footer a.kpt-ft-logo { display: inline-flex; align-items: center; gap: 14px; color: #fff !important; }
.kpt-ft-logo img { width: 66px; height: 66px; }
.kpt-ft-logo span { font-size: 25px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: -.01em; }
.kpt-ft-tag { font-size: 18px; line-height: 1.6; color: #fff; margin-top: 14px; }
.kpt-ft-c { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: 46px; }
.kpt-ft-c h4 { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.kpt-ft-c > a, .kpt-ft-c > div:not(.kpt-soc) { display: flex; align-items: flex-start; gap: 16px; color: #fff !important; font-size: 18.5px; line-height: 1.55; margin-bottom: 9px; }
.kpt-ft-c .kpt-ic { font-size: 22px; margin-top: 2px; }
.kpt-soc { display: flex; align-items: center; gap: 18px; }
.kpt-soc a { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-size: 15.5px; }
.kpt-soc .kpt-ic { font-size: 36px; margin: 0; }
.kpt-ft a:hover { opacity: .85; }
.kpt-fbar { border-top: 1px solid rgba(255, 255, 255, .35); padding: 18px 0 22px; text-align: center; font-size: 15.5px; color: rgba(255, 255, 255, .9); }

@media (max-width: 849px) {
  #top-bar { display: none; }
  #header #logo a { height: 44px; padding-left: 50px; background-size: 42px auto; } #header #logo a::before, #header #logo a::after { font-size: 17px; }
  .section.kpt-hero { min-height: 0; padding-top: 250px !important; background-color: #26292d !important; }
  .section.kpt-hero .section-bg { top: 0; bottom: auto; height: 250px; } .section.kpt-hero .section-bg::after { display: none; }
  .section.kpt-hero .section-bg img.bg { object-position: 75% 50%; }
  .kpt-hero-in { padding: 24px 0 30px; }
  .kpt-h1 { font-size: 34px; } .kpt-h1 br { display: none; } .kpt-hero-s { font-size: 17px; }
  .kpt-btns { flex-direction: column; gap: 10px; } .kpt-btns .kpt-btn, .kpt-btn-o { width: 100%; height: 52px; }
  .kpt-h2 { font-size: 27px; } .kpt-all { font-size: 15px; }
  .kpt-prods, .kpt-apps { grid-template-columns: minmax(0, 1fr); gap: 16px; } .kpt-pd { height: auto; padding-bottom: 20px; }
  .kpt-sub { margin: 12px 0 0; font-size: 15.5px; }
  .kpt-tbl-w { overflow-x: auto; -webkit-overflow-scrolling: touch; } .kpt-tbl { min-width: 640px; }
  .kpt-tbl th:first-child, .kpt-tbl td:first-child { padding-left: 14px !important; width: auto; }
  .kpt-ap { height: 200px; }
  .kpt-cap { grid-template-columns: minmax(0, 1fr); } .kpt-caps { grid-template-rows: 130px 130px; gap: 8px; }
  .kpt-capb { padding: 26px 20px 28px; } .kpt-capb h3 { font-size: 26px; } .kpt-capb li { font-size: 16px; }
  .kpt-ag { flex-direction: column; align-items: flex-start; height: auto; padding: 26px 0; gap: 16px; }
  .kpt-ag h2 { font-size: 30px; } .kpt-ag-t { margin: 8px 0 0; padding: 0; border: 0; font-size: 16px; } .kpt-ag .kpt-btn { width: 100%; }
  .kpt-news { grid-template-columns: minmax(0, 1fr); gap: 24px; } .kpt-po-big h3 { font-size: 22px; }
  .kpt-po-sm { gap: 14px; } .kpt-po-sm .kpt-po-img { flex-basis: 120px; height: 80px; } .kpt-po-sm h3 { font-size: 15.5px; margin-bottom: 6px; }
  .kpt-ft { grid-template-columns: minmax(0, 1fr); gap: 24px; } .kpt-ft-b { padding: 0; } .kpt-ft-c { border-left: 0; padding-left: 0; }
  .kpt-ft-c > a, .kpt-ft-c > div:not(.kpt-soc) { font-size: 16px; } .kpt-ft-logo span { font-size: 21px; }
}

/* ruler:manual (bề rộng chữ so mockup, 10-04) */
@media (min-width: 1200px) { .kpt-sec h2.kpt-h2 { font-size: 35.5px; } .kpt-pd h3 { font-size: 22.5px; } .kpt-capb h3 { font-size: 37px; } .kpt-ag h2.kpt-h2 { font-size: 44.5px; }
  .kpt-tbl td a .kpt-ic { font-size: 25px; } a.kpt-quote { font-weight: 700; } }
/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  .kpt-ag h2 { font-size: 34px; } .kpt-ag-t { margin-left: 26px; padding-left: 26px; font-size: 16.5px; } .kpt-ag .kpt-btn { width: 210px; }
  #header .header-main li.header-search-form, #header .header-main .header-search-form { width: 180px !important; max-width: 180px !important; margin-left: 0 !important; }
  .kpt-po-sm .kpt-po-img { flex-basis: 200px; } .kpt-soc { flex-wrap: wrap; gap: 10px 16px; } .kpt-ft-c { padding-left: 30px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header #logo a { font-size: 0 !important; padding-left: 52px; background-size: 44px auto; } #header #logo a::before, #header #logo a::after { font-size: 18px; }
  .kpt-ag { flex-wrap: wrap; height: auto; padding: 24px 0; gap: 14px; } .kpt-ag-t { flex-basis: 40%; }
  .kpt-cap { grid-template-columns: minmax(0, 1fr); } .kpt-capb { padding-bottom: 30px; }
  .kpt-news { grid-template-columns: minmax(0, 1fr); } .kpt-h1 { font-size: 52px; }
  .kpt-ft-c { padding-left: 20px; } .kpt-soc { flex-wrap: wrap; }
  .kpt-tbl th:first-child, .kpt-tbl td:first-child { width: auto; padding-left: 16px !important; }
}
/* /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; }
