/* Only affects the hamburger layout; desktop secondary navigation is unchanged. */
.decor-mobile-cat-details { display: none; }
@media (max-width: 700px) {
  /* Prevent the original horizontal bar appearing below the site header. */
  .decor-cat-subnav { display: none; }

  /* All menu items, including expanded categories, remain reachable on a phone. */
  .site-header .nav.open {
    max-height: calc(100vh - 130px);
    max-height: min(80dvh, 760px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .site-header .nav .decor-mobile-cat-details {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    border-top: 1px solid #e7e0d1;
    margin-top: 4px;
    padding-top: 8px;
    text-transform: none;
    letter-spacing: normal;
  }
  .decor-mobile-cat-details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #e7e0d1;
    border-radius: 4px;
    color: #24262a;
    background: #f6f1e5;
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
  }
  .decor-mobile-cat-details > summary::-webkit-details-marker { display: none; }
  .decor-mobile-cat-details > summary::after {
    content: '▾';
    font-size: 17px;
    line-height: 1;
    color: #926e1f;
  }
  .decor-mobile-cat-details[open] > summary::after { content: '▴'; }
  .decor-mobile-cat-details > summary:focus-visible {
    outline: 2px solid #a67b22;
    outline-offset: 2px;
  }
  .site-header .nav .decor-mobile-cat-details .decor-cat-subnav {
    display: block;
    position: static;
    z-index: auto;
    width: 100%;
    margin: 0;
    border: 1px solid #e7e0d1;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    background: #fff;
    box-shadow: none;
  }
  .site-header .nav .decor-cat-subnav__inner {
    display: block;
    width: 100%;
    margin: 0;
  }
  .site-header .nav .decor-cat-subnav__heading { display: none; }
  .site-header .nav .decor-cat-subnav__track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: visible;
    white-space: normal;
    scrollbar-width: auto;
  }
  .site-header .nav .decor-cat-subnav__link {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 11px 15px;
    border: 0;
    border-bottom: 1px solid #f0ece3;
    background: #fff;
    color: #2c2d30 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: normal;
  }
  .site-header .nav .decor-cat-subnav__link:last-child { border-bottom: 0; }
  .site-header .nav .decor-cat-subnav__link:hover,
  .site-header .nav .decor-cat-subnav__link:focus-visible,
  .site-header .nav .decor-cat-subnav__link[aria-current='page'] {
    background: #f7efd7;
    color: #6f510c !important;
  }
}
