/* Shared behaviour for HealAI product pages: mobile menu, scroll-spy, cross-product strip. */

.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(6, 41, 66, .09); }
.site-header nav a { position: relative; }
.site-header nav a.is-active { color: var(--blue, var(--accent, var(--teal, #0a7fb6))); font-weight: 700; }
.site-header nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; }

.nav-toggle { display: none; }
body.nav-locked { overflow: hidden; }

@media (max-width: 1060px) {
  .site-header nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: 4px;
    padding: 0;
    border: 1px solid rgba(16, 67, 93, .14);
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px; background: #365465; transition: transform .25s ease; }
  .site-header.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header.nav-open nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 14px;
    border-bottom: 1px solid rgba(8, 123, 183, .12);
    background: #ffffff;
    box-shadow: 0 28px 54px rgba(6, 41, 66, .14);
    opacity: 1;
    z-index: 60;
    isolation: isolate;
  }
  .site-header.nav-open nav a { padding: 13px 4px; border-bottom: 1px solid rgba(16, 67, 93, .08); font-size: 15px; }
  .site-header.nav-open nav a:last-child { border-bottom: 0; }
  .site-header nav a.is-active::after { display: none; }
}

@media (max-width: 700px) {
  .nav-toggle { width: 36px; height: 36px; margin-left: 2px; }
  .site-header.nav-open nav { padding: 6px 16px 12px; }
}

/* ---------- cross-product strip ---------- */
.more-products { padding: 66px 0 72px; border-top: 1px solid rgba(16, 67, 93, .08); color: #0b2a3c; background: #f6fafc; }
.more-products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.more-kicker { display: block; color: #7f97a3; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.more-products h2 { margin: 8px 0 0; color: #0b2a3c; font-size: 26px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.more-all { flex: 0 0 auto; color: var(--blue, var(--accent, var(--teal, #0a7fb6))); font-size: 13px; font-weight: 650; }
.more-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.more-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 16px 18px; border: 1px solid rgba(16, 67, 93, .1); border-radius: 18px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.more-card:hover { transform: translateY(-4px); border-color: rgba(10, 127, 182, .35); box-shadow: 0 18px 44px rgba(10, 67, 86, .1); }
.more-thumb { height: 96px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 30%, #ffffff, #eaf4f9); }
.more-thumb img { max-width: 84%; max-height: 78px; object-fit: contain; }
.more-card b { color: #0b2a3c; font-size: 14px; line-height: 1.45; }
.more-card span { color: #6b8391; font-size: 12px; line-height: 1.6; }
.more-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; color: #5f7887; font-size: 13px; }
.more-contact b { color: #0b2a3c; font-weight: 700; }
.more-contact a { display: inline-flex; align-items: center; gap: 7px; color: #22546b; }
.more-contact a i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue, var(--accent, var(--teal, #0a7fb6))); font-style: normal; font-size: 11px; }
.more-contact a:hover { color: var(--blue, var(--accent, var(--teal, #0a7fb6))); }

@media (max-width: 1060px) {
  .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .more-products { padding: 52px 0 56px; }
  .more-products-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .more-products h2 { font-size: 22px; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .more-card { padding: 13px 13px 15px; }
  .more-thumb { height: 84px; }
  .more-card b { font-size: 13px; }
}
