/* ServiceManuals.info – mobile listing navigation, 2026-10-27.
   ONLY New Products and Best Sales; <=767px; activated by JS after DOM check. */
@media screen and (max-width: 767px) {
  body:is(#new-products, #best-sales).smi-listings-mobile-ready #content-wrapper {
    display: block !important;
    float: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav {
    display: block;
    margin: 14px 0 20px;
    background: #fff;
    border: 1px solid #d5e1e6;
    border-radius: 7px;
    clear: both;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav > summary {
    display: list-item;
    cursor: pointer;
    padding: 15px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #202a31;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav > summary:focus-visible {
    outline: 3px solid #268ea5;
    outline-offset: 2px;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav[open] > summary {
    border-bottom: 1px solid #d5e1e6;
  }

  /* The original sidebar is MOVED, not cloned, hidden, or rebuilt. Links stay intact. */
  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav > #left-column {
    display: block !important;
    float: none !important;
    flex: 0 0 100% !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    max-height: 65vh;
    overflow: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: #fff;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav > #left-column .block-categories {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready .smi-listings-nav > #left-column a {
    overflow-wrap: anywhere;
  }

  body:is(#new-products, #best-sales).smi-listings-mobile-ready #products,
  body:is(#new-products, #best-sales).smi-listings-mobile-ready #js-product-list {
    margin-top: 8px;
  }
}
