/* Branch controls keep the theme's black and gold appearance. */
button.npz-branch-switch {
  font: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  box-sizing: border-box;
}
.npz-branch-switch:focus-visible,
.nk_popap._menu .nk_close:focus-visible,
.npz-price-content:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
.npz-mobile-branch { display: none; }
.npz-branch-modal__item { width: 100%; font: inherit; text-align: left; background: transparent; }
.npz-branch-modal .nk_close { padding: 0; border: 0; background: transparent; }
.npz-branch-modal button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.npz-branch-switch__action {
  display: block;
  color: var(--acc);
  font-size: var(--fs_5);
  font-weight: 600;
}
.nk_popap._menu .nk_box {
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-width: 360px;
  width: calc(100% - 20px);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.nk_popap._menu .nk_close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  left: auto;
  right: 8px;
  top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.nk_popap._menu .nk_top {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 20px;
  height: auto;
}
.nk_popap._menu .npz-menu-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 64px;
  padding: 0 40px 12px 0;
  border-bottom: 1px solid var(--tr_w_3);
}
.nk_popap._menu .npz-menu-branch .npz-branch-switch__label {
  color: #fff;
  font-size: var(--fs_4) !important;
  max-width: 100%;
  line-height: 1.4;
}
.nk_popap._menu .nk_top .nk_bar { min-width: 0; }
.nk_popap._menu .nk_top .nk_phone {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs_3);
  color: #fff;
}
.nk_popap._menu .nk_top .nk_messeger_bar {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}
.nk_popap._menu .nk_top .nk_messeger_bar a {
  width: 44px;
  height: 44px;
  margin: 0;
}
.nk_popap._menu .nk_scroll {
  grid-row: 2;
  min-height: 0;
  height: auto;
  overscroll-behavior: contain;
}
.nk_popap._menu .nk_bottom { grid-row: 3; padding: 16px 20px; }
.nk_popap._menu .nk_bottom .nk_btn { min-height: 44px; margin: 0; }
@media (max-width: 860px) {
  .npz-mobile-branch { display: block; padding-bottom: 12px; }
  .nk_header .npz-mobile-branch__button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--acc);
    border-radius: var(--br_3);
    line-height: 1.35;
  }
  .npz-branch-ui-scrolled .npz-mobile-branch { visibility: hidden; pointer-events: none; }
  .npz-mobile-branch .npz-branch-switch__label { color: #fff; font-size: var(--fs_4); border: 0; }
}
/* CF7 emits nested spans; the whole label remains a touch target. */
.nk_form fieldset.npz-contact-method { min-width: 0; margin: 0 0 16px; border: 0; padding: 0; }
.npz-contact-method legend { color: #fff; margin-bottom: 8px; font-size: var(--fs_4); }
.npz-contact-method .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.npz-contact-method .wpcf7-list-item { margin: 0; }
.nk_form .npz-contact-method label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nk_form .npz-contact-method input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  position: static;
  opacity: 1;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--acc);
}
.npz-contact-method input:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
/* Sanitize document-wide resets before rendering, then retain table-local styling. */
.nk_prices_list .nk_wrapp,
.nk_prices_list .nk_external_table { min-width: 0; max-width: 100%; }
.npz-price-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--acc) var(--main);
}
.npz-price-content th,
.npz-price-content td { white-space: normal; }
.npz-price-content td { overflow-wrap: anywhere; }
.npz-price-content .price-container,
.npz-price-content .price-container * { box-sizing: border-box; }
.npz-price-content .price-container {
  width: fit-content;
  min-width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: #14181f;
  color: #e6edf5;
  font-family: 'Inter', 'Segoe UI', system-ui, Roboto, -apple-system, sans-serif;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, .7);
  padding: 20px 24px 28px;
  border: 1px solid #2a2f38;
}
.npz-price-content .section-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; color: #d4e2fc; padding-bottom: 8px; border-bottom: 2px solid #2a2f38; }
.npz-price-content .section-subtitle { font-size: .9rem; color: #9aaebb; margin-bottom: 20px; line-height: 1.5; }
.npz-price-content .price-container table { width: 100%; border-collapse: collapse; border-radius: 20px; overflow: hidden; }
.npz-price-content .price-container th { background: #1e232c; text-align: left; padding: 16px 18px; font-weight: 600; font-size: .9rem; color: #cddcec; border-bottom: 1px solid #2f3540; }
.npz-price-content .price-container td { padding: 14px 18px; border-bottom: 1px solid #232832; background-color: #11151c; font-size: .94rem; vertical-align: middle; }
.npz-price-content .price-container tr:last-child td { border-bottom: 0; }
.npz-price-content .service-name { font-weight: 500; color: #f0f4fa; line-height: 1.4; }
.npz-price-content .service-code { font-family: monospace; font-size: .72rem; color: #8f9bb3; display: inline-block; margin-right: 10px; background: #1a1f28; padding: 2px 8px; border-radius: 20px; }
.npz-price-content .our-price { font-weight: 700; color: #6ecc8f; white-space: nowrap; }
.npz-price-content .comp-price { font-weight: 700; color: #f2907a; white-space: nowrap; }
.npz-price-content .price-number { font-family: monospace; font-weight: 600; font-variant-numeric: tabular-nums; }
.npz-price-content .price-note { font-size: .7rem; font-weight: 400; margin-left: 2px; color: #9aaebb; }
.npz-price-content .category-row td { background-color: #0f131a; padding: 12px 18px; font-weight: 700; color: #bdd4ff; font-size: .95rem; border-top: 1px solid #2a2f3a; border-bottom: 1px solid #2a2f3a; }
.npz-price-content .category-row:first-child td { border-top: 0; }
.npz-price-content .parent-category-row td { background-color: #171c25; padding: 14px 18px; font-weight: 800; color: #a8c6ff; font-size: 1rem; letter-spacing: .5px; text-transform: uppercase; border-top: 2px solid #2f3a4a; border-bottom: 2px solid #2f3a4a; }
.npz-price-content .note { margin-top: 28px; padding: 14px 20px; background: #101418; border-radius: 20px; font-size: .82rem; color: #b8c7dd; border: 1px solid #2a2f3a; text-align: left; line-height: 1.5; }
.npz-price-content .note strong { color: #d9e6ff; }
@media (max-width: 950px) {
  .npz-price-content .price-container { padding: 16px; }
  .npz-price-content .price-container th,
  .npz-price-content .price-container td { padding: 11px 12px; font-size: .82rem; }
  .npz-price-content .price-number { font-size: .85rem; }
  .npz-price-content .service-name { font-size: .82rem; }
  .npz-price-content .section-title { font-size: 1.1rem; }
}
@media (max-width: 700px) {
  .npz-price-content .price-container { padding: 12px; }
  .npz-price-content .price-container th,
  .npz-price-content .price-container td { padding: 10px 8px; }
  .npz-price-content .service-code { display: block; margin-bottom: 4px; margin-right: 0; width: fit-content; }
  .npz-price-content td.service-name { display: table-cell; }
}
