/* ==========================================================================
   NHÀ XƯỞNG VĨNH PHÚC — PAGE COMPONENTS (v2.2)
   Search, listings, factory detail, blog, about, contact, forms, mobile.
   Builds on the tokens in modern.css.
   ========================================================================== */

/* ---------- Utilities ---------- */
html.nvp-locked { overflow: hidden !important; }
/* Closed dialogs must never catch clicks: component display rules
   (e.g. display:flex) would otherwise override the [hidden] attribute and
   leave an invisible full-screen layer over the page. */
.nvp-search-overlay[hidden], .nvp-drawer[hidden], .nvp-lightbox[hidden], .nvp-suggest[hidden] { display: none !important; }
.nvp-search-overlay:not(.is-open), .nvp-drawer:not(.is-open) { pointer-events: none; }
.nvp-ico { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.nvp-muted { color: var(--nvp-slate-500); font-size: 14px; }
.nvp-mt { margin-top: 32px !important; }
.nvp-container--narrow { max-width: 1280px; }
.nvp-card {
  background: #fff;
  border: 1px solid var(--nvp-border);
  border-radius: var(--nvp-radius-lg);
  box-shadow: var(--nvp-shadow-sm);
}
.nvp-btn-block { width: 100%; }
.nvp-btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.nvp-btn-zalo { background: #0068ff; color: #fff !important; }
.nvp-btn-zalo:hover { background: #0054cc; color: #fff !important; transform: translateY(-2px); }
.nvp-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.nvp-btn-glass:hover { background: rgba(255, 255, 255, 0.18); color: #fff !important; }
.nvp-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border-radius: 50%; border: 1px solid var(--nvp-border); background: #fff; color: var(--nvp-navy);
  cursor: pointer;
}
/* Neutralise Flatsome's global button styling on our own buttons */
.nvp-icon-btn, .nvp-gallery-slide, .nvp-gallery-thumb, .nvp-gallery-nav, .nvp-lightbox button,
.nvp-so-close, .nvp-mh-btn, .nvp-bottom-bar button, .nvp-oc-search, .nvp-collapse-toggle,
.nvp-share-btn, .nvp-filter-toggle, .nvp-header-search-btn, .nvp-inline-search button {
  text-transform: none !important; letter-spacing: 0 !important; line-height: 1.2 !important;
  min-height: 0 !important; margin: 0 !important; box-shadow: none;
}

/* ---------- Two-column layouts ---------- */
.nvp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.nvp-layout--left { grid-template-columns: 300px minmax(0, 1fr); }
.nvp-layout-main { min-width: 0; }
.nvp-sticky { position: sticky; top: 90px; }
.nvp-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Breadcrumbs ---------- */
.nvp-breadcrumbs { font-size: 13px; color: var(--nvp-slate-500); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nvp-breadcrumbs a { color: inherit; }
.nvp-breadcrumbs a:hover { color: var(--nvp-primary); }
.nvp-breadcrumbs .sep { opacity: 0.5; margin: 0 2px; }
.nvp-page-banner .nvp-breadcrumbs, .nvp-about-hero .nvp-breadcrumbs, .nvp-article-head .nvp-breadcrumbs { color: #94a3b8; }
.nvp-page-banner .nvp-breadcrumbs a, .nvp-about-hero .nvp-breadcrumbs a, .nvp-article-head .nvp-breadcrumbs a { color: #cbd5e1 !important; }
.nvp-page-banner h1 { color: #fff !important; font-size: clamp(24px, 3vw, 34px) !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.nvp-page-banner .nvp-banner-desc { color: #cbd5e1; max-width: 760px; margin: 0; font-size: 15px; }
.nvp-page-banner .nvp-banner-desc p { margin: 0; color: inherit; }
.nvp-page-banner { padding: 30px 0 34px; margin-bottom: 32px; }

/* ==========================================================================
   SEARCH: inputs, filter forms, suggestions
   ========================================================================== */
.nvp-input-icon { position: relative; }
.nvp-input-icon > .nvp-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--nvp-slate-400); pointer-events: none; z-index: 1; }
.nvp-input-icon input[type="search"] { padding-left: 42px !important; }

.nvp-filter input[type="search"],
.nvp-filter select {
  width: 100%;
  height: 46px !important;
  margin: 0 !important;
  border: 1px solid var(--nvp-border) !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  color: var(--nvp-navy) !important;
  padding: 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
.nvp-filter select { padding-right: 34px !important; cursor: pointer; }
.nvp-filter input:focus, .nvp-filter select:focus {
  border-color: var(--nvp-primary) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14) !important;
  outline: none;
}
.nvp-filter-field { margin: 0; min-width: 0; border: 0; padding: 0; }
.nvp-filter-field > label, .nvp-filter-field > legend {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--nvp-slate-600);
  margin: 0 0 6px; padding: 0; text-transform: none; letter-spacing: 0;
}
.nvp-filter-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.nvp-filter-actions .nvp-btn { height: 46px; margin: 0 !important; text-transform: none; letter-spacing: 0; min-height: 0; }
.nvp-filter-reset { text-align: center; font-size: 13px; color: var(--nvp-slate-500) !important; text-decoration: underline; }

/* Panel (sidebar + drawer) */
.nvp-filter--panel, .nvp-filter--drawer { display: flex; flex-direction: column; gap: 14px; }

/* Bar (home hero) */
.nvp-filter--bar {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.nvp-filter--bar .nvp-filter-kw > label { display: none; }
.nvp-filter--bar .nvp-filter-field > label { font-size: 12px; color: var(--nvp-slate-500); }
.nvp-filter--bar .nvp-filter-kw { align-self: end; }
.nvp-filter--bar .nvp-filter-actions .nvp-btn { padding: 0 22px; white-space: nowrap; }

/* Segmented control */
.nvp-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--nvp-bg); border: 1px solid var(--nvp-border); border-radius: 10px; padding: 3px; }
.nvp-seg label { margin: 0; cursor: pointer; }
.nvp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.nvp-seg span { display: block; text-align: center; padding: 8px 4px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--nvp-slate-600); transition: var(--nvp-transition); }
.nvp-seg input:checked + span { background: #fff; color: var(--nvp-primary); box-shadow: var(--nvp-shadow-sm); }
.nvp-seg input:focus-visible + span { outline: 2px solid var(--nvp-primary); }

/* Suggestions dropdown */
.nvp-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1000;
  background: #fff; border: 1px solid var(--nvp-border); border-radius: 14px;
  box-shadow: var(--nvp-shadow-lg); max-height: min(70vh, 520px); overflow-y: auto; padding: 8px;
  text-align: left;
}
.nvp-suggest.is-loading, .nvp-so-results.is-loading { opacity: .6; }
.nvp-sg-group + .nvp-sg-group { border-top: 1px solid var(--nvp-border-light); margin-top: 6px; padding-top: 6px; }
.nvp-sg-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--nvp-slate-400); padding: 6px 10px 4px; }
.nvp-sg-area, .nvp-sg-item, .nvp-sg-post, .nvp-sg-all {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px;
  color: var(--nvp-navy) !important; font-size: 14px; text-decoration: none !important;
}
.nvp-sg-area em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--nvp-slate-500); }
.nvp-sg-item img, .nvp-sg-noimg { width: 56px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--nvp-border-light); }
.nvp-sg-item strong { display: block; font-weight: 600; font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nvp-sg-item small { display: block; color: var(--nvp-slate-500); font-size: 12px; margin-top: 2px; }
.nvp-sg-item small b { color: var(--nvp-emerald); font-weight: 700; }
.nvp-sg-post { font-size: 13.5px; color: var(--nvp-slate-700) !important; }
.nvp-sg-all { justify-content: center; font-weight: 700; color: var(--nvp-primary) !important; background: var(--nvp-primary-soft); margin-top: 6px; }
.nvp-sg-area:hover, .nvp-sg-item:hover, .nvp-sg-post:hover, .nvp-suggest a.is-active, .nvp-so-results a.is-active { background: var(--nvp-bg); }
.nvp-sg-empty { padding: 16px 12px; color: var(--nvp-slate-500); font-size: 14px; }

/* Header search (desktop) */
.nvp-header-search { display: flex; align-items: center; width: 100%; max-width: 560px; background: var(--nvp-bg); border: 1.5px solid var(--nvp-border); border-radius: 9999px; padding: 4px; transition: var(--nvp-transition); }
.nvp-header-search:focus-within { background: #fff; border-color: var(--nvp-primary); box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
.nvp-header-search .nvp-input-icon { flex: 1; position: relative; }
.nvp-header-search input[type="search"] { border: 0 !important; background: transparent !important; box-shadow: none !important; height: 40px !important; margin: 0 !important; font-size: 14px; width: 100%; }
.nvp-header-search-btn { background: var(--nvp-primary) !important; color: #fff !important; border: 0; border-radius: 9999px; height: 40px; padding: 0 20px !important; font-weight: 600; font-size: 14px; cursor: pointer; }
.nvp-header-search-btn:hover { background: var(--nvp-primary-hover) !important; }
.header-main .header-search-form { width: 100%; }

/* ==========================================================================
   LISTING PAGE
   ========================================================================== */
.nvp-listing { padding-bottom: 56px; }
.nvp-listing-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--nvp-border); border-radius: 12px;
  padding: 10px 12px 10px 16px; margin-bottom: 14px;
}
.nvp-result-count { margin: 0 auto 0 0; font-size: 14px; color: var(--nvp-slate-600); }
.nvp-result-count strong { color: var(--nvp-navy); }
.nvp-sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.nvp-sort label { font-size: 13px; color: var(--nvp-slate-500); margin: 0; white-space: nowrap; }
.nvp-sort select { height: 38px !important; margin: 0 !important; min-width: 190px; border-radius: 8px !important; border: 1px solid var(--nvp-border) !important; background-color: var(--nvp-bg) !important; box-shadow: none !important; font-size: 13.5px !important; }
.nvp-filter-toggle { position: relative; height: 40px; padding: 0 14px !important; }
.nvp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nvp-primary); display: inline-block; }

