@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/notosans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/notosans-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/notosans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/notosans-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* MEGRA chrome ~10% — white bar like Novastar, MEGRA mark only */
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 40;
  background: #fff; padding: 8px 12px; border: 1px solid #e6e6e6;
}
.visually-hidden, .seo-lock {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #d6d6d6;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #222;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: #222; }
.brand img { height: 32px; width: auto; display: block; }
.brand-sub {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  font-family: Montserrat, Roboto, "Noto Sans", sans-serif;
}
.menu-toggle {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #222;
  margin: 5px 0;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: #7a7a7a;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  font-family: Montserrat, Roboto, "Noto Sans", sans-serif;
}
.nav a:hover,
.nav a.is-active { color: #005fb6; text-decoration: none; }


.site-footer {
  border-top: 1px solid #e6e6e6;
  background: #fff;
  color: #666;
  text-align: center;
  padding: 28px 16px 24px;
  font-size: 13px;
  font-family: Montserrat, Roboto, "Noto Sans", sans-serif;
}
.site-footer .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.site-footer p { margin: 0 0 8px; line-height: 1.55; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer .footer-brand {
  color: #444;
  font-weight: 500;
}
.site-footer .footer-contact a {
  color: #005fb6;
  text-decoration: none;
  font-weight: 500;
}
.site-footer .footer-contact a:hover { text-decoration: underline; }
.site-footer .footer-copy {
  color: #888;
  font-size: 12px;
  margin-top: 4px;
}

/* Contact (MEGRA only) */
.contact-page {
  font-family: Montserrat, Roboto, "Noto Sans", sans-serif;
  color: #222;
  background: #fff;
}
.contact-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.contact-wrap h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
}
.contact-wrap h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #005fb6;
}
.contact-wrap p { margin: 0 0 10px; color: #444; max-width: 60ch; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}
.price-area { min-height: 0; }

.moved-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  font-family: Montserrat, Roboto, "Noto Sans", sans-serif;
}
.moved-page h1 { font-size: 24px; }
.moved-page a { color: #005fb6; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #d6d6d6;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    gap: 12px;
  }
  .nav.is-open { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Keep cloned Novastar body from sitting under sticky MEGRA bar */
.kniu_head_fixed + .kniu_web_body::before { content: none !important; height: 0 !important; }
.kniu_web_head, .kniu_md_head, .kniu_pc_head,
.kniu_bottom_navs_group, .kniu_web_foot,
.cookies_group, .cookies_min, .think-trace { display: none !important; }

/* SAFE layout: product intro cards — image under text, no messy stack
   (TB / similar OEM cards use kniu_pc_card_img_bg overlay) */
.product_card2,
.kniu_pc_card_img_bg.product_card2 {
  position: relative;
  overflow: hidden;
}
.product_card2 .product_bg_group,
.product_card2 .product_bg {
  max-width: 100%;
}
.product_card2 .product_bg1,
.product_card2 .product_bg2 {
  width: 100% !important;
  height: auto;
  display: block;
}
.product_cell1 .product_bg1 {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 964px) {
  /* A: text only on clear LEFT / UPPER zone — not over black devices */
  .kniu_pc_card_img_bg.product_card2 {
    display: block;
  }
  .kniu_pc_card_img_bg.product_card2 > .kniu_card_head,
  .kniu_pc_card_img_bg.product_card2 > .product_card_head2 {
    position: relative;
    line-height: 0;
    z-index: 1;
  }
  .kniu_pc_card_img_bg.product_card2 > .kniu_card_body,
  .kniu_pc_card_img_bg.product_card2 > .product_card_body2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* reserve bottom ~ device zone */
    padding: 5% 4% 38% 4%;
    box-sizing: border-box;
    pointer-events: none;
  }
  .kniu_pc_card_img_bg.product_card2 .kniu_container {
    width: 100%;
    max-width: none;
    margin: 0;
    pointer-events: auto;
  }
  .kniu_pc_card_img_bg.product_card2 .product_text_wrap1,
  .kniu_pc_card_img_bg.product_card2 .product_text_list21 {
    max-width: min(440px, 38%);
    margin: 0;
    padding: 0 !important;
  }
  .kniu_pc_card_img_bg.product_card2 .product_text21 {
    margin: 0;
    line-height: 1.45;
    font-size: clamp(14px, 1.15vw, 18px);
    color: #0e182d;
    text-shadow:
      0 0 10px #fff,
      0 0 18px #fff,
      0 1px 0 rgba(255, 255, 255, 0.9);
  }
  /* natural wrap in narrow column — drop OEM forced desktop <br> */
  .kniu_pc_card_img_bg.product_card2 .kniu_pc_main {
    display: none !important;
  }
}
@media (max-width: 963px) {
  /* mobile / iOS: clean stack — text then image, no overlay fight */
  .product_card2.kniu_md_card_img_bottom {
    display: flex;
    flex-direction: column;
  }
  .product_card2.kniu_md_card_img_bottom > .product_card_body2,
  .product_card2.kniu_md_card_img_bottom > .kniu_card_body {
    position: static !important;
    height: auto !important;
    order: 1;
    width: 100% !important;
    padding: 16px 16px 8px !important;
    box-sizing: border-box;
  }
  .product_card2.kniu_md_card_img_bottom > .product_card_head2,
  .product_card2.kniu_md_card_img_bottom > .kniu_card_head {
    position: static !important;
    order: 2;
    width: 100% !important;
  }
  .product_card2 .kniu_container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .product_card2 .product_text_wrap1,
  .product_card2 .product_text_list21 {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .product_card2 .product_text21 {
    font-size: 15px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  /* hide desktop-only forced line breaks so wording reads normal */
  .product_card2 .kniu_pc_main {
    display: none !important;
  }

  /* product detail tabs: allow horizontal scroll on iOS instead of clip */
  .products_detail_link_wrap1,
  .products_detail_link_group1 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .products_detail_link1 {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* prevent whole-page horizontal bleed */
  .kniu_web,
  .kniu_web_body,
  .product_cells,
  .product_cell {
    max-width: 100%;
    overflow-x: hidden;
  }
  img.product_bg,
  img.product_bg1,
  img.product_bg2 {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}
