/* =========================================================
   NK Techco – giao diện theo bố cục khinenachau.com
   Màu: navy (nền tối) + đỏ thương hiệu NK (điểm nhấn)
   ========================================================= */
:root {
  --nk-navy: #0d2240;
  --nk-navy-2: #15305a;
  --nk-red: #c41c1d;
  --nk-red-dark: #a01516;
  --nk-bg: #f2f4f7;
  --nk-text: #1f2a3d;
  --nk-muted: #5b6678;
  --nk-line: #e3e7ee;
  --nk-radius: 6px;
  --nk-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

body, h1, h2, h3, h4, h5, h6, .nav > li > a, .button, button, input, select, textarea, .heading-font, .alt-font {
  font-family: var(--nk-font) !important;
}
body { color: var(--nk-text); font-size: 15px; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { color: var(--nk-navy); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--nk-red); }
a:hover { color: var(--nk-red-dark); }
.nk-icon { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Buttons ---------- */
.nk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.4em; border-radius: var(--nk-radius); font-weight: 600; font-size: 15px;
  line-height: 1.2; text-decoration: none; transition: background .2s, color .2s, transform .2s;
  border: 2px solid transparent; cursor: pointer;
}
.nk-btn .nk-icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.nk-btn:hover .nk-icon--arrow { transform: translateX(3px); }
.nk-btn--primary { background: var(--nk-red); color: #fff; }
.nk-btn--primary:hover { background: var(--nk-red-dark); color: #fff; }
.nk-btn--outline { border-color: var(--nk-red); color: var(--nk-red); background: transparent; }
.nk-btn--outline:hover { background: var(--nk-red); color: #fff; }
.nk-btn--light { background: #fff; color: var(--nk-navy); }
.nk-btn--zalo { background: #0068ff; color: #fff; }
.nk-btn--zalo:hover { background: #0052cc; color: #fff; }
.button.primary, .button.alt, button[type=submit], input[type=submit] { background-color: var(--nk-red); border-radius: var(--nk-radius); }

/* ---------- Header ---------- */
.header-main { background: var(--nk-navy) !important; }
.header-main .nav > li > a { color: #fff; }
.header-main .searchform .icon-search { color: var(--nk-navy) !important; }
#logo img { max-height: 54px; width: auto; }
/* Ô tìm kiếm: một khung trắng bo góc, nút kính lúp nằm bên trong */
.header-main .searchform .flex-row { background: #fff; border-radius: 8px; overflow: hidden; flex-wrap: nowrap; align-items: stretch; }
.header-main .searchform .flex-col { padding: 0; margin: 0; }
.header-main .searchform .search-field { height: 44px; margin: 0; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent !important; color: var(--nk-text) !important; padding: 0 8px 0 18px; font-size: 14px; }
.header-main .searchform .search-field::placeholder { color: #8a94a6; opacity: 1; }
.header-main .searchform .ux-search-submit { height: 44px; width: 50px; min-height: 0; margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: transparent !important; color: var(--nk-navy) !important; box-shadow: none; display: flex; align-items: center; justify-content: center; }
.header-main .searchform .ux-search-submit:hover { color: var(--nk-red) !important; }
.header-main .searchform .ux-search-submit i { font-size: 18px; top: 0; margin: 0; }
.header-main .flex-right > .nav { flex-wrap: nowrap; gap: 26px; }
.header-main .header-search-form { width: 440px; max-width: 40vw; }
.header-main .header-search-form .searchform-wrapper { width: 100%; }
.header-bottom { background: var(--nk-navy) !important; border-top: 1px solid rgba(255,255,255,.08); }
.header-bottom .nav > li > a { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; padding-left: 4px; padding-right: 4px; }
.header-bottom .nav > li > a:hover, .header-bottom .nav > li.active > a, .header-bottom .nav > li.current-menu-ancestor > a { color: #fff; }
.header-bottom .nav > li.active > a, .header-bottom .nav > li.current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--nk-red); }
.header-vertical-menu__opener { background: transparent !important; color: #fff !important; font-weight: 700; font-size: 13px; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.15); }
.header-vertical-menu__opener .icon-angle-down { margin-left: auto; }
.header-vertical-menu__fly-out { background: #fff !important; border-top: 3px solid var(--nk-red); }
.ux-nav-vertical-menu > li { border-bottom: 1px solid var(--nk-line); }
.ux-nav-vertical-menu > li > a { color: var(--nk-navy) !important; font-weight: 600; font-size: 14px; text-transform: none; padding: 13px 18px !important; display: flex; justify-content: space-between; align-items: center; }
.ux-nav-vertical-menu > li > a .icon-angle-down { transform: rotate(-90deg); opacity: .5; }
.ux-nav-vertical-menu > li:hover > a { color: var(--nk-red) !important; background: var(--nk-bg); }
.ux-nav-vertical-menu .nav-dropdown { min-width: 240px; }
.ux-nav-vertical-menu .nav-dropdown a { color: var(--nk-text) !important; font-size: 14px; }
.ux-nav-vertical-menu .nav-dropdown a:hover { color: var(--nk-red) !important; }
.nav-dropdown { border-top: 3px solid var(--nk-red); border-radius: 0 0 var(--nk-radius) var(--nk-radius); }
.nav-dropdown > li > a { font-size: 14px; color: var(--nk-text); }
.nav-dropdown > li > a:hover { color: var(--nk-red); }
.nk-hotline-h { display: flex; align-items: center; gap: 10px; color: #fff; line-height: 1.25; }
.nk-hotline-h .nk-icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--nk-red); color: #fff; }
.nk-hotline-h small { display: block; font-size: 12px; opacity: .75; }
.nk-hotline-h a { color: #fff; font-weight: 700; font-size: 17px; }
.header-wrapper.stuck .header-main { box-shadow: none; }

/* ---------- Section title ---------- */
.nk-title { margin-bottom: 28px; }
.nk-title--center { text-align: center; }
.nk-title__label { display: inline-block; color: var(--nk-red); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; padding-left: 10px; border-left: 3px solid var(--nk-red); line-height: 1.1; margin-bottom: 10px; }
.nk-title__heading { font-size: clamp(26px, 3vw, 38px); line-height: 1.22; margin: 0; font-weight: 400; color: var(--nk-navy); }
.nk-title__light { font-weight: 300; display: block; }
.nk-title__bold { font-weight: 700; display: block; }
.nk-title--inline .nk-title__light, .nk-title--inline .nk-title__bold { display: inline; }
.nk-title--dark .nk-title__heading, .dark .nk-title__heading { color: #fff; }

/* ---------- Generic sections ---------- */
.nk-sec { padding: 80px 0; }
.nk-sec--navy { background: var(--nk-navy); color: rgba(255,255,255,.85); }
.nk-sec--gray { background: var(--nk-bg); }
.nk-lead { font-size: 15px; color: var(--nk-muted); }
.dark .nk-lead { color: rgba(255,255,255,.8); }

/* Hero */
.nk-hero .bg.fill { background-size: cover !important; }
.nk-hero .bg img, .nk-hero .banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.nk-hero-box { background: rgba(13,34,64,.94); padding: 42px 44px; max-width: 420px; color: #fff; }
.nk-hero-box h1, .nk-hero-box h2 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; margin-bottom: 14px; font-weight: 300; }
.nk-hero-box h1 strong, .nk-hero-box h2 strong { font-weight: 700; display: block; }
.nk-hero-box p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 22px; }

/* About images */
.nk-about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nk-about-imgs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }

/* Features (3 cam kết) */
.nk-feature__icon { color: var(--nk-red); font-size: 46px; line-height: 1; margin-bottom: 18px; }
.nk-feature__title { font-size: 26px; line-height: 1.2; margin-bottom: 16px; color: #fff; }
.nk-feature__title span { display: block; font-weight: 300; }
.nk-feature__title strong { display: block; font-weight: 700; }
.nk-feature__text { font-size: 14px; color: rgba(255,255,255,.8); }
.nk-feature--box { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 46px 24px 26px; position: relative; height: 100%; }
.nk-feature--box .nk-feature__icon { position: absolute; top: -24px; left: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--nk-red); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0; }
.nk-feature--box .nk-feature__title { font-size: 19px; margin-bottom: 10px; }

/* Stats */
.nk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.nk-stat__num { font-size: clamp(44px, 5vw, 64px); font-weight: 400; color: var(--nk-red); line-height: 1; }
.nk-stat__num sup { font-size: .55em; top: -.7em; margin-left: 2px; }
.nk-stat__label { margin-top: 12px; font-size: 13px; text-transform: uppercase; color: var(--nk-muted); letter-spacing: .03em; }
.nk-big-quote { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--nk-navy); font-weight: 300; }
.nk-big-quote strong { color: var(--nk-red); font-weight: 700; }

/* Cards (lĩnh vực / dịch vụ) */
.nk-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nk-cards--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nk-cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nk-card { position: relative; display: block; overflow: hidden; color: #fff; aspect-ratio: 1/1; background: var(--nk-navy); }
.nk-cards--2 .nk-card, .nk-cards--3 .nk-card { aspect-ratio: 16/10; border-radius: 8px; }
.nk-card__img, .nk-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nk-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,34,64,0) 35%, rgba(13,34,64,.92) 100%); }
.nk-card:hover .nk-card__img img { transform: scale(1.06); }
.nk-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px; text-align: center; }
.nk-card__title { color: #fff; font-size: 16px; margin: 0; line-height: 1.35; }
.nk-card__desc { color: rgba(255,255,255,.85); font-size: 13px; margin: 6px 0 0; }

/* Process */
.nk-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.nk-process__step { text-align: center; position: relative; margin: 0; }
.nk-process__step:not(:last-child)::after { content: ''; position: absolute; top: 38px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 2px dashed rgba(196,28,29,.4); }
.nk-process__icon { position: relative; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: #fff; color: var(--nk-red); font-size: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(13,34,64,.1); }
.nk-process__num { position: absolute; top: -4px; right: -4px; background: var(--nk-navy); color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 2px 7px; }
.nk-process__title { font-size: 16px; margin-bottom: 6px; }
.nk-process__step p { font-size: 13px; color: var(--nk-muted); margin: 0; }

/* Blog block */
.nk-blog { display: grid; grid-template-columns: 1fr 1fr .95fr; gap: 14px 22px; }
.nk-blog__big { display: contents; }
.nk-post__img { display: block; overflow: hidden; background: #fff; }
.nk-post__img img { width: 100%; display: block; transition: transform .4s; }
.nk-post:hover .nk-post__img img { transform: scale(1.04); }
.nk-post--big .nk-post__img img { aspect-ratio: 16/10; object-fit: cover; }
.nk-post__date { font-size: 12px; color: var(--nk-muted); margin: 14px 0 6px; }
.nk-post__title { font-size: 15px; line-height: 1.4; margin: 0 0 6px; }
.nk-post__title a { color: var(--nk-navy); }
.nk-post__title a:hover { color: var(--nk-red); }
.nk-post__excerpt { font-size: 13px; color: var(--nk-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nk-blog__small { display: flex; flex-direction: column; gap: 14px; }
.nk-post--small { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; }
.nk-post--small .nk-post__img img { aspect-ratio: 1/1; object-fit: cover; }
.nk-post--small .nk-post__date { margin-top: 0; }
.nk-post--small .nk-post__title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Partners */
.nk-partners { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--nk-line); border-top: 1px solid var(--nk-line); }
.nk-partners__item { border-right: 1px solid var(--nk-line); border-bottom: 1px solid var(--nk-line); padding: 22px; display: flex; align-items: center; justify-content: center; background: #fff; }
.nk-partners__item img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(30%); transition: filter .3s; }
.nk-partners__item:hover img { filter: none; }

/* Video */
.nk-video__btn { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; }
.nk-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.nk-video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: var(--nk-red); border-radius: 12px; }
.nk-video__play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.nk-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; display: block; }
.nk-video__title { font-size: 16px; margin: 14px 0 0; }
.dark .nk-video__title { color: #fff; }

/* FAQ */
.nk-faq__item { border: 1px solid var(--nk-line); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.nk-faq__q { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--nk-navy); position: relative; }
.nk-faq__q::-webkit-details-marker { display: none; }
.nk-faq__q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--nk-bg); color: var(--nk-red); text-align: center; line-height: 24px; font-size: 18px; }
.nk-faq__item[open] .nk-faq__q::after { content: '–'; background: var(--nk-red); color: #fff; }
.nk-faq__a { padding: 0 18px 14px; color: var(--nk-muted); font-size: 14px; }
.nk-faq__a p:last-child { margin-bottom: 0; }

/* Newsletter / CTA */
.nk-cta { position: relative; }
.nk-cta__img img { display: block; width: 100%; height: auto; }
.nk-cta-form .wpcf7-form > p { display: flex; gap: 6px; background: #fff; border-radius: 8px; padding: 6px; margin: 0; }
.nk-cta-form .wpcf7-form-control-wrap { flex: 1; }
.nk-cta-form input[type=tel] { border: 0; box-shadow: none; margin: 0; height: 46px; background: #fff; }
.nk-cta-form input[type=submit] { margin: 0 !important; height: 46px; width: auto !important; padding: 0 28px; }
.nk-cta { margin-bottom: 80px; }
.nk-cta-form .wpcf7-spinner { display: none; }

/* Contact list */
.nk-contact { list-style: none; margin: 0; padding: 0; }
.nk-contact li { display: flex; gap: 12px; margin: 0 0 14px; padding: 0; align-items: flex-start; list-style: none; }
.nk-contact li > span:last-child { flex: 1 1 auto; min-width: 0; }
.nk-contact__icon { flex: 0 0 auto; color: var(--nk-red); font-size: 18px; line-height: 1; margin-top: 2px; }
.nk-contact__label { display: block; font-size: 12px; line-height: 1.4; color: var(--nk-muted); margin-bottom: 2px; }
.nk-contact__value { display: block; color: var(--nk-text); font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
.nk-contact__value a { color: inherit; }
.nk-contact--card { background: #fff; box-shadow: 0 8px 30px rgba(13,34,64,.1); border-radius: 8px; padding: 20px 18px 6px; }
.nk-contact--card .nk-contact__icon { flex: 0 0 34px; width: 34px; height: 34px; min-width: 34px; border-radius: 50%; background: var(--nk-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; margin: 0; }
.nk-contact--card .nk-contact__icon .nk-icon { width: 16px; height: 16px; }
.nk-contact--card .nk-contact__label { color: var(--nk-red); font-weight: 600; }

/* ---------- Footer ---------- */
.nk-footer { background: var(--nk-bg); font-size: 14px; }
.nk-footer__title { font-weight: 700; color: var(--nk-navy); text-transform: uppercase; font-size: 15px; padding-left: 10px; border-left: 3px solid var(--nk-red); line-height: 1.1; margin-bottom: 18px; }
.nk-fbrand__logo img { max-width: 210px; height: auto; margin-bottom: 14px; }
.footer-secondary, .payment-icons { display: none !important; }
.nk-fbrand__name { font-weight: 700; color: var(--nk-navy); margin-bottom: 6px; }
.nk-fbrand p { color: var(--nk-muted); margin-bottom: 8px; }
.nk-fbrand__slogan { color: var(--nk-red); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.nk-social { display: flex; gap: 8px; }
.nk-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--nk-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.nk-social a:hover { background: var(--nk-red); color: #fff; }
.nk-social__zalo { font-size: 10px !important; font-weight: 700; }
.nk-links { list-style: none; margin: 0; padding: 0; }
.nk-links li { margin: 0 0 9px; }
.nk-links a { color: var(--nk-text); }
.nk-links a:hover { color: var(--nk-red); }
.absolute-footer { background: var(--nk-bg) !important; border-top: 1px solid var(--nk-line); color: var(--nk-muted) !important; font-size: 13px; padding: 14px 0 !important; }
.absolute-footer a { color: var(--nk-navy); }
.nk-map iframe { border-radius: 8px; display: block; }

/* ---------- Floating & mobile bar ---------- */
/* Nút liên hệ nổi bên phải – theo mẫu khinenachau.com */
.nk-float { position: fixed; right: 24px; bottom: 24px; z-index: 99; display: flex; flex-direction: column; align-items: center; row-gap: 16px; opacity: 0; visibility: hidden; transform: translateX(20px); transition: opacity .6s ease-in-out, transform .6s ease-in-out, visibility .6s; }
.nk-float.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.nk-float__btn { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 7px 29px 0 rgba(100,100,111,.2); display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.nk-float__btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px 0 rgba(100,100,111,.3); }
.nk-float__btn img { width: 40px; height: 40px; display: block; }
.nk-float .nk-float__top, .nk-float button.nk-float__top { border: 1px solid var(--nk-red) !important; border-radius: 50% !important; min-height: 0 !important; line-height: 1 !important; background: #fff !important; }
.nk-float__top img { width: 32px; height: 32px; }
.nk-mbar { display: none; }
#top-link { display: none !important; }

/* ---------- Quote box / forms ---------- */
.nk-quote-box { background: var(--nk-navy); color: #fff; padding: 26px 24px 18px; border-radius: 6px; }
.nk-quote-box__title { text-align: center; text-transform: uppercase; font-size: 15px; margin-bottom: 6px; }
.nk-quote-box__sub { text-align: center; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.nk-quote-box--inline .nk-quote-box__title { margin-bottom: 16px; }
.nk-form .nk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.nk-form .nk-row > p { display: contents; }
.nk-form .nk-row br { display: none; }
.nk-form input[type=text], .nk-form input[type=email], .nk-form input[type=tel], .nk-form textarea, .nk-form select {
  border-radius: 4px; border: 1px solid transparent; box-shadow: none; background: #f1f3f6; font-size: 14px; margin-bottom: 10px; height: 44px;
}
.nk-form textarea { height: 90px; min-height: 90px; padding-top: 10px; }
.nk-form p { margin: 0; }
.nk-form input[type=submit] { width: 100%; margin: 6px 0 0; height: 46px; font-weight: 700; text-transform: none; font-size: 15px; }
.nk-form .wpcf7-not-valid-tip { font-size: 12px; margin: -6px 0 6px; }
.nk-form .wpcf7-response-output { font-size: 13px; margin: 10px 0 0 !important; }
.nk-quote-box .wpcf7-response-output { color: #fff; }
.lightbox-content .nk-quote-box { border-radius: 0; }

/* ---------- WooCommerce: danh mục ---------- */
.nk-cat-head { padding: 18px 0 0; }
.nk-breadcrumb { font-size: 13px; color: var(--nk-muted); margin-bottom: 18px; }
.nk-breadcrumb a { color: var(--nk-muted); }
.nk-breadcrumb .sep { margin: 0 8px; color: var(--nk-red); }
.nk-cat-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--nk-bg); }
.nk-cat-hero__text { padding: 48px 40px; align-self: center; }
.nk-cat-hero__title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.nk-cat-hero__desc { color: var(--nk-muted); font-size: 15px; margin-bottom: 22px; }
.nk-cat-hero__desc p:last-child { margin-bottom: 0; }
.nk-cat-hero__img img { width: 100%; height: 100%; min-height: 300px; max-height: 380px; object-fit: cover; display: block; }
.nk-cat-values { background: var(--nk-navy); padding: 70px 0 50px; margin-bottom: 10px; }
.nk-cat-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-page-title { margin-top: 10px; }
.category-page-title .page-title-inner { padding-top: 10px; padding-bottom: 0; }
.woocommerce-result-count, .woocommerce-ordering select { font-size: 13px; color: var(--nk-muted); }

/* Card sản phẩm */
.product-small.box { border: 1px solid var(--nk-line); border-radius: 6px; overflow: hidden; height: 100%; display: flex; flex-direction: column; background: #fff; transition: box-shadow .3s, border-color .3s; }
.product-small.box:hover { box-shadow: 0 10px 30px rgba(13,34,64,.12); border-color: transparent; }
.product-small .box-image { background: #fff; flex: none; }
.product-small .box-image img { aspect-ratio: 1/1; object-fit: contain; padding: 14px; }
.product-small .box-text { padding: 14px 16px 16px; text-align: left; flex: 1; display: flex; flex-direction: column; }
.product-small .name { margin-bottom: 8px; }
.product-small .title-wrapper { flex: none; }
.product-small .name a { color: var(--nk-navy); font-weight: 600; font-size: 15px; line-height: 1.4; min-height: 2.8em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-small .name a:hover { color: var(--nk-red); }
.product-small .category { display: none; }
.product-small .price-wrapper { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-small .price-wrapper .price { margin-top: auto; }
.product-small .nk-card-cta { flex: none; }
.slider .product-small.col, .products.row > .product-small.col { height: 100%; }
.nk-card-specs { list-style: none; margin: 0 0 8px; padding: 0; font-size: 12.5px; color: var(--nk-muted); }
.nk-card-specs li { margin: 0 0 3px; padding: 0; list-style: none; }
.nk-card-specs span { color: var(--nk-text); }
.nk-price-contact { color: var(--nk-red); font-weight: 700; font-size: 15px; }
.nk-card-cta { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--nk-red); padding: 0; margin-top: 4px; }
.nk-card-cta .nk-icon { transition: transform .2s; }
.nk-card-cta:hover .nk-icon { transform: translateX(3px); }
.products .col, .slider .product-small.col { padding-bottom: 24px; }
.products.row > .col > .col-inner, .slider .product-small.col > .col-inner { height: 100%; }
.product-small .price { display: block; margin-bottom: 8px; }

/* ---------- WooCommerce: chi tiết ---------- */
.product-main { padding-top: 24px; }
.product-info .product-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; margin-bottom: 16px; }
.product-info .is-divider { display: none; }
.nk-spec-table { width: 100%; border: 1px solid var(--nk-line); border-radius: 6px; border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 18px; font-size: 14px; }
.nk-spec-table th, .nk-spec-table td { padding: 10px 16px; border: 0; text-align: left; }
.nk-spec-table th { width: 40%; color: var(--nk-navy); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; }
.nk-spec-table td { color: var(--nk-text); }
.nk-spec-table tr:nth-child(odd) { background: var(--nk-bg); }
.nk-short-desc { font-size: 14px; color: var(--nk-muted); margin-bottom: 18px; }
.nk-buy__head { font-size: 18px; color: var(--nk-navy); font-weight: 300; margin: 20px 0 12px; }
.nk-buy__head strong { font-weight: 700; }
.nk-buy__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.nk-commit--mobile { display: none; }
.nk-commit { background: var(--nk-bg); padding: 18px 20px 8px; margin-top: 24px; border-radius: 6px; }
.nk-commit__title { font-weight: 800; color: var(--nk-navy); font-size: 16px; margin-bottom: 10px; }
.nk-commit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.nk-commit li { display: flex; gap: 10px; align-items: center; font-size: 13px; margin: 0; padding: 10px 0; border-top: 1px solid var(--nk-line); }
.nk-commit li .nk-icon { color: var(--nk-navy); font-size: 22px; }
.woocommerce-tabs .tabs { border: 0; }
.woocommerce-tabs .tabs li a { font-size: 18px; font-weight: 700; color: var(--nk-navy); text-transform: uppercase; border-bottom: 3px solid var(--nk-red); padding: 6px 0; }
.woocommerce-tabs .tabs li::before { display: none; }
.woocommerce-tabs .panel { max-width: 860px; }
.woocommerce-tabs .panel img { height: auto; }
.related-products-wrapper h3, .related .product-section-title { font-weight: 300; font-size: 26px; text-transform: none; color: var(--nk-navy); }
.product-footer .woocommerce-tabs { border-top: 0; }

/* ---------- Blog / pages ---------- */
.page-title-inner h1, .entry-title { color: var(--nk-navy); }
.entry-content h2 { font-size: 24px; margin-top: 1.4em; }
.entry-content h3 { font-size: 19px; margin-top: 1.2em; }
.entry-content img { border-radius: 4px; }
.nk-post-cta { margin: 32px 0 10px; padding: 24px; border-radius: 8px; background: var(--nk-navy); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nk-post-cta strong { font-size: 18px; display: block; }
.nk-post-cta p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.nk-page-hero { background: var(--nk-navy) center/cover no-repeat; position: relative; padding: 70px 0; color: #fff; }
.nk-page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,34,64,.95), rgba(13,34,64,.55)); }
.nk-page-hero .container { position: relative; }
.nk-page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.nk-page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.nk-page-hero .nk-breadcrumb, .nk-page-hero .nk-breadcrumb a { color: rgba(255,255,255,.75); }
.nk-checklist { list-style: none; margin: 0 0 1em; padding: 0; }
.nk-checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.nk-checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--nk-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }
.nk-box { background: #fff; border: 1px solid var(--nk-line); border-radius: 8px; padding: 26px; height: 100%; }
.nk-box h3 { font-size: 18px; }
.nk-job { border: 1px solid var(--nk-line); border-radius: 8px; padding: 22px 24px; margin-bottom: 16px; background: #fff; }
.nk-job h3 { margin-bottom: 6px; }
.nk-job__meta { font-size: 13px; color: var(--nk-muted); margin-bottom: 10px; }
.widget .widget-title { color: var(--nk-navy); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 849px) {
  .nk-sec { padding: 56px 0; }
  .nk-cards { grid-template-columns: repeat(2, 1fr); }
  .nk-cards--3 { grid-template-columns: 1fr 1fr; }
  .nk-process { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .nk-process__step::after { display: none; }
  .nk-blog { grid-template-columns: 1fr 1fr; }
  .nk-blog__small { grid-column: 1 / -1; }
  .nk-partners { grid-template-columns: repeat(3, 1fr); }
  .nk-cat-hero { grid-template-columns: 1fr; }
  .nk-cat-hero__img { order: -1; }
  .nk-cat-hero__img img { min-height: 0; max-height: 260px; }
  .nk-cat-hero__text { padding: 28px 22px; }
  .nk-cat-values__grid { grid-template-columns: 1fr; gap: 40px; }
  .nk-commit--desktop { display: none; }
  .nk-commit--mobile { display: block; }
  .header-main { background: var(--nk-navy) !important; }
  .header-main .icon-menu, .header-main .nav-icon a, .header-main .nav-icon .icon-search { color: #fff !important; }
  .nk-float { right: 14px; bottom: 74px; row-gap: 10px; }
  .nk-float__btn:not(.nk-float__top) { display: none; }
  .nk-float__btn { width: 48px; height: 48px; }
  .nk-float__btn img, .nk-float__top img { width: 24px; height: 24px; }
  .nk-mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .nk-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; color: var(--nk-navy); font-size: 11.5px; font-weight: 600; }
  .nk-mbar a .nk-icon { font-size: 20px; color: var(--nk-red); }
  .nk-mbar__zalo { background: #0068ff; color: #fff; border-radius: 6px; font-size: 9px; font-weight: 800; padding: 3px 4px; line-height: 1; }
  .nk-mbar__main { background: var(--nk-red); color: #fff !important; }
  .nk-mbar__main .nk-icon { color: #fff !important; }
  body { padding-bottom: 58px; }
}
@media (max-width: 549px) {
  body { font-size: 15px; }
  .nk-sec { padding: 44px 0; }
  .nk-hero-box { padding: 26px 22px; max-width: none; background: rgba(13,34,64,.9); }
  .nk-cards--2, .nk-cards--3 { grid-template-columns: 1fr; }
  .nk-process { grid-template-columns: 1fr 1fr; }
  .nk-blog { grid-template-columns: 1fr; }
  .nk-partners { grid-template-columns: repeat(2, 1fr); }
  .nk-stats { gap: 24px 16px; }
  .nk-commit ul { grid-template-columns: 1fr; }
  .nk-form .nk-row { grid-template-columns: 1fr; gap: 0; }
  .nk-buy__btns { grid-template-columns: 1fr 1fr; }
  .product-small .name a { font-size: 13px; }
  .product-small .box-text { padding: 10px 10px 12px; }
  .nk-card-cta { font-size: 12px; }
  .nk-card-specs { font-size: 12px; }
}

/* Danh mục chưa có sản phẩm */
.nk-empty { text-align: center; background: var(--nk-bg); border-radius: 8px; padding: 48px 24px; margin: 20px 0 40px; }
.nk-empty h2 { font-size: 22px; margin-bottom: 8px; }
.nk-empty p { color: var(--nk-muted); max-width: 560px; margin: 0 auto 18px; }

/* Bảng trong bài viết */
.nk-table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.entry-content table th { background: var(--nk-navy); color: #fff; text-transform: none; letter-spacing: 0; font-weight: 600; }
.entry-content table th, .entry-content table td { border: 1px solid var(--nk-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.entry-content table tr:nth-child(even) td { background: var(--nk-bg); }
.entry-content blockquote { border-left: 4px solid var(--nk-red); background: var(--nk-bg); padding: 12px 18px; font-style: normal; margin: 0 0 1.2em; }
.entry-content .nk-faq { margin-bottom: 1.5em; }

/* Trang Giới thiệu: thẻ lĩnh vực hoạt động (ảnh cùng tỉ lệ, thẻ cao bằng nhau) */
.nk-about-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nk-about-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; margin: 0; }
.nk-about-card h3 { margin: 22px 26px 10px; font-size: 19px; }
.nk-about-card p { margin: 0 26px 26px; }
.nk-about-intro { max-width: 900px; margin: 0 auto; text-align: center; }
.nk-about-intro .nk-title, .nk-about-intro .nk-section-title { text-align: center; }

/* Khối tầm nhìn / sứ mệnh: icon cạnh tiêu đề một dòng */
.nk-feature--row { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.nk-feature--row .nk-feature__icon { margin: 0; font-size: 40px; }
.nk-feature--row .nk-feature__title { margin: 0; font-size: 28px; }
.nk-feature--row .nk-feature__title span, .nk-feature--row .nk-feature__title strong { display: inline; }
.nk-feature--row .nk-feature__text { grid-column: 1 / -1; margin-top: 16px; }
.nk-feature--row .nk-feature__title strong { margin-left: .3em; }

/* Hàng thẻ cao bằng nhau (Flatsome: col-inner phải cao 100% cột) */
.nk-equal > .col { display: flex; }
.nk-equal > .col > .col-inner { width: 100%; height: 100%; }

/* Bảng thông số máy nén khí Xinlei + khối giới thiệu hãng */
.nk-table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.nk-xl-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; margin: 0; }
.nk-xl-table th, .nk-xl-table td { border: 1px solid var(--nk-line); padding: 7px 6px; text-align: center; vertical-align: middle; }
.nk-xl-table thead th { background: var(--nk-navy); color: #fff; font-weight: 600; }
.nk-xl-table tbody tr:nth-child(even) { background: #f6f8fb; }
.nk-xl-table tbody th { font-weight: 600; white-space: nowrap; }
.nk-xl-table--left { min-width: 0; }
.nk-xl-table--left th, .nk-xl-table--left td { text-align: left; }
.nk-note { font-size: 13px; color: #5b6575; }
.nk-xl-intro { margin: 50px 0 20px; }
.nk-xl-intro h3 { margin-top: 1.6em; }
.nk-xl-videos .nk-btn { margin: 0 10px 10px 0; }

/* Video nhúng (Google Vids) trong phần giới thiệu Xinlei */
.nk-xl-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 1em; }
.nk-xl-video-grid .nk-video-embed { position: relative; padding-top: 76%; background: #000; border-radius: 8px; overflow: hidden; }
.nk-xl-video-grid .nk-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nk-xl-video-grid .nk-xl-videos { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 849px) { .nk-xl-video-grid { grid-template-columns: 1fr; } }