.nvp-property-grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Chips */
.nvp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; align-items: center; }
.nvp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9999px;
  background: #fff; border: 1px solid var(--nvp-border); color: var(--nvp-slate-700) !important;
  font-size: 13px; font-weight: 500; text-decoration: none !important; white-space: nowrap; transition: var(--nvp-transition);
}
.nvp-chip em { font-style: normal; font-size: 11.5px; color: var(--nvp-slate-400); }
.nvp-chip:hover { border-color: var(--nvp-primary); color: var(--nvp-primary) !important; }
.nvp-chip.is-active, .nvp-chip.is-current { background: var(--nvp-primary-soft); border-color: var(--nvp-primary-border); color: var(--nvp-primary-hover) !important; font-weight: 600; }
.nvp-chip.is-current em { color: var(--nvp-primary); }
.nvp-chip-clear { font-size: 13px; color: var(--nvp-slate-500) !important; text-decoration: underline; margin-left: 4px; }
.nvp-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.nvp-chips--scroll::-webkit-scrollbar { display: none; }

/* Pagination */
.nvp-pagination { margin: 32px 0 0; }
.nvp-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nvp-pagination li { margin: 0; }
.nvp-pagination a, .nvp-pagination span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px;
  border-radius: 10px; background: #fff; border: 1px solid var(--nvp-border); color: var(--nvp-navy) !important;
  font-weight: 600; font-size: 14px; text-decoration: none !important;
}
.nvp-pagination a:hover { border-color: var(--nvp-primary); color: var(--nvp-primary) !important; }
.nvp-pagination .current { background: var(--nvp-primary) !important; border-color: var(--nvp-primary) !important; color: #fff !important; }
.nvp-pagination .dots { border: 0 !important; background: transparent !important; }

/* Empty state */
.nvp-empty { text-align: center; background: #fff; border: 1px dashed var(--nvp-border); border-radius: 16px; padding: 48px 24px; }
.nvp-empty-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--nvp-primary-soft); color: var(--nvp-primary); display: flex; align-items: center; justify-content: center; }
.nvp-empty h2 { font-size: 20px !important; margin: 0 0 6px !important; }
.nvp-empty p { color: var(--nvp-slate-500); max-width: 460px; margin: 0 auto 18px; }
.nvp-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Property card refinements */
.nvp-prop-card { display: flex; flex-direction: column; height: 100%; }
.nvp-prop-title a { color: var(--nvp-navy) !important; }
.nvp-prop-title a:hover { color: var(--nvp-primary) !important; }
.nvp-prop-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.nvp-spec-pill .nvp-ico { color: var(--nvp-primary); }
.nvp-prop-link { display: inline-flex; align-items: center; gap: 4px; }
.nvp-prop-link .nvp-ico { transition: transform .2s; width: 16px; height: 16px; }
.nvp-prop-card:hover .nvp-prop-link .nvp-ico { transform: translateX(3px); }

