:root {
  --npcq-blue: #004378;
  --npcq-blue-2: #005d9f;
  --npcq-sky: #5aa2da;
  --npcq-green: #95c21e;
  --npcq-ink: #18364c;
  --npcq-muted: #667987;
  --npcq-line: #dce5eb;
  --npcq-bg: #f5f8fa;
  --npcq-white: #ffffff;
}

.npcq-app,
.npcq-app * { box-sizing: border-box; }
.npcq-app { color: var(--npcq-ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.45; }
.npcq-app button,
.npcq-app input,
.npcq-app select,
.npcq-app textarea { font: inherit; }
.npcq-app button { cursor: pointer; }
.npcq-app [hidden] { display: none !important; }

/* Portal for modal layers. Kept outside Divi stacking contexts so the
   overlay, product modal and quote drawer always cover sticky headers. */
.npcq-layer-portal {
  position: relative !important;
  z-index: 2147483000 !important;
  width: 0 !important;
  height: 0 !important;
}
.npcq-layer-portal .npcq-overlay { z-index: 2147483001 !important; }
.npcq-layer-portal .npcq-product-modal { z-index: 2147483002 !important; }
.npcq-layer-portal .npcq-drawer { z-index: 2147483003 !important; }

.npcq-shell {
  position: relative;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 67, 120, .10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(9, 55, 87, .08);
  overflow: hidden;
}

.npcq-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  background: linear-gradient(120deg, #fff 0%, #f9fcfe 70%, #edf6fb 100%);
  border-bottom: 1px solid var(--npcq-line);
}
.npcq-brand-row { display: flex; align-items: center; gap: 28px; min-width: 0; }
.npcq-logo { width: 180px; height: auto; flex: 0 0 auto; }
.npcq-intro-copy h2 { margin: 2px 0 6px; color: var(--npcq-blue); font-size: clamp(25px, 2vw, 34px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.npcq-intro-copy p { margin: 0; color: var(--npcq-muted); max-width: 760px; font-size: 15px; }
.npcq-eyebrow,
.npcq-modal-kicker { display: block; color: var(--npcq-sky); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.npcq-intro-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.npcq-intro-actions > .npcq-primary,
.npcq-intro-actions > .npcq-link-button {
  width: 184px;
  min-width: 184px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.npcq-primary,
.npcq-link-button {
  min-height: 44px;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .015em;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.npcq-primary { border: 1px solid var(--npcq-blue); background: var(--npcq-blue); color: #fff !important; box-shadow: 0 7px 18px rgba(0, 67, 120, .16); }
.npcq-primary:hover { background: var(--npcq-blue-2); border-color: var(--npcq-blue-2); transform: translateY(-1px); box-shadow: 0 9px 22px rgba(0, 67, 120, .20); }
.npcq-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.npcq-link-button { border: 1px solid rgba(0, 67, 120, .25); color: var(--npcq-blue) !important; background: #fff; display: inline-flex; align-items: center; }
.npcq-link-button:hover { border-color: var(--npcq-blue); background: #f4f9fc; }
.npcq-cart-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-left: 7px; padding: 0 6px; border-radius: 20px; background: var(--npcq-green); color: #12324a; font-size: 12px; }

.npcq-category-wrap { padding: 15px 22px 16px; background: #fff; border-bottom: 1px solid var(--npcq-line); }
.npcq-category-label { margin-bottom: 9px; color: #7890a0; font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: .12em; }
.npcq-category-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 1px; scrollbar-width: thin; }
.npcq-category { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border: 1px solid #cbd9e3; border-radius: 5px; background: #fff; color: var(--npcq-blue); font-size: 12px; font-weight: 800; white-space: nowrap; transition: .16s ease; }
.npcq-category:hover { border-color: var(--npcq-sky); background: #f6fbfe; }
.npcq-category.is-active { border-color: var(--npcq-blue); background: var(--npcq-blue); color: #fff; box-shadow: 0 5px 14px rgba(0,67,120,.16); }

.npcq-toolbar {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  background: #f8fafb;
  border-bottom: 1px solid var(--npcq-line);
}
.npcq-search-wrap { position: relative; max-width: 620px; }
.npcq-search-wrap > svg { position: absolute; width: 19px; height: 19px; left: 14px; top: 50%; transform: translateY(-50%); color: var(--npcq-sky); pointer-events: none; }
.npcq-search { width: 100%; height: 44px; border: 1px solid #cad9e3 !important; border-radius: 6px !important; background: #fff !important; padding: 0 15px 0 43px !important; color: var(--npcq-ink) !important; box-shadow: none !important; }
.npcq-search:focus { outline: none; border-color: var(--npcq-sky) !important; box-shadow: 0 0 0 3px rgba(90, 162, 218, .12) !important; }
.npcq-search-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 7px); max-height: 370px; overflow: auto; border: 1px solid #ccdbe4; border-radius: 7px; background: #fff; box-shadow: 0 16px 35px rgba(0,49,84,.18); }
.npcq-search-result { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 13px; border: 0; border-bottom: 1px solid #edf2f5; background: #fff; text-align: left; }
.npcq-search-result:hover { background: #f4f9fc; }
.npcq-search-result > span { display: grid; gap: 2px; }
.npcq-search-result strong { color: var(--npcq-blue); font-size: 13px; }
.npcq-search-result small { color: var(--npcq-muted); font-size: 10px; }
.npcq-search-result b { color: var(--npcq-sky); font-size: 12px; }
.npcq-search-empty { padding: 14px; color: var(--npcq-muted); font-size: 12px; }
.npcq-page-nav { display: flex; align-items: center; gap: 10px; }
.npcq-nav { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #c9d8e2; border-radius: 5px; background: #fff; color: var(--npcq-blue); font-size: 18px; font-weight: 800; }
.npcq-nav:hover:not(:disabled) { border-color: var(--npcq-blue); }
.npcq-nav:disabled { opacity: .28; cursor: default; }
.npcq-page-meta { min-width: 180px; text-align: center; }
.npcq-page-meta strong { display: block; color: var(--npcq-blue); font-size: 13px; }
.npcq-page-meta span { display: block; margin-top: 3px; color: var(--npcq-muted); font-size: 11px; }

.npcq-catalog-stage { position: relative; padding: 20px; background: #edf2f5; }
.npcq-spread { position: relative; width: 100%; min-height: 180px; background: #fff; border-radius: 8px; box-shadow: 0 12px 34px rgba(21, 53, 76, .16); overflow: hidden; }
.npcq-spread-image, .npcq-spread-canvas { display: block; width: 100%; height: auto; min-height: 1px; user-select: none; -webkit-user-drag: none; }
.npcq-image-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: #fff; color: #8a4c51; font-weight: 700; text-align: center; }
.npcq-click-zones { position: absolute; inset: 0; pointer-events: none; }
.npcq-click-zone { position: absolute; z-index: 3; width: 9px; height: 9px; display: inline-block; padding: 0; border: 1px solid #fff; border-radius: 50%; background: var(--npcq-blue); color: transparent; box-shadow: 0 1px 3px rgba(0,43,78,.25); pointer-events: auto; cursor: pointer; transform: translate(4px, -50%); transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.npcq-click-zone.is-tight { width: 9px; height: 9px; border-width: 1px; transform: translate(2px, -50%); box-shadow: 0 1px 3px rgba(0,43,78,.28), 0 0 0 1px rgba(255,255,255,.18) inset; }
.npcq-click-zone.is-tight::before { font-size: 7px; }
.npcq-click-zone::before { content: "\002B"; position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); color: #fff; font: 900 7px/1 Arial, sans-serif; text-align: center; }
.npcq-click-zone:hover { background: var(--npcq-green); box-shadow: 0 2px 5px rgba(0,43,78,.30); transform: translate(4px, -50%) scale(1.10); }
.npcq-click-zone.is-tight:hover { transform: translate(2px, -50%) scale(1.08); }
.npcq-click-zone:hover::before { color: var(--npcq-blue); }
.npcq-click-zone:focus-visible { outline: 2px solid var(--npcq-blue); outline-offset: 2px; }
.npcq-catalog-help { display: flex; align-items: center; gap: 9px; margin: 13px 4px 0; color: #637987; font-size: 12px; }
.npcq-help-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--npcq-green); box-shadow: 0 0 0 4px rgba(149,194,30,.14); }

.npcq-products-panel { margin-top: 17px; padding: 18px; border: 1px solid #d7e2e9; border-radius: 9px; background: #fff; }
.npcq-products-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.npcq-products-head > div { display: grid; gap: 2px; }
.npcq-products-head span { color: var(--npcq-sky); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.npcq-products-head strong { color: var(--npcq-blue); font-size: 18px; }
.npcq-products-head small { color: #7c8f9b; font-size: 11px; }
.npcq-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-height: 250px; overflow: auto; padding-right: 3px; }
.npcq-product-card { min-width: 0; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 12px; border: 1px solid #dbe5eb; border-radius: 6px; background: #fff; text-align: left; transition: .15s ease; }
.npcq-product-card:hover { border-color: var(--npcq-sky); background: #f7fbfd; box-shadow: 0 4px 12px rgba(0,67,120,.07); }
.npcq-product-card-copy { min-width: 0; display: grid; gap: 2px; }
.npcq-product-card-copy strong { overflow: hidden; color: var(--npcq-blue); font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.npcq-product-card-copy small { overflow: hidden; color: #748692; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.npcq-product-plus { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--npcq-blue); color: #fff; font-size: 19px; line-height: 1; font-weight: 600; }
.npcq-product-card:hover .npcq-product-plus { background: var(--npcq-green); color: var(--npcq-blue); }

.npcq-floating-cart { position: fixed; z-index: 99970; right: 22px; bottom: 22px; min-height: 54px; display: none; align-items: center; gap: 9px; padding: 9px 12px 9px 15px; border: 0; border-radius: 28px; color: #fff; background: var(--npcq-blue); box-shadow: 0 14px 34px rgba(0, 43, 78, .25); font-weight: 800; }
.npcq-floating-icon { font-size: 18px; }

.npcq-overlay { position: fixed; z-index: 99980; inset: 0; background: rgba(0, 35, 62, .52); opacity: 0; backdrop-filter: blur(3px); transition: opacity .18s ease; }
.npcq-overlay.is-visible { opacity: 1; }

.npcq-product-modal { position: fixed; z-index: 99990; left: 50%; top: 50%; width: min(480px, calc(100vw - 32px)); padding: 30px; border-radius: 12px; background: #fff; box-shadow: 0 28px 80px rgba(0, 28, 48, .30); transform: translate(-50%, calc(-50% + 12px)) scale(.98); opacity: 0; transition: .18s ease; }
.npcq-product-modal.is-visible { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.npcq-product-modal h3 { margin: 5px 42px 3px 0; color: var(--npcq-blue); font-size: 27px; line-height: 1.1; font-weight: 800; }
.npcq-product-page { margin: 0 0 22px; color: var(--npcq-muted); font-size: 13px; }
.npcq-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eef4f7; color: var(--npcq-blue); font-size: 24px; line-height: 1; }
.npcq-product-modal > .npcq-close { position: absolute; right: 18px; top: 18px; }
.npcq-variant-wrap label { display: block; color: #536b7b; font-size: 12px; font-weight: 700; }
.npcq-variant-select { width: 100%; height: 48px; margin-top: 6px; padding: 0 12px; border: 1px solid #cbdbe5; border-radius: 6px; color: var(--npcq-ink); background: #fff; }
.npcq-single-reference { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 12px; padding: 15px 16px; background: #f2f7fa; border-left: 4px solid var(--npcq-sky); border-radius: 5px; }
.npcq-single-reference span { grid-column: 1; color: var(--npcq-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.npcq-single-reference strong { grid-column: 1; color: var(--npcq-blue); font-size: 22px; }
.npcq-single-reference small { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--npcq-muted); }
.npcq-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0; font-weight: 700; color: #506878; }
.npcq-qty-control,
.npcq-mini-qty { display: inline-flex; align-items: stretch; border: 1px solid #cad9e3; border-radius: 6px; overflow: hidden; background: #fff; }
.npcq-qty-control button,
.npcq-mini-qty button { width: 40px; border: 0; background: #f0f5f8; color: var(--npcq-blue); font-weight: 800; }
.npcq-qty-input,
.npcq-mini-qty input { width: 62px !important; min-width: 0 !important; height: 42px !important; margin: 0 !important; padding: 0 5px !important; border: 0 !important; border-left: 1px solid #d9e3ea !important; border-right: 1px solid #d9e3ea !important; border-radius: 0 !important; text-align: center; background: #fff !important; box-shadow: none !important; }
.npcq-product-modal > .npcq-primary { width: 100%; min-height: 49px; }

.npcq-drawer { position: fixed; z-index: 99995; top: 0; right: 0; width: min(560px, 100vw); height: 100vh; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(0, 35, 62, .24); transform: translateX(104%); transition: transform .22s ease; }
.npcq-drawer.is-visible { transform: translateX(0); }
.npcq-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--npcq-line); }
.npcq-drawer-head h3 { margin: 3px 0 0; color: var(--npcq-blue); font-size: 25px; line-height: 1.1; }
.npcq-drawer-scroll { flex: 1; overflow-y: auto; padding: 22px 26px 36px; background: #f8fafb; }
.npcq-cart-empty { padding: 22px; border: 1px dashed #bacbd6; border-radius: 8px; background: #fff; color: var(--npcq-muted); text-align: center; font-size: 13px; }
.npcq-cart-items { display: grid; gap: 10px; }
.npcq-cart-item { padding: 15px; border: 1px solid #dce6ec; border-radius: 8px; background: #fff; }
.npcq-cart-item-top,
.npcq-cart-item-bottom { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.npcq-cart-item-top > div { display: grid; gap: 2px; }
.npcq-cart-item-top strong { color: var(--npcq-blue); font-size: 15px; }
.npcq-cart-item-top span { color: var(--npcq-muted); font-size: 11px; line-height: 1.35; }
.npcq-remove { border: 0; background: transparent; color: #a23e44; font-size: 11px; font-weight: 700; padding: 2px 0; }
.npcq-cart-item-bottom { align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eef2f4; }
.npcq-cart-item-bottom > b { color: var(--npcq-ink); font-size: 13px; }
.npcq-mini-qty button { width: 31px; }
.npcq-mini-qty input { width: 44px !important; height: 32px !important; }

.npcq-form { margin-top: 24px; padding: 22px; border-radius: 9px; background: #fff; border: 1px solid #dce6ec; }
.npcq-form.is-disabled { opacity: .52; }
.npcq-form.is-disabled .npcq-submit { pointer-events: none; }
.npcq-form-title { display: grid; gap: 2px; margin-bottom: 17px; }
.npcq-form-title span { color: var(--npcq-sky); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.npcq-form-title strong { color: var(--npcq-blue); font-size: 19px; }
.npcq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.npcq-fields label { display: grid; gap: 5px; color: #556d7d; font-size: 11px; font-weight: 800; }
.npcq-fields input,
.npcq-fields textarea { width: 100% !important; margin: 0 !important; padding: 10px 11px !important; border: 1px solid #cad9e3 !important; border-radius: 6px !important; background: #fff !important; color: var(--npcq-ink) !important; box-shadow: none !important; }
.npcq-fields input { height: 42px !important; }
.npcq-fields textarea { resize: vertical; min-height: 92px; }
.npcq-fields input:focus,
.npcq-fields textarea:focus { outline: none; border-color: var(--npcq-sky) !important; box-shadow: 0 0 0 3px rgba(90, 162, 218, .12) !important; }
.npcq-field-wide { grid-column: 1 / -1; }
.npcq-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.npcq-form-status { margin: 13px 0 0; border-radius: 6px; font-size: 12px; }
.npcq-form-status.is-error { padding: 10px 12px; background: #fff1f1; color: #9b353b; }
.npcq-form-status.is-success { padding: 10px 12px; background: #eff8dc; color: #3f6811; }
.npcq-submit { width: 100%; margin-top: 15px; min-height: 50px; }
.npcq-form-note { margin: 9px 0 0; text-align: center; color: #7b8c97; font-size: 10px; }

.npcq-toast { position: fixed; z-index: 100000; left: 50%; bottom: 24px; max-width: calc(100vw - 40px); transform: translate(-50%, 18px); opacity: 0; padding: 12px 18px; border-radius: 7px; background: #17364c; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 13px; font-weight: 700; pointer-events: none; transition: .2s ease; }
.npcq-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1100px) {
  .npcq-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .npcq-shell { border-radius: 10px; }
  .npcq-intro { align-items: flex-start; padding: 22px; }
  .npcq-brand-row { align-items: flex-start; gap: 18px; }
  .npcq-logo { width: 145px; }
  .npcq-intro-actions { display: none; }
  .npcq-category-wrap { padding: 13px 14px; }
  .npcq-toolbar { grid-template-columns: 1fr; gap: 12px; padding: 13px 14px; }
  .npcq-search-wrap { max-width: none; }
  .npcq-page-nav { justify-content: space-between; }
  .npcq-page-meta { flex: 1; }
  .npcq-catalog-stage { padding: 12px; }
  .npcq-spread { overflow-x: auto; }
  .npcq-spread-image, .npcq-spread-canvas { min-width: 1100px; }
  .npcq-click-zones { min-width: 1100px; }
  .npcq-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 310px; }
  .npcq-floating-cart { display: flex; }
}

@media (max-width: 620px) {
  .npcq-intro { padding: 18px; }
  .npcq-brand-row { display: grid; gap: 12px; }
  .npcq-logo { width: 155px; }
  .npcq-intro-copy h2 { font-size: 24px; }
  .npcq-intro-copy p { font-size: 13px; }
  .npcq-category-label { display: none; }
  .npcq-category-wrap { padding-top: 11px; padding-bottom: 11px; }
  .npcq-category { min-height: 36px; padding: 7px 11px; font-size: 11px; }
  .npcq-products-panel { padding: 14px; }
  .npcq-products-head { align-items: start; }
  .npcq-products-head strong { font-size: 16px; }
  .npcq-product-grid { grid-template-columns: 1fr; max-height: 340px; }
  .npcq-product-card { min-height: 58px; }
  .npcq-drawer-head,
  .npcq-drawer-scroll { padding-left: 18px; padding-right: 18px; }
  .npcq-fields { grid-template-columns: 1fr; }
  .npcq-field-wide { grid-column: auto; }
  .npcq-product-modal { padding: 24px 20px; }
  .npcq-floating-cart { right: 12px; bottom: 12px; }
  .npcq-catalog-help { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .npcq-app *,
  .npcq-app *::before,
  .npcq-app *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.npcq-app{padding:18px}.npcq-shell{max-width:1760px}

/* V7 reliability fixes */
.npcq-shell [hidden] { display: none !important; }
.npcq-intro-actions > .npcq-primary,
.npcq-intro-actions > .npcq-link-button {
  box-sizing: border-box !important;
  width: 184px !important;
  min-width: 184px !important;
  max-width: 184px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  flex: 0 0 184px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
