/* The product suite is a disclosure of ordinary navigation links. */
.nav-products { position: relative; color: var(--brand); }
.product-toggle { display: flex; align-items: center; gap: 8px; position: relative; padding: 12px 0; border: 0; background: none; color: inherit; font: inherit; }
.product-toggle::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .15s; }
.product-toggle:hover::after, .product-toggle.is-current::after, .product-toggle[aria-expanded=true]::after { transform: scaleX(1); }
.nav-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .15s; }
.product-toggle[aria-expanded=true] .nav-chevron { transform: rotate(180deg); }
.product-dropdown { position: absolute; top: calc(100% + 12px); left: -24px; width: 310px; padding: 10px 22px 0; background: white; border: 1px solid var(--line); border-top: 3px solid var(--brand); box-shadow: 0 12px 25px #12274b14; }
.product-dropdown[hidden] { display: none; }
.product-dropdown ul { list-style: none; margin: 0; padding: 0; }
.product-dropdown li + li { border-top: 1px solid var(--line); }
.product-dropdown li a { display: block; padding: 13px 0; }
.product-dropdown a span { display: block; font-size: 15px; font-weight: 600; }
.product-dropdown a small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 1px; }
.product-dropdown a:hover > span, .product-dropdown a[aria-current=page] > span { text-decoration: underline; text-underline-offset: 4px; }
.product-dropdown .product-all { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 15px; font-size: 13px; }
.product-all:hover, .product-all[aria-current=page] { text-decoration: underline; text-underline-offset: 4px; }
.product-all .icon { width: 17px; height: 17px; }
.product-dropdown a:focus-visible { outline-offset: 2px; }
@media (max-width: 800px) {
  .main-nav { max-height: calc(100dvh - 82px); overflow-y: auto; }
  .nav-products { border-bottom: 1px solid var(--line); }
  .product-toggle { width: 100%; justify-content: space-between; padding-block: 14px; }
  .product-toggle::after { display: none; }
  .product-toggle.is-current { font-weight: 700; }
  .product-dropdown { position: static; width: 100%; padding: 0 16px; margin-bottom: 12px; border: 0; border-left: 2px solid var(--brand); box-shadow: none; background: transparent; }
  .product-dropdown li a { padding-block: 10px; }
  .product-dropdown .product-all { min-height: 44px; padding-block: 11px; }
}