/* Drawer (mobile filters) */
.nvp-drawer { position: fixed; inset: 0; z-index: 100000; }
.nvp-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .2s; }
.nvp-drawer-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .25s ease;
}
.nvp-drawer.is-open .nvp-drawer-backdrop { opacity: 1; }
.nvp-drawer.is-open .nvp-drawer-panel { transform: none; }
.nvp-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--nvp-border-light); }
.nvp-drawer-head h2 { font-size: 17px !important; margin: 0 !important; display: flex; gap: 8px; align-items: center; }
.nvp-drawer-body { overflow-y: auto; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   SIDEBAR CARDS
   ========================================================================== */
.nvp-side-card { background: #fff; border: 1px solid var(--nvp-border); border-radius: 16px; padding: 20px; box-shadow: var(--nvp-shadow-sm); }
.nvp-side-title { display: flex; align-items: center; gap: 8px; font-size: 16px !important; font-weight: 700 !important; margin: 0 0 14px !important; padding-bottom: 12px; border-bottom: 1px solid var(--nvp-border-light); }
.nvp-side-title .nvp-ico { color: var(--nvp-primary); }
.nvp-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nvp-mini-list li { margin: 0; }
.nvp-mini-item { display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none !important; }
.nvp-mini-item:hover { background: var(--nvp-bg); }
.nvp-mini-thumb { width: 72px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--nvp-border-light); }
.nvp-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nvp-mini-text { min-width: 0; }
.nvp-mini-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--nvp-navy); }
.nvp-mini-item:hover .nvp-mini-title { color: var(--nvp-primary); }
.nvp-mini-meta { display: block; font-size: 12px; color: var(--nvp-slate-500); margin-top: 3px; }
.nvp-mini-meta strong { color: var(--nvp-emerald); font-weight: 600; }
.nvp-side-more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--nvp-border-light); font-size: 13.5px; font-weight: 600; color: var(--nvp-primary) !important; }
.nvp-cat-list { list-style: none; margin: 0; padding: 0; }
.nvp-cat-list li { margin: 0; }
.nvp-cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; color: var(--nvp-slate-700) !important; text-decoration: none !important; }
.nvp-cat-list a:hover, .nvp-cat-list a.is-active { background: var(--nvp-primary-soft); color: var(--nvp-primary-hover) !important; }
.nvp-cat-list em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--nvp-slate-500); background: var(--nvp-bg); border-radius: 9999px; padding: 2px 9px; }
.nvp-inline-search { display: flex; border: 1px solid var(--nvp-border); border-radius: 10px; overflow: hidden; margin: 0; }
.nvp-inline-search input { flex: 1; border: 0 !important; box-shadow: none !important; height: 44px !important; margin: 0 !important; padding: 0 14px !important; font-size: 14px; }
.nvp-inline-search button { width: 48px; border: 0; background: var(--nvp-primary); color: #fff; cursor: pointer; padding: 0 !important; display: flex; align-items: center; justify-content: center; }
.nvp-cta-card { background: linear-gradient(160deg, #0f172a, #1e293b); border: 0; color: #cbd5e1; text-align: center; }
.nvp-cta-card h3 { color: #fff !important; font-size: 18px !important; margin: 10px 0 6px !important; }
.nvp-cta-card p { font-size: 13.5px; margin: 0 0 16px; color: #cbd5e1; }
.nvp-cta-card .nvp-btn + .nvp-btn { margin-top: 8px; }
.nvp-cta-card-icon { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: rgba(249, 115, 22, .18); color: #fdba74; display: flex; align-items: center; justify-content: center; }
.nvp-filter-card { padding: 20px; }

/* ==========================================================================
   FACTORY DETAIL
   ========================================================================== */
.nvp-product { padding: 22px 0 64px; }
.nvp-product-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 24px; }

.nvp-gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0f172a; }
.nvp-gallery-slide { position: absolute; inset: 0; padding: 0 !important; border: 0; background: none; cursor: zoom-in; opacity: 0; transition: opacity .35s; display: block; width: 100%; }
.nvp-gallery-slide.is-active { opacity: 1; z-index: 1; }
.nvp-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nvp-gallery-main.is-empty img { width: 100%; height: 100%; object-fit: cover; }
.nvp-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--nvp-navy); font-size: 26px; line-height: 1 !important;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--nvp-shadow-md); padding: 0 0 4px !important;
}
.nvp-gallery-nav.is-prev { left: 14px; }
.nvp-gallery-nav.is-next { right: 14px; }
.nvp-gallery-count { position: absolute; right: 14px; bottom: 14px; z-index: 3; background: rgba(15,23,42,.72); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 9999px; display: inline-flex; gap: 6px; align-items: center; }
.nvp-gallery-main .nvp-prop-badges { z-index: 3; top: 14px; left: 14px; right: auto; justify-content: flex-start; }
.nvp-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.nvp-gallery-thumb { flex: 0 0 88px; height: 66px; border-radius: 10px; overflow: hidden; padding: 0 !important; border: 2px solid transparent; background: none; cursor: pointer; opacity: .7; transition: var(--nvp-transition); }
.nvp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nvp-gallery-thumb.is-active, .nvp-gallery-thumb:hover { border-color: var(--nvp-primary); opacity: 1; }

.nvp-summary { background: #fff; border: 1px solid var(--nvp-border); border-radius: 18px; padding: 24px; box-shadow: var(--nvp-shadow-sm); }
.nvp-summary-title { font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.3 !important; margin: 0 0 8px !important; }
.nvp-summary-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--nvp-slate-500); font-size: 14px; margin: 0 0 18px; }
.nvp-summary-loc .nvp-ico { color: var(--nvp-primary); margin-top: 2px; }
.nvp-summary-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.nvp-kpi { background: var(--nvp-bg); border: 1px solid var(--nvp-border); border-radius: 12px; padding: 12px 14px; }
.nvp-kpi small { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--nvp-slate-500); }
.nvp-kpi strong { display: block; font-size: 20px; font-weight: 800; color: var(--nvp-navy); margin-top: 2px; }
.nvp-kpi.is-price { background: var(--nvp-emerald-soft); border-color: #a7f3d0; }
.nvp-kpi.is-price strong { color: var(--nvp-emerald); }
.nvp-summary-specs { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--nvp-border-light); border-radius: 12px; }
.nvp-summary-specs li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0; font-size: 14px; border-bottom: 1px solid var(--nvp-border-light); }
.nvp-summary-specs li:last-child { border-bottom: 0; }
.nvp-summary-specs .nvp-ico { color: var(--nvp-slate-400); }
.nvp-summary-specs span { color: var(--nvp-slate-500); min-width: 92px; }
.nvp-summary-specs strong { color: var(--nvp-navy); font-weight: 600; margin-left: auto; text-align: right; }
.nvp-summary-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nvp-summary-cta .nvp-btn-wide { grid-column: 1 / -1; }
.nvp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--nvp-border); }
.nvp-trust li { margin: 0; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--nvp-slate-600); }
.nvp-trust .nvp-ico { color: var(--nvp-emerald); }

