.lj-mobile-header { display: none; box-sizing: border-box; }
#lj-mobile-menu:not([open]) { display: none; }
#lj-mobile-menu, .lj-mobile-header { font-family: Quicksand, sans-serif; letter-spacing: 0; color: #202523; }
#lj-mobile-menu *, .lj-mobile-header * { box-sizing: border-box; }
@media (max-width: 1199px) {
    body:has(.lj-mobile-header) #nd_options_navigation_3_container,
    body:has(.lj-mobile-header) .nd_options_navigation_3_sidebar_content,
    body:has(.lj-mobile-header) #nd_options_navigation_3_top_header { display: none !important; }
    .lj-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 88px; padding: 8px 20px; background: #fff; border-bottom: 1px solid #e3e8e5; position: relative; z-index: 100; }
    .lj-mobile-brand { display: flex; align-items: center; width: 190px; max-width: calc(100% - 112px); flex-shrink: 1; }
    .lj-mobile-brand img { display: block; width: 100%; height: 72px; object-fit: contain; object-position: left center; }
    .lj-mobile-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
    .lj-mobile-header .lj-mobile-icon, #lj-mobile-menu .lj-mobile-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 4px; background: transparent; color: #202523; cursor: pointer; text-decoration: none; }
    .lj-mobile-icon .dashicons { font-size: 28px; width: 28px; height: 28px; line-height: 1; }
    .lj-mobile-cart { position: relative; }
    .lj-mobile-cart-count { position: absolute; top: -1px; right: -3px; display: flex; justify-content: center; align-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 50%; background: #216c51; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
    #lj-mobile-menu { box-sizing: border-box; position: fixed; inset: 0; margin: 0; padding: 0 24px max(24px, env(safe-area-inset-bottom)); width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
    #lj-mobile-menu::backdrop { background: rgba(0,0,0,.4); }
    html.lj-mobile-menu-open { overflow: hidden; }
    .lj-mobile-menu-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 88px; background: #fff; border-bottom: 1px solid #dce4df; }
    #lj-mobile-menu h2 { margin: 0; color: #216c51; font-size: 24px; line-height: 32px; font-weight: 700; }
    #lj-mobile-menu .lj-mobile-links { display: block; list-style: none; padding: 0; margin: 0; width: 100%; }
    #lj-mobile-menu .lj-mobile-links > li { display: block; margin: 0; padding: 0; border-bottom: 1px solid #e3e8e5; width: 100%; }
    #lj-mobile-menu a, #lj-mobile-menu summary { color: #202523; text-decoration: none; font-size: 19px; font-weight: 600; line-height: 26px; overflow-wrap: anywhere; }
    #lj-mobile-menu nav > ul > li > a, #lj-mobile-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; min-height: 62px; cursor: pointer; list-style: none; }
    #lj-mobile-menu summary::-webkit-details-marker { display: none; }
    #lj-mobile-menu summary .dashicons { flex: 0 0 20px; transition: transform .15s ease; }
    #lj-mobile-menu details[open] > summary { color: #216c51; }
    #lj-mobile-menu details[open] > summary .dashicons { transform: rotate(180deg); }
    #lj-mobile-menu .lj-mobile-submenu { padding: 0 16px 12px; margin-bottom: 12px; background: #f2f6f3; border-left: 2px solid #216c51; }
    #lj-mobile-menu .lj-mobile-submenu a { display: block; padding: 13px 0; font-size: 16px; line-height: 24px; font-weight: 500; }
    #lj-mobile-menu .lj-mobile-submenu .lj-mobile-view-all { color: #216c51; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
    #lj-mobile-menu .lj-mobile-submenu li:last-child { border-bottom: 0; }
    #lj-mobile-menu .lj-mobile-links > .lj-mobile-group-heading { border-bottom: 0; padding-top: 24px; }
    #lj-mobile-menu .lj-mobile-links > .lj-mobile-group-heading:first-child { padding-top: 12px; }
    #lj-mobile-menu .lj-mobile-group-heading h3 { margin: 0 0 4px; padding: 9px 12px; background: #dfece4; color: #17553f; font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
    #lj-mobile-menu .lj-mobile-account-link { display: flex; align-items: center; gap: 12px; padding: 20px 0; color: #216c51; }
    #lj-mobile-menu .lj-mobile-account-link .dashicons:last-child { margin-left: auto; }
    #lj-mobile-menu a:focus-visible, #lj-mobile-menu button:focus-visible, #lj-mobile-menu summary:focus-visible, .lj-mobile-header a:focus-visible, .lj-mobile-header button:focus-visible { outline: 2px solid #216c51; outline-offset: 3px; }
    #lj-mobile-menu a:hover, #lj-mobile-menu summary:hover { color: #216c51; }
}
@media (max-width: 767px) {
    /* The old header's 200px spacer is excessive beneath the in-flow mobile header. */
    body:has(.lj-mobile-header) #nd_options_page_header_img_layout_8 #nd_options_page_header_image_space_top { height: 65px !important; }
}
@media (prefers-reduced-motion: reduce) { #lj-mobile-menu summary .dashicons { transition: none; } }
