/* ============================================================
   DESKTOP NAV — knowdengue style (v1.6)
   Scoped to .product-menu > ul.menu-level-1 (desktop qdenga nav only)
   Wrapped in min-width: 993px — cannot affect mobile
   ============================================================ */

@media screen and (min-width: 993px) {

  .product-menu {
    background-color: #EEEEEE;
    border-top: 1px solid #e8a0b4;
    border-bottom: 1px solid #e8a0b4;
    overflow: hidden;
  }

  /* Override base theme's padding/gap on this specific ul */
  .product-menu > ul.menu-level-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    margin: 0;
  }

  /* Nav items */
  .product-menu > ul.menu-level-1 > .menu-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    background-color: transparent !important;
  }

  /* Dash separator between items */
  .product-menu > ul.menu-level-1 > .menu-item::after {
    content: " ---------- ";
    color: #d4347a;
    font-size: 11px;
    letter-spacing: 1px;
    white-space: pre;
  }

  .product-menu > ul.menu-level-1 > .menu-item:last-child::after {
    content: none;
  }

  /* Star decorators injected by JS */
  .product-menu > ul.menu-level-1 > .kd-nav-star {
    color: #d4347a;
    font-size: 16px;
    padding: 10px 6px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    user-select: none;
  }

  /* Links — override base theme purple with pink */
  .product-menu > ul.menu-level-1 > .menu-item > a {
    display: inline-block;
    padding: 10px 0;
    color: #d4347a !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s ease;
    outline-offset: 2px;
    background-color: transparent !important;
  }

  .product-menu > ul.menu-level-1 > .menu-item > a:hover {
    opacity: 0.7;
    color: #d4347a !important;
    background-color: transparent !important;
  }

  .product-menu > ul.menu-level-1 > .menu-item > a:focus-visible {
    outline: 2px solid #d4347a;
    border-radius: 2px;
    opacity: 1;
  }

  .product-menu > ul.menu-level-1 > .menu-item.menu-item--active-trail > a,
  .product-menu > ul.menu-level-1 > .menu-item > a.is-active {
    opacity: 0.6;
    color: #d4347a !important;
  }

}

/* Smooth scroll */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media screen and (max-width: 992px) {
  body.dengue .for-mobile.global-header-sp.menu-public {
    display: none;
  }
}