.nvp-subnav {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  background: rgba(248, 250, 252, .92); backdrop-filter: blur(8px); padding: 10px 0; margin-bottom: 18px; border-bottom: 1px solid var(--nvp-border);
}
.stuck ~ #main .nvp-subnav, body.has-sticky .nvp-subnav { top: 60px; }
.nvp-subnav::-webkit-scrollbar { display: none; }
.nvp-subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 9999px; font-size: 14px; font-weight: 600; color: var(--nvp-slate-600) !important; text-decoration: none !important; }
.nvp-subnav a.is-active, .nvp-subnav a:hover { background: #fff; color: var(--nvp-navy) !important; box-shadow: var(--nvp-shadow-sm); }
.nvp-subnav-cta { margin-left: auto; background: var(--nvp-primary-soft); color: var(--nvp-primary-hover) !important; }

.nvp-section-card { padding: 24px 26px; margin-bottom: 20px; scroll-margin-top: 130px; }
.nvp-section-card > h2 { font-size: 20px !important; font-weight: 800 !important; margin: 0 0 16px !important; }
.nvp-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.nvp-spec-grid div { background: var(--nvp-bg); border-radius: 12px; padding: 12px 14px; }
.nvp-spec-grid dt { font-size: 12.5px; color: var(--nvp-slate-500); font-weight: 500; margin: 0 0 4px; display: flex; gap: 6px; align-items: center; }
.nvp-spec-grid dt .nvp-ico { color: var(--nvp-primary); }
.nvp-spec-grid dd { margin: 0; font-weight: 700; color: var(--nvp-navy); font-size: 15px; }

.nvp-prose[data-nvp-collapse].is-collapsed { max-height: 640px; overflow: hidden; position: relative; }
.nvp-prose[data-nvp-collapse].is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.nvp-collapse-toggle { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 12px !important; padding: 10px 18px !important; border-radius: 9999px; border: 1px solid var(--nvp-border); background: #fff; color: var(--nvp-navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.nvp-collapse-toggle[hidden] { display: none !important; }

.nvp-map { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--nvp-border-light); margin-top: 12px; }
.nvp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nvp-map--lg { aspect-ratio: 16 / 6; }

.nvp-lead-card { border-top: 4px solid var(--nvp-primary); scroll-margin-top: 90px; }
.nvp-lead-card h2 { font-size: 19px !important; font-weight: 800 !important; margin: 0 0 4px !important; }
.nvp-lead-card > p { font-size: 13.5px; color: var(--nvp-slate-500); margin: 0 0 14px; }
.nvp-lead-or { text-align: center; position: relative; margin: 16px 0 10px; font-size: 12px; color: var(--nvp-slate-400); }
.nvp-lead-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--nvp-border-light); }
.nvp-lead-or span { position: relative; background: #fff; padding: 0 10px; }
.nvp-lead-phone { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--nvp-navy) !important; text-decoration: none !important; }
.nvp-lead-phone .nvp-ico { color: var(--nvp-primary); }
.nvp-related { margin-top: 48px; }

.nvp-mobile-cta { display: none; }

/* Lightbox */
.nvp-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(2, 6, 23, .94); display: flex; align-items: center; justify-content: center; }
.nvp-lightbox[hidden] { display: none; }
.nvp-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.nvp-lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 !important; }
.nvp-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; cursor: pointer; padding: 0 0 4px !important; }
.nvp-lightbox-nav.is-prev { left: 16px; }
.nvp-lightbox-nav.is-next { right: 16px; }
.nvp-lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: 14px; }

/* ==========================================================================
   PROSE (article + factory description)
   ========================================================================== */
