/* NGOC PROPERTY V5.8.174 — Mobile Hero / Trust / History Cleanup */
@media (max-width:700px){
  /* The customer's history remains available in the profile/menu; do not let it interrupt the homepage hero. */
  body.np-home570 .np-customer-mobile-strip{display:none!important}

  /* Compact verified-data bar: one visual row, brand-aligned, no system-alert appearance. */
  body.np-home570 .np-trust-ribbon{
    margin:0!important;
    border:0!important;
    border-bottom:1px solid rgba(7,74,77,.10)!important;
    background:linear-gradient(90deg,#f7fbf9 0%,#fffaf0 100%)!important;
    color:#173f4a!important;
    box-shadow:0 7px 20px rgba(4,44,57,.045)!important;
  }
  body.np-home570 .np-trust-ribbon.is-aging{
    background:linear-gradient(90deg,#fffaf0 0%,#fff7e8 100%)!important;
    color:#604c26!important;
  }
  body.np-home570 .np-trust-ribbon-inner{
    box-sizing:border-box!important;
    min-height:48px!important;
    max-width:none!important;
    padding:7px 14px!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) auto 24px!important;
    align-items:center!important;
    gap:3px 8px!important;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
    line-height:1.18!important;
  }
  body.np-home570 .np-trust-dot{
    grid-column:1!important;
    grid-row:1!important;
    width:24px!important;
    height:24px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:9px!important;
    background:#0b7772!important;
    box-shadow:none!important;
    color:#fff!important;
  }
  body.np-home570 .np-trust-dot::after{
    content:"✓";
    color:#fff;
    font-size:14px;
    font-weight:900;
    line-height:1;
  }
  body.np-home570 .np-trust-ribbon.is-aging .np-trust-dot{background:#b57d25!important}
  body.np-home570 .np-trust-ribbon-inner>strong{
    grid-column:2!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    font-size:11.5px!important;
    font-weight:850!important;
    letter-spacing:-.01em!important;
  }
  /* First span after strong is the public inventory count. */
  body.np-home570 .np-trust-ribbon-inner>strong+span{
    grid-column:3!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:24px!important;
    padding:0 8px!important;
    border:1px solid rgba(8,112,107,.13)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.72)!important;
    color:#48646b!important;
    white-space:nowrap!important;
    font-size:9.5px!important;
    font-weight:700!important;
  }
  body.np-home570 .np-trust-ribbon.is-aging .np-trust-ribbon-inner>strong+span{
    border-color:rgba(181,125,37,.18)!important;
    color:#735b2e!important;
  }
  /* Hide verbose freshness/disclaimer lines from the mobile hero; details remain on the linked disclosure page. */
  body.np-home570 .np-trust-ribbon-inner>strong+span+span,
  body.np-home570 .np-trust-ribbon-inner>strong+span+span+span{display:none!important}
  body.np-home570 .np-trust-ribbon a{
    grid-column:4!important;
    width:24px!important;
    height:28px!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    color:#0a6f6b!important;
    text-decoration:none!important;
    font-size:0!important;
    font-weight:900!important;
  }
  body.np-home570 .np-trust-ribbon a::after{content:"›";font-size:23px;line-height:1}
  body.np-home570 .np-trust-ribbon.is-aging a{color:#956719!important}

  /* Let the project hero become the first dominant visual immediately after the trust bar. */
  body.np-home570 .np-hero{margin-top:0!important}
}

@media (max-width:390px){
  body.np-home570 .np-trust-ribbon-inner{grid-template-columns:22px minmax(0,1fr) auto 20px!important;padding-inline:11px!important;gap:3px 6px!important}
  body.np-home570 .np-trust-dot{width:22px!important;height:22px!important;border-radius:8px!important}
  body.np-home570 .np-trust-ribbon-inner>strong{font-size:10.5px!important}
  body.np-home570 .np-trust-ribbon-inner>strong+span{padding-inline:6px!important;font-size:8.8px!important}
}
