/* Năng Lượng Xanh Solar (solar2) — trang chủ y hệt mockup (xanh dương #1a80e6 + đỏ #ea1515 màu gốc, navy chân trang #021c46), cỡ đo theo mockup x1.875 (10-01) */
:root { --ns-blue: #1A80E6; --ns-blue2: #1366D6; --ns-blue-d: #0F6BCB; --ns-red: #EA1515; --ns-red-d: #C90F0F; --ns-navy: #0B2A5E; --ns-ink: #13213A; --ns-text: #3A4659; --ns-muted: #687385; --ns-line: #E2E7EE; --ns-soft: #F1F5F8; --ns-grey: #F6F6F7; --ns-foot: #021C46; }
body, p, li, a, input, select, textarea, button, h1, h2, h3, h4, td, th, summary, label, .nav > li > a { font-family: "Inter", sans-serif !important; }
h1 a, h2 a, h3 a, h4 a { font-family: inherit !important; }
body { color: var(--ns-text); }
/* ---------- header ---------- */
#top-bar { display: none !important; }
#header .header-main { background: #fff !important; box-shadow: 0 1px 0 var(--ns-line); }
#header #logo { width: 350px !important; margin: 0 !important; top: 0 !important; }
#header #logo a { position: relative; top: 0 !important; margin: 0 !important; font-size: 0 !important; line-height: 1; white-space: nowrap; display: flex; align-items: center; text-transform: none !important; }
#header #logo a::before { content: "Năng Lượng Xanh"; display: block; padding-left: 92px; min-height: 50px; line-height: 50px; background: url(icons/logo.png) left center / 82px auto no-repeat; font-size: 21px; font-weight: 700; color: var(--ns-blue2); letter-spacing: -.3px; }
#header #logo a::after { content: "\00a0Solar"; position: static !important; display: block !important; font-size: 21px; font-weight: 700; color: var(--ns-red); letter-spacing: -.3px; line-height: 50px; opacity: 1 !important; background: none !important; width: auto !important; height: auto !important; }
@media (min-width: 850px) { #header .header-main .flex-left { flex: 1 1 auto; justify-content: center; } #header .header-main .flex-left .header-nav { justify-content: center; } }
#header .header-nav-main { flex-wrap: nowrap !important; } #header .header-nav-main > li { margin: 0 14px !important; white-space: nowrap; }
#header .header-nav-main > li > a { font-size: 16px !important; font-weight: 500 !important; color: #1B2B45 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 26px 0 !important; }
#header .header-nav-main > li > a:hover { color: var(--ns-blue) !important; }
#header .header-nav-main > li.active > a::before, #header .header-nav-main > li.current-menu-item > a::before { display: none !important; }
#header .ns-tel { padding: 0 !important; display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 600; color: var(--ns-navy) !important; white-space: nowrap; margin-right: 26px; letter-spacing: .2px; }
#header .ns-tel .ns-mi { width: 24px; height: 24px; background: var(--ns-blue); }
#header .header-button-1 .button { background: var(--ns-red) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; font-weight: 700 !important; height: 45px; line-height: 45px; min-height: 45px; padding: 0 22px !important; margin: 0 !important; }
#header .header-button-1 .button:hover { background: var(--ns-red-d) !important; }
.mobile-nav i, .mobile-nav .icon-menu { color: var(--ns-blue) !important; }
/* ---------- chung ---------- */
.ns-sec p:not([class]), .ns-footer p:not([class]) { display: contents; }
.ns-sec p, .ns-footer p { margin-bottom: 0; }
.ns-sec .col, .ns-footer .col { padding-bottom: 0 !important; }
.ns-h1, .ns-h2, .ns-sec h3, .ns-footer h4 { letter-spacing: -.02em; }
.ns-h2 { color: var(--ns-navy) !important; font-size: 44px !important; font-weight: 800 !important; line-height: 1.2 !important; margin: 0 0 30px !important; }
.ns-h2 em { font-style: normal; color: var(--ns-blue2); }
.ns-sub { color: var(--ns-text); font-size: 19px; line-height: 1.5; margin: -20px 0 22px; }
.ns-note { text-align: center; color: #4B5566; font-size: 14.5px; margin-top: 16px; }
.ns-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 700; padding: 0 26px; min-height: 48px; line-height: 1.2; text-decoration: none !important; cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; transition: background .2s, color .2s; }
.ns-btn i { font-style: normal; font-size: 18px; }
.ns-btn-red { background: var(--ns-red); border-color: var(--ns-red); color: #fff !important; } .ns-btn-red:hover { background: var(--ns-red-d); border-color: var(--ns-red-d); }
.ns-btn-blue { background: var(--ns-blue); border-color: var(--ns-blue); color: #fff !important; } .ns-btn-blue:hover { background: var(--ns-blue-d); border-color: var(--ns-blue-d); }
.ns-btn-line { background: #fff; border-color: var(--ns-blue); color: var(--ns-blue2) !important; border-width: 1.5px; } .ns-btn-line:hover { background: #EAF3FD; }
.ns-mi { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; background: var(--ns-blue); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ns-more { color: var(--ns-blue2) !important; font-weight: 700; font-size: 15.5px; white-space: nowrap; text-decoration: none !important; } .ns-more i { font-style: normal; display: inline-block; margin-left: 8px; transition: transform .2s; } .ns-more:hover i { transform: translateX(3px); }
.ns-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 30px; }
.ns-head .ns-h2 { margin: 0 !important; flex: 0 1 auto; width: fit-content; min-width: 0; }
.ns-head-n { color: #4B5566; font-size: 15px; padding-bottom: 8px; }
.ns-head .ns-more { padding-bottom: 10px; }
/* ---------- hero ---------- */
.section.ns-hero { min-height: 458px; padding: 0 !important; }
.ns-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,22,48,.62) 0%, rgba(4,22,48,.38) 38%, rgba(4,22,48,0) 62%); pointer-events: none; }
.ns-hero-in { padding: 96px 0 112px; max-width: 760px; }
.ns-h1 { color: #fff !important; font-size: 60px !important; font-weight: 800 !important; line-height: 1.16 !important; margin: 0 0 12px !important; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.ns-lead { color: #fff; font-size: 19.5px; line-height: 1.5; margin: 0 0 20px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.ns-hero .ns-btn { min-height: 49px; min-width: 262px; font-size: 16.5px; }
/* ---------- công cụ ước tính ---------- */
.section.ns-calc-sec { padding: 0 !important; overflow: visible; z-index: 3; }
.ns-calc { position: relative; margin-top: -75px; background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(10,40,90,.13); display: grid; grid-template-columns: 455px minmax(0, 1fr); align-items: stretch; padding: 26px 32px 20px; min-height: 193px; }
.ns-calc-form { margin: 0; padding-right: 36px; border-right: 1px solid var(--ns-line); }
.ns-calc-t { color: var(--ns-blue2) !important; font-size: 27px !important; font-weight: 800 !important; line-height: 1.25 !important; margin: 0 0 12px !important; letter-spacing: -.02em; }
.ns-calc-form label { display: block; font-size: 16px; font-weight: 500; color: var(--ns-text); margin: 0 0 8px; }
.ns-calc-row { display: flex; gap: 22px; }
.ns-calc-row input { flex: 1 1 auto; min-width: 0; height: 50px !important; margin: 0 !important; border: 1px solid #CCD4DE !important; border-radius: 6px !important; box-shadow: none !important; font-size: 16px !important; padding: 0 16px !important; color: var(--ns-ink); }
.ns-calc-row input.ns-err { border-color: var(--ns-red) !important; }
.ns-calc-row .ns-btn { flex: 0 0 186px; min-height: 50px; }
.ns-calc-res { padding-left: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.ns-calc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ns-stat { display: flex; flex-direction: column; align-items: flex-start; padding: 2px 26px; border-left: 1px solid var(--ns-line); }
.ns-stat:first-child { border-left: 0; padding-left: 0; }
.ns-stat .ns-mi { width: 36px; height: 36px; background: var(--ns-blue2); margin-bottom: 10px; }
.ns-stat span { font-size: 16.5px; color: var(--ns-text); margin-bottom: 6px; white-space: nowrap; }
.ns-stat strong { font-size: 25px; font-weight: 800; color: var(--ns-ink); line-height: 1.2; white-space: nowrap; }
.ns-stat strong small { font-size: inherit; font-weight: 800; }
.ns-calc-note { font-size: 13.5px; color: var(--ns-muted); margin-top: 14px; }
/* ---------- giải pháp ---------- */
.section.ns-sol-sec { padding: 44px 0 0 !important; }
.ns-sol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px; }
.ns-card { border: 1px solid var(--ns-line); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.ns-card:hover { box-shadow: 0 14px 30px rgba(10,40,90,.10); }
.ns-card-img { display: block; height: 205px; background: #E6ECF2; overflow: hidden; }
.ns-card-img img, .ns-pk-img img, .ns-pj-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-card-b { padding: 16px 22px 18px; }
.ns-card-b h3 { font-size: 22.5px !important; font-weight: 700 !important; color: var(--ns-ink) !important; margin: 0 0 6px !important; line-height: 1.3 !important; }
.ns-card-b h3 a { color: inherit !important; }
.ns-card-d { font-size: 16px; color: var(--ns-text); margin: 0 0 10px; }
.ns-bnf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ns-line); margin-top: 26px; padding: 22px 0 26px; }
.ns-bnf > div { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 17px; font-weight: 600; color: #2A3548; border-left: 1px solid var(--ns-line); }
.ns-bnf > div:first-child { border-left: 0; }
.ns-bnf .ns-mi { width: 38px; height: 38px; background: var(--ns-blue2); }
/* ---------- gói lắp đặt ---------- */
.section.ns-pkg-sec { padding: 30px 0 26px !important; }
.ns-pkg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: end; }
.ns-pk { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(10,40,90,.05); padding: 24px 26px 26px; display: flex; flex-direction: column; }
.ns-pk-hot { border-top: 6px solid var(--ns-blue); padding-top: 32px; box-shadow: 0 16px 34px rgba(10,40,90,.12); }
.ns-pk h3 { font-size: 26.5px !important; font-weight: 800 !important; color: var(--ns-ink) !important; margin: 0 0 12px !important; line-height: 1.2 !important; }
.ns-pk-img { display: block; height: 94px; border-radius: 4px; overflow: hidden; background: #E6ECF2; margin: 0 0 16px; }
.ns-ticks { list-style: none; margin: 0 0 18px !important; padding: 0; }
.ns-ticks li { position: relative; padding-left: 30px; margin: 0 0 9px !important; font-size: 15.5px; color: var(--ns-text); line-height: 1.5; list-style: none; }
.ns-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--ns-blue2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ns-pk-p { color: var(--ns-red); font-size: 23px; font-weight: 800; margin: 0 0 16px; letter-spacing: -.01em; }
.ns-pk .ns-btn { width: 100%; min-height: 45px; font-size: 15.5px; }
/* ---------- thiết bị ---------- */
.section.ns-prd-sec { padding: 30px 0 26px !important; }
.ns-prd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ns-pd { display: flex; flex-direction: column; border: 1px solid var(--ns-line); border-radius: 8px; overflow: hidden; background: #fff; text-decoration: none !important; transition: box-shadow .2s; }
.ns-pd:hover { box-shadow: 0 14px 30px rgba(10,40,90,.10); }
.ns-pd-img { display: block; height: 231px; background: var(--ns-grey); }
.ns-pd-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ns-pd-n { display: block; padding: 16px 20px 4px; font-size: 16.5px; font-weight: 500; color: var(--ns-ink); }
.ns-pd-p { display: block; padding: 0 20px 20px; font-size: 21px; font-weight: 800; color: var(--ns-red); }
/* ---------- quy trình ---------- */
.section.ns-proc-sec { padding: 46px 0 46px !important; background: var(--ns-blue) !important; }
.ns-h2.ns-h2-w { color: #fff !important; font-size: 40px !important; margin-bottom: 26px !important; }
.ns-sub.ns-sub-w { color: rgba(255,255,255,.92); }
.ns-proc { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 40px; }
.ns-st { display: flex; flex-direction: column; align-items: center; text-align: center; width: 170px; color: #fff; }
.ns-st .ns-mi { width: 58px; height: 58px; background: #fff; margin-bottom: 14px; }
.ns-st-n { font-size: 21px; font-weight: 700; line-height: 1.3; }
.ns-st-t { font-size: 20px; font-weight: 700; line-height: 1.4; }
.ns-st-a { color: #fff; font-size: 30px; line-height: 1; padding-top: 50px; }
/* ---------- công trình ---------- */
.section.ns-prj-sec { padding: 30px 0 34px !important; }
.ns-prj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px; }
.ns-pj-img { height: 227px; border-radius: 6px; overflow: hidden; background: #E6ECF2; }
.ns-pj h3 { font-size: 20.5px !important; font-weight: 700 !important; color: var(--ns-ink) !important; margin: 16px 0 0 !important; line-height: 1.3 !important; }
/* ---------- hỏi đáp + form ---------- */
.section.ns-faq-sec { padding: 14px 0 26px !important; }
.ns-faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) 538px; gap: 34px; align-items: start; }
.ns-faq .ns-h2 { margin: 18px 0 22px !important; font-size: 41px !important; }
.ns-faq details { background: #fff; border: 1px solid #E3E8EE; border-radius: 6px; margin: 0 0 8px; }
.ns-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 12px 50px 12px 22px; font-size: 18.5px; font-weight: 600; color: var(--ns-ink); position: relative; line-height: 1.35; }
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq summary::before { content: "+"; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #9BA3AE; color: #fff; font-size: 22px; font-weight: 600; line-height: 27px; text-align: center; }
.ns-faq details[open] summary::before { content: "−"; background: var(--ns-blue); }
.ns-faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #3A4659; border-bottom: 2px solid #3A4659; transform: translateY(-70%) rotate(45deg); }
.ns-faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.ns-ans { padding: 0 24px 18px 68px; font-size: 16px; line-height: 1.6; color: var(--ns-text); }
.ns-form { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(10,40,90,.07); padding: 30px 30px 24px; }
.ns-form-t { color: var(--ns-blue2) !important; font-size: 29px !important; font-weight: 800 !important; margin: 0 0 8px !important; line-height: 1.25 !important; letter-spacing: -.02em; }
.ns-form-d { font-size: 17px; color: var(--ns-text); margin: 0 0 16px; }
.ns-form .wpcf7 form { margin: 0; }
.ns-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0 0 16px; }
.ns-f2 > p { display: contents; }
.ns-f2 label { display: block; margin: 0; font-size: 15px; font-weight: 500; color: var(--ns-text); }
.ns-f2 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ns-f2 input, .ns-f2 select { width: 100%; height: 45px !important; margin: 0 !important; border: 1px solid #CCD4DE !important; border-radius: 6px !important; box-shadow: none !important; font-size: 15px !important; padding: 0 14px !important; color: var(--ns-ink); background-color: #fff; }
.ns-form .wpcf7-submit { width: 100%; min-height: 48px; margin: 0 !important; background: var(--ns-red) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font-size: 16px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
.ns-form .wpcf7-submit:hover { background: var(--ns-red-d) !important; }
.ns-form .wpcf7 form { position: relative; } .ns-form .wpcf7-spinner { position: absolute; left: 50%; top: auto; bottom: 8px; margin: 0 0 0 -12px; }
.ns-form-n { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ns-muted); margin-top: 16px; }
.ns-form-n .ns-mi { width: 16px; height: 16px; background: #8A93A0; }
.wpcf7-form div > p:has(> label ~ label) { display: contents; }
/* ---------- footer ---------- */
.ns-footer { border-top: 4px solid var(--ns-blue) !important; padding: 44px 0 24px !important; }
.float-contact, .hotline-footer { display: none !important; }
#footer .absolute-footer { display: none !important; }
.ns-ft { display: grid; grid-template-columns: 514px 250px 248px minmax(0, 1fr); align-items: start; }
.ns-ft-logo { display: inline-flex; align-items: center; gap: 14px; font-size: 25px; font-weight: 700; color: #fff !important; letter-spacing: -.3px; margin-bottom: 18px; }
.ns-ft-logo .ns-mi { width: 76px; height: 54px; background: #fff; }
.ns-ft-slogan { font-size: 17px; color: #D3DBE8; }
.ns-ft-col h4 { color: #fff !important; font-size: 17px !important; font-weight: 700 !important; margin: 4px 0 18px !important; text-transform: none !important; letter-spacing: 0 !important; }
.ns-ft-col ul { list-style: none; margin: 0 !important; padding: 0; }
.ns-ft-col li { margin: 0 0 12px !important; list-style: none; font-size: 16px; line-height: 1.5; color: #D3DBE8; }
.ns-ft-col a { color: #D3DBE8 !important; } .ns-ft-col a:hover { color: #fff !important; }
.ns-ft-ct li { display: flex; align-items: flex-start; gap: 14px; white-space: nowrap; }
.ns-ft-ct .ns-mi { width: 22px; height: 22px; background: #fff; margin-top: 2px; }
.ns-ft-ct a.ns-ft-tel { color: var(--ns-red) !important; font-size: 20px; font-weight: 800; letter-spacing: .3px; line-height: 1.3; }
.ns-ft-copy { margin-top: 8px; font-size: 15px; color: #D3DBE8; }
/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header #logo { width: auto !important; }
  #header #logo a::before, #header #logo a::after { font-size: 18px; line-height: 36px; }
  #header #logo a::before { padding-left: 50px; min-height: 36px; background-size: 42px auto; }
  .ns-h2 { font-size: 30px !important; margin-bottom: 20px !important; }
  .ns-sub { margin: -10px 0 22px; font-size: 16px; }
  .ns-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ns-calc { margin-top: 20px; grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 22px; }
  .ns-calc-form { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--ns-line); }
  .ns-calc-t { font-size: 21px !important; }
  .ns-calc-row { flex-direction: column; gap: 12px; } .ns-calc-row .ns-btn { flex: 0 0 auto; }
  .ns-calc-res { padding-left: 0; }
  .ns-calc-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ns-stat { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0; border-left: 0; }
  .ns-stat .ns-mi { width: 30px; height: 30px; margin: 0; }
  .ns-stat span { flex: 1 1 auto; margin: 0; font-size: 15.5px; }
  .ns-stat strong { font-size: 21px; }
  .section.ns-sol-sec { padding-top: 44px !important; }
  .ns-sol, .ns-prj { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ns-bnf { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 0 26px; }
  .ns-bnf > div { justify-content: flex-start; border-left: 0; gap: 16px; }
  .ns-pkg { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ns-prd { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ns-prd > * { min-width: 0; }
  .ns-pd-img { height: 150px; }
  .ns-pd-n { padding: 12px 12px 2px; font-size: 15px; } .ns-pd-p { padding: 0 12px 14px; font-size: 17px; }
  .ns-h2.ns-h2-w { font-size: 28px !important; }
  .ns-proc { flex-wrap: wrap; justify-content: center; gap: 26px 10px; padding: 0; }
  .ns-st { width: 46%; } .ns-st-a { display: none; }
  .ns-st .ns-mi { width: 48px; height: 48px; }
  .ns-st-n { font-size: 18px; } .ns-st-t { font-size: 17px; }
  .ns-faqwrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ns-faq summary { font-size: 16.5px; padding: 14px 44px 14px 16px; gap: 12px; }
  .ns-ans { padding: 0 16px 16px 56px; }
  .ns-form { padding: 24px 18px; }
  .ns-form-t { font-size: 24px !important; }
  .ns-f2 { grid-template-columns: minmax(0, 1fr); }
  .ns-ft { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .ns-ft-brand, .ns-ft-ct { grid-column: 1 / -1; }
}
/* ruler:manual (10-01, sau khi có ảnh): logo chân trang theo mockup (icon ~120px, chữ 27px) */
.ns-ft-logo .ns-mi { width: 84px; height: 84px; }
.ns-ft-logo { font-size: 24px; gap: 12px; }
/* mob-hero */ @media (max-width: 849px) { .section.ns-hero { padding-top: 250px !important; min-height: 0; background-color: var(--ns-foot) !important; } .ns-hero .section-bg { top: 0 !important; bottom: auto !important; height: 250px !important; } .ns-hero .section-bg img.bg { object-position: 62% 50% !important; } .ns-hero .section-bg::after { display: none; } .ns-hero-in { padding: 28px 0 34px; } .ns-h1 { font-size: 34px !important; } .ns-lead { font-size: 17px; } .ns-hero .ns-btn { min-width: 0; width: 100%; } } @media (max-width: 849px) { #header .mobile-nav a.icon, #header .mobile-nav .button.round, #header .mobile-nav .cart-item .header-cart-link { background: transparent !important; border: 0 !important; box-shadow: none !important; } #header .mobile-nav i, #header .mobile-nav [class^="icon-"], #header .mobile-nav .cart-icon strong { color: var(--ns-blue) !important; border-color: var(--ns-blue) !important; font-size: 24px; } #header .mobile-nav .header-button-1 { display: none !important; } } /* /mob-hero */
/* mid-fix */ @media (min-width: 850px) and (max-width: 1399px) { #header #logo { width: 260px !important; } #header #logo a::before, #header #logo a::after { font-size: 20px; } #header #logo a::before { padding-left: 62px; background-size: 52px auto; } #header .ns-tel { margin-right: 14px; font-size: 15px; } .ns-calc { grid-template-columns: 380px minmax(0, 1fr); } .ns-calc-row .ns-btn { flex-basis: 150px; padding: 0 12px; } .ns-stat { padding: 2px 16px; } .ns-stat span { font-size: 15px; white-space: normal; } .ns-ft { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 20px; } } @media (min-width: 850px) and (max-width: 1199px) { #header #logo a::before, #header #logo a::after { font-size: 17px; } #header #logo a::before { padding-left: 52px; background-size: 44px auto; } #header .ns-tel { display: none; } .ns-calc { grid-template-columns: minmax(0, 1fr); gap: 22px; } .ns-calc-form { border-right: 0; padding-right: 0; } .ns-calc-res { padding-left: 0; } .ns-pkg, .ns-prd { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ns-proc { padding: 0; } .ns-st { width: 140px; } .ns-st-t { font-size: 17px; } .ns-faqwrap { grid-template-columns: minmax(0, 1fr) 440px; } } /* /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; }