.nvp-prose { font-size: 16px; line-height: 1.8; color: var(--nvp-slate-700); overflow-wrap: break-word; }
.nvp-prose > *:first-child { margin-top: 0; }
.nvp-prose p { margin: 0 0 1.1em; }
.nvp-prose h2 { font-size: 23px !important; font-weight: 800 !important; margin: 1.8em 0 .6em !important; line-height: 1.35 !important; scroll-margin-top: 100px; }
.nvp-prose h3 { font-size: 19px !important; font-weight: 700 !important; margin: 1.5em 0 .5em !important; scroll-margin-top: 100px; }
.nvp-prose h4 { font-size: 17px !important; margin: 1.3em 0 .5em !important; }
.nvp-prose a { color: var(--nvp-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.nvp-prose ul, .nvp-prose ol { margin: 0 0 1.2em 1.3em; padding: 0; }
.nvp-prose li { margin: 0 0 .45em; }
.nvp-prose img { border-radius: 12px; height: auto; max-width: 100%; }
.nvp-prose figure { margin: 1.5em 0; }
.nvp-prose figcaption, .nvp-prose .wp-caption-text { font-size: 13px; color: var(--nvp-slate-500); text-align: center; margin-top: 6px; }
.nvp-prose .wp-caption { max-width: 100%; }
.nvp-prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--nvp-primary); background: var(--nvp-primary-soft); border-radius: 0 12px 12px 0; font-style: normal; }
.nvp-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.nvp-prose th, .nvp-prose td { border: 1px solid var(--nvp-border); padding: 10px 12px; text-align: left; }
.nvp-prose th { background: var(--nvp-bg); }
.nvp-prose iframe { max-width: 100%; border-radius: 12px; }
/* Easy Table of Contents */
.nvp-prose #ez-toc-container {
  width: 100% !important; max-width: 100%; background: var(--nvp-bg) !important; border: 1px solid var(--nvp-border) !important;
  border-radius: 14px !important; padding: 16px 20px !important; box-shadow: none !important; margin: 0 0 1.6em !important;
}
.nvp-prose #ez-toc-container .ez-toc-title { font-weight: 700 !important; font-size: 16px !important; color: var(--nvp-navy) !important; }
.nvp-prose #ez-toc-container ul { margin: 8px 0 0 !important; }
.nvp-prose #ez-toc-container li { margin: 0 0 4px !important; }
.nvp-prose #ez-toc-container a { color: var(--nvp-slate-700) !important; text-decoration: none !important; font-size: 14.5px; }
.nvp-prose #ez-toc-container a:hover { color: var(--nvp-primary) !important; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.nvp-blog { padding-bottom: 64px; }
.nvp-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nvp-post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nvp-post-card { background: #fff; border: 1px solid var(--nvp-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--nvp-shadow-sm); transition: var(--nvp-transition); }
.nvp-post-card:hover { transform: translateY(-3px); box-shadow: var(--nvp-shadow-md); }
.nvp-post-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nvp-border-light); }
.nvp-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nvp-post-card:hover .nvp-post-media img { transform: scale(1.05); }
.nvp-post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.nvp-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--nvp-slate-500); margin-bottom: 8px; }
.nvp-post-cat { display: inline-block; padding: 3px 10px; border-radius: 9999px; background: var(--nvp-primary-soft); color: var(--nvp-primary-hover) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.nvp-post-title { font-size: 17px !important; font-weight: 700 !important; line-height: 1.45 !important; margin: 0 0 8px !important; }
.nvp-post-title a { color: var(--nvp-navy) !important; }
.nvp-post-title a:hover { color: var(--nvp-primary) !important; }
.nvp-post-excerpt { font-size: 14px; color: var(--nvp-slate-500); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nvp-post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--nvp-primary) !important; }
.nvp-post-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.nvp-post-card.is-featured .nvp-post-media { flex: 0 0 55%; aspect-ratio: auto; min-height: 300px; }
.nvp-post-card.is-featured .nvp-post-body { padding: 28px; justify-content: center; }
.nvp-post-card.is-featured .nvp-post-title { font-size: 24px !important; }

.nvp-article-head { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 30px 0 40px; margin-bottom: 32px; border-bottom: 3px solid var(--nvp-primary); }
.nvp-article-title { color: #fff !important; font-size: clamp(26px, 3.4vw, 40px) !important; font-weight: 800 !important; line-height: 1.25 !important; margin: 12px 0 14px !important; max-width: 920px; }
.nvp-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #94a3b8; font-size: 14px; }
.nvp-article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.nvp-article-card { padding: 28px 32px 24px; }
.nvp-article-cover { margin: -28px -32px 28px; }
.nvp-article-cover img { width: 100%; height: auto; display: block; border-radius: 16px 16px 0 0; }
.nvp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; color: var(--nvp-slate-400); }
.nvp-tags a { font-size: 13px; padding: 4px 10px; border-radius: 9999px; background: var(--nvp-bg); color: var(--nvp-slate-600) !important; text-decoration: none !important; }
.nvp-share { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--nvp-border-light); flex-wrap: wrap; }
.nvp-share > span { font-size: 14px; font-weight: 600; color: var(--nvp-slate-600); margin-right: auto; }
.nvp-share-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid var(--nvp-border); background: #fff; color: var(--nvp-navy) !important; font-size: 11px; font-weight: 800; cursor: pointer; padding: 0 !important; text-decoration: none !important; }
.nvp-share-btn.is-fb { background: #1877f2; border-color: #1877f2; color: #fff !important; }
.nvp-share-btn.is-zalo { background: #0068ff; border-color: #0068ff; color: #fff !important; }
.nvp-share-btn.is-done { background: var(--nvp-emerald); border-color: var(--nvp-emerald); color: #fff !important; }
.nvp-inline-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin: 24px 0; padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, #0f172a, #1e293b); color: #cbd5e1; }
.nvp-inline-cta h2 { color: #fff !important; font-size: 20px !important; margin: 0 0 6px !important; }
.nvp-inline-cta p { margin: 0; font-size: 14px; }
.nvp-inline-cta-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.nvp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 32px; }
.nvp-post-nav a { display: block; padding: 16px 18px; background: #fff; border: 1px solid var(--nvp-border); border-radius: 14px; text-decoration: none !important; }
.nvp-post-nav a:hover { border-color: var(--nvp-primary); }
.nvp-post-nav .is-next { text-align: right; grid-column: 2; }
.nvp-post-nav small { display: block; color: var(--nvp-slate-500); font-size: 12.5px; margin-bottom: 4px; }
.nvp-post-nav span { color: var(--nvp-navy); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.nvp-related-posts .nvp-section-title { margin-bottom: 18px !important; }
.nvp-search-factories { margin-bottom: 36px; }
.nvp-comments { padding: 24px; margin-top: 24px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.nvp-about-hero {
  position: relative; color: #e2e8f0; padding: 34px 0 96px;
  background: linear-gradient(110deg, rgba(15,23,42,.95) 0%, rgba(15,23,42,.82) 55%, rgba(15,23,42,.6) 100%), var(--nvp-hero-img, none) center / cover no-repeat, #0f172a;
}
.nvp-about-hero-inner { max-width: 760px; padding-top: 28px; }
.nvp-about-hero h1 { color: #fff !important; font-size: clamp(28px, 4vw, 46px) !important; font-weight: 800 !important; line-height: 1.2 !important; margin: 16px 0 14px !important; }
.nvp-about-hero h1 span { color: #fb923c; }
.nvp-about-hero p { font-size: 17px; color: #cbd5e1; margin: 0 0 26px; }
.nvp-about-hero .nvp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nvp-about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -56px; position: relative; z-index: 2; }
.nvp-stat-card { background: #fff; border: 1px solid var(--nvp-border); border-radius: 16px; padding: 20px; box-shadow: var(--nvp-shadow-md); }
.nvp-stat-card strong { display: block; font-size: 26px; font-weight: 800; color: var(--nvp-primary); line-height: 1.2; }
.nvp-stat-card span { font-size: 13.5px; color: var(--nvp-slate-500); }
.nvp-about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.nvp-about-split .nvp-section-title { margin-bottom: 16px !important; }
.nvp-value-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nvp-value-list li { margin: 0; display: flex; gap: 14px; background: #fff; border: 1px solid var(--nvp-border); border-radius: 16px; padding: 18px; }
.nvp-value-list li > span { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--nvp-primary-soft); color: var(--nvp-primary); display: flex; align-items: center; justify-content: center; }
.nvp-value-list h3 { font-size: 16px !important; margin: 0 0 4px !important; }
.nvp-value-list p { font-size: 13.5px; color: var(--nvp-slate-500); margin: 0; }
.nvp-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nvp-service { display: block; padding: 22px; border-radius: 16px; border: 1px solid var(--nvp-border); background: #fff; text-decoration: none !important; transition: var(--nvp-transition); }
.nvp-service .nvp-ico { color: var(--nvp-primary); }
.nvp-service h3 { font-size: 17px !important; margin: 14px 0 6px !important; }
.nvp-service p { font-size: 14px; color: var(--nvp-slate-500); margin: 0; }
.nvp-service:hover { border-color: var(--nvp-primary-border); transform: translateY(-3px); box-shadow: var(--nvp-shadow-md); }
.nvp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.nvp-steps li { margin: 0; position: relative; background: #fff; border: 1px solid var(--nvp-border); border-radius: 16px; padding: 22px; }
.nvp-steps li > span { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--nvp-navy); color: #fff; font-weight: 800; align-items: center; justify-content: center; }
.nvp-steps h3 { font-size: 16px !important; margin: 14px 0 6px !important; }
.nvp-steps p { font-size: 14px; color: var(--nvp-slate-500); margin: 0; }
.nvp-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nvp-tag-cloud span { padding: 8px 14px; border-radius: 9999px; background: var(--nvp-bg); border: 1px solid var(--nvp-border); font-size: 13.5px; font-weight: 500; }
.nvp-area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.nvp-area-grid a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--nvp-border); background: #fff; font-size: 14px; color: var(--nvp-navy) !important; text-decoration: none !important; }
.nvp-area-grid a .nvp-ico { color: var(--nvp-primary); }
.nvp-area-grid em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--nvp-slate-500); }
.nvp-area-grid a:hover { border-color: var(--nvp-primary); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.nvp-contact { padding-bottom: 64px; }
.nvp-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.nvp-contact-info { display: flex; flex-direction: column; gap: 10px; }
.nvp-contact-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--nvp-border); border-radius: 14px; text-decoration: none !important; color: inherit; transition: var(--nvp-transition); }
a.nvp-contact-item:hover { border-color: var(--nvp-primary); transform: translateX(3px); }
.nvp-contact-item small { display: block; font-size: 12px; color: var(--nvp-slate-500); font-weight: 500; }
.nvp-contact-item strong { display: block; font-size: 15px; color: var(--nvp-navy); font-weight: 700; line-height: 1.4; word-break: break-word; }
.nvp-contact-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--nvp-primary-soft); color: var(--nvp-primary); display: flex; align-items: center; justify-content: center; }
.nvp-contact-icon.is-zalo { background: #e6f0ff; color: #0068ff; }
.nvp-contact-icon.is-fb { background: #e7f0fe; color: #1877f2; }
.nvp-contact-item.is-primary { background: linear-gradient(135deg, #f97316, #ea580c); border: 0; }
.nvp-contact-item.is-primary small { color: #ffedd5; }
.nvp-contact-item.is-primary strong { color: #fff; font-size: 22px; }
.nvp-contact-item.is-primary .nvp-contact-icon { background: rgba(255,255,255,.2); color: #fff; }
.nvp-contact-form { padding: 28px; }
.nvp-contact-form h2 { font-size: 22px !important; font-weight: 800 !important; margin: 0 0 4px !important; }
.nvp-contact-form > .nvp-muted { margin: 0 0 20px; }
.nvp-contact-map { padding: 22px; }
.nvp-contact-map-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.nvp-contact-map-head h2 { font-size: 20px !important; margin: 0 0 4px !important; }
.nvp-contact-map-head p { margin: 0; display: flex; gap: 6px; align-items: center; }

/* ==========================================================================
   FORMS (Contact Form 7)
   ========================================================================== */
.wpcf7 form { margin: 0; }
.nvp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.nvp-form-stack { display: flex; flex-direction: column; gap: 12px; }
.nvp-field { display: block; margin: 0 !important; font-weight: 400 !important; }
.nvp-field--full { grid-column: 1 / -1; }
.nvp-field > span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--nvp-slate-700); margin-bottom: 6px; }
.nvp-field .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; margin: 0 !important; height: 46px; border: 1px solid var(--nvp-border) !important; border-radius: 10px !important;
  background: #fff !important; box-shadow: none !important; padding: 0 14px !important; font-size: 15px !important; color: var(--nvp-navy) !important;
  transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { height: auto; min-height: 104px; padding: 12px 14px !important; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--nvp-primary) !important; box-shadow: 0 0 0 4px rgba(249,115,22,.14) !important; outline: none; }
.wpcf7 .wpcf7-not-valid { border-color: #ef4444 !important; }
.wpcf7-not-valid-tip { font-size: 12.5px; color: #dc2626; margin-top: 4px; }
.nvp-form-foot { margin-top: 18px; }
.wpcf7 .nvp-submit, .wpcf7 input[type="submit"] {
  width: 100%; height: 50px; margin: 0 !important; border: 0 !important; border-radius: 12px !important;
  background: var(--nvp-primary) !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(249,115,22,.7) !important;
  transition: var(--nvp-transition);
}
.wpcf7 .nvp-submit:hover, .wpcf7 input[type="submit"]:hover { background: var(--nvp-primary-hover) !important; transform: translateY(-1px); }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.nvp-form-note { font-size: 12.5px; color: var(--nvp-slate-500); margin: 10px 0 0; text-align: center; }
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0 !important; border-radius: 10px; padding: 10px 14px !important; font-size: 14px; border-width: 1px !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #10b981 !important; background: var(--nvp-emerald-soft); color: #065f46; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #fca5a5 !important; background: #fef2f2; color: #991b1b; }
/* Legacy form wrapper (popup) */
.form-dang-ky label { font-weight: 400; }
/* Popup (Popups plugin) */
.spu-box { border-radius: 18px !important; padding: 26px !important; box-shadow: var(--nvp-shadow-lg) !important; border: 0 !important; }
.spu-box h2, .spu-box h3 { font-size: 20px !important; font-weight: 800 !important; }

/* ==========================================================================
   MOBILE HEADER, OVERLAY, OFF-CANVAS, BOTTOM BAR
   ========================================================================== */
.nvp-mh-actions { display: flex !important; gap: 6px; align-items: center; }
.nvp-mh-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--nvp-border); background: #fff; color: var(--nvp-navy) !important; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; cursor: pointer; }
.nvp-mh-btn.is-call { background: var(--nvp-primary); border-color: var(--nvp-primary); color: #fff !important; }

/* Search overlay */
.nvp-search-overlay { position: fixed; inset: 0; z-index: 100002; background: #fff; display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.nvp-search-overlay.is-open { opacity: 1; transform: none; }
.nvp-so-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--nvp-border-light); padding-top: calc(12px + env(safe-area-inset-top)); }
.nvp-so-form { flex: 1; margin: 0; max-width: 760px; }
.nvp-so-form input[type="search"] { width: 100%; height: 48px !important; margin: 0 !important; border-radius: 12px !important; border: 1.5px solid var(--nvp-primary) !important; box-shadow: 0 0 0 4px rgba(249,115,22,.12) !important; font-size: 16px !important; padding-left: 42px !important; }
.nvp-so-close { background: none; border: 0; color: var(--nvp-slate-600); font-weight: 600; font-size: 15px; padding: 8px !important; cursor: pointer; }
.nvp-so-body { flex: 1; overflow-y: auto; padding: 16px 16px 40px; width: 100%; max-width: 792px; margin: 0 auto; }
.nvp-so-results:empty { display: none; }
.nvp-so-quick h3 { font-size: 13px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--nvp-slate-500) !important; margin: 18px 0 10px !important; font-weight: 700 !important; }
.nvp-so-quick h3:first-child { margin-top: 4px !important; }
.nvp-so-quick .nvp-chips { margin-bottom: 4px; }
@media (min-width: 850px) {
  .nvp-search-overlay { align-items: stretch; }
  .nvp-so-head { justify-content: center; }
}

/* Off-canvas menu */
.nvp-oc-head { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; }
.nvp-oc-logo img { max-height: 40px; width: auto; }
.nvp-oc-search { display: flex !important; align-items: center; gap: 8px; width: 100%; height: 44px; padding: 0 14px !important; border-radius: 12px; border: 1px solid var(--nvp-border); background: var(--nvp-bg); color: var(--nvp-slate-500); font-size: 14px; cursor: pointer; justify-content: flex-start; }
.nvp-oc-contact { padding: 16px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--nvp-border-light); margin-top: 8px; }
.nvp-oc-contact p { font-size: 12.5px; color: var(--nvp-slate-500); margin: 6px 0 0; display: flex; gap: 6px; }
#main-menu.mobile-sidebar { background: #fff !important; }
#main-menu .nav-sidebar > li { border-color: var(--nvp-border-light) !important; }
#main-menu .nav-sidebar > li > a { color: var(--nvp-navy) !important; font-weight: 600 !important; font-size: 15px !important; text-transform: none !important; padding: 14px 16px !important; letter-spacing: 0 !important; }
#main-menu .nav-sidebar > li.current-menu-item > a, #main-menu .nav-sidebar > li > a:hover { color: var(--nvp-primary) !important; }
#main-menu .nav-sidebar .children a, #main-menu .nav-sidebar .sub-menu a { text-transform: none !important; font-size: 14px !important; color: var(--nvp-slate-600) !important; }

/* Bottom bar */
.nvp-bottom-bar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nvp-filter--bar { grid-template-columns: 1fr 1fr 1fr; }
  .nvp-filter--bar .nvp-filter-kw { grid-column: 1 / -1; }
  .nvp-filter--bar .nvp-filter-actions { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nvp-layout, .nvp-layout--left { grid-template-columns: minmax(0, 1fr); }
  .nvp-property-grid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvp-product-top { grid-template-columns: 1fr; }
  .nvp-about-split, .nvp-contact-grid { grid-template-columns: 1fr; }
  .nvp-service-grid, .nvp-steps, .nvp-about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvp-post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvp-sticky { position: static; }
  .nvp-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 849px) {
  /* Bottom bar + room for it */
  .nvp-bottom-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--nvp-border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -12px rgba(15,23,42,.25);
  }
  .nvp-bottom-bar a, .nvp-bottom-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: none; border: 0; padding: 4px 0 !important; color: var(--nvp-slate-500) !important; font-size: 11px; font-weight: 600;
    text-decoration: none !important; cursor: pointer; font-family: inherit;
  }
  .nvp-bottom-bar .is-active { color: var(--nvp-primary) !important; }
  .nvp-bottom-bar .is-call { color: var(--nvp-navy) !important; }
  .nvp-bb-call { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--nvp-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(249,115,22,.7); border: 3px solid #fff; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
  #button-contact-vr { display: none !important; }

  /* Factory page mobile CTA */
  .nvp-mobile-cta {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    background: #fff; border-top: 1px solid var(--nvp-border); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px -12px rgba(15,23,42,.25);
  }
  .nvp-mobile-cta-price { flex: 1; min-width: 0; line-height: 1.2; }
  .nvp-mobile-cta-price small { display: block; font-size: 11px; color: var(--nvp-slate-500); }
  .nvp-mobile-cta-price strong { display: block; color: var(--nvp-emerald); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nvp-mobile-cta .nvp-btn { padding: 12px 16px; }

  /* Header */
  .header-main .header-inner { min-height: 64px !important; }
  #logo img { max-height: 42px !important; }
  #wide-nav.header-bottom { display: none !important; }

  .nvp-page-banner { padding: 20px 0 24px; margin-bottom: 20px; }
  .nvp-subnav { top: 0 !important; }
  .nvp-subnav-cta { display: none; }
  .nvp-summary { padding: 18px; }
  .nvp-section-card { padding: 18px; }
  .nvp-article-card { padding: 20px 18px; }
  .nvp-article-cover { margin: -20px -18px 20px; }
  .nvp-inline-cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .nvp-post-card.is-featured { flex-direction: column; }
  .nvp-post-card.is-featured .nvp-post-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .nvp-post-card.is-featured .nvp-post-body { padding: 18px 20px 20px; }
  .nvp-post-card.is-featured .nvp-post-title { font-size: 19px !important; }
  .nvp-map--lg { aspect-ratio: 4 / 3; }
  .nvp-about-hero { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .nvp-property-grid--listing, .nvp-post-grid, .nvp-post-grid--3, .nvp-form-grid,
  .nvp-service-grid, .nvp-steps, .nvp-value-list { grid-template-columns: 1fr; }
  .nvp-about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nvp-stat-card { padding: 14px; }
  .nvp-stat-card strong { font-size: 20px; }
  .nvp-filter--bar { grid-template-columns: 1fr; }
  .nvp-listing-toolbar { padding: 10px; }
  .nvp-result-count { order: 3; width: 100%; margin: 0; font-size: 13px; }
  .nvp-sort { margin-left: auto; }
  .nvp-sort label { display: none; }
  .nvp-sort select { min-width: 0; }
  .nvp-summary-cta { grid-template-columns: 1fr; }
  .nvp-spec-grid { grid-template-columns: 1fr 1fr; }
  .nvp-post-nav { grid-template-columns: 1fr; }
  .nvp-post-nav .is-next { grid-column: auto; }
  .nvp-gallery-main { border-radius: 14px; margin: 0 -4px; }
  .nvp-gallery-nav { width: 36px; height: 36px; font-size: 22px; }
  .nvp-gallery-thumb { flex-basis: 70px; height: 54px; }
  .nvp-map { aspect-ratio: 4 / 3; }
  .nvp-area-grid { grid-template-columns: 1fr; }
  .nvp-contact-form { padding: 20px; }
  .nvp-lightbox-nav { width: 42px; height: 42px; }
}

/* Flatsome uppercases dt/dd and small labels globally */
.nvp-spec-grid dt, .nvp-spec-grid dd { text-transform: none !important; letter-spacing: 0 !important; }

/* Home on phones: get the search form into the first screen */
@media (max-width: 849px) {
  .nvp-hero-card { display: none !important; }
  .nvp-hero { padding: 28px 0 56px !important; }
  .nvp-hero-desc { font-size: 14.5px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .nvp-hero-actions { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
  .nvp-hero-actions .nvp-btn { flex: 1 1 auto; padding: 11px 14px; font-size: 13.5px; }
  .nvp-hero-stats { margin-top: 20px !important; padding-top: 16px !important; gap: 12px !important; }
  .nvp-hero-stats strong { font-size: 18px !important; }
  .nvp-search-bar-wrap { margin-top: -36px !important; padding: 0 14px !important; }
  .nvp-search-card { padding: 14px !important; }
}

/* Home search card now hosts the shared filter form: undo the legacy
   icon padding on selects, keep it only on the keyword input. */
.nvp-search-card .nvp-filter select { padding: 0 32px 0 14px !important; background-color: #fff !important; }
.nvp-search-card .nvp-filter input[type="search"] { padding-left: 42px !important; background: #fff !important; }
.nvp-search-card .nvp-filter button[type="submit"] { height: 46px; }
.nvp-tab-btn { text-transform: none !important; letter-spacing: 0 !important; }

/* SEO content blocks */
.nvp-property-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nvp-article-factories { margin: 28px 0 0; }
.nvp-article-factories .nvp-section-title { font-size: 22px !important; }
.nvp-area-links { margin: 14px 0 0; font-size: 14px; color: var(--nvp-slate-600); }
.nvp-area-links a { color: var(--nvp-primary-hover) !important; font-weight: 600; }
.nvp-term-body { margin-top: 32px; padding: 26px 28px; }
.nvp-term-body .nvp-prose { font-size: 15px; }
.nvp-term-body .nvp-prose h2 { font-size: 20px !important; margin-top: 1.2em !important; }
.nvp-term-body .nvp-prose > h2:first-child { margin-top: 0 !important; }
.nvp-update-note { margin: 0 0 1.4em; padding: 14px 18px; border-radius: 12px; background: var(--nvp-sky-soft); border: 1px solid #bae6fd; color: #075985; font-size: 14.5px; line-height: 1.6; }
.nvp-update-note strong { color: #0c4a6e; }
@media (max-width: 1024px) { .nvp-property-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nvp-property-grid--3 { grid-template-columns: 1fr; } .nvp-term-body { padding: 20px; } }
