.mobile-category-nav { display: none; }
@media (max-width: 1070px) {
    body.mobile-menu-open { overflow: hidden; }
    .mobile-category-nav[open] { display: flex; }
    .mobile-category-nav { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(88vw, 420px); max-width: none; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; background: #fff; color: #111; flex-direction: column; font: 16px/1.35 Arial, sans-serif; box-shadow: -8px 0 32px #0002; overflow: hidden; }
    .mobile-category-nav::backdrop { background: #0008; }
    .mobile-category-nav * { box-sizing: border-box; }
    .mobile-category-nav [hidden] { display: none !important; }
    .mobile-category-nav svg { width: 27px; height: 27px; flex: 0 0 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-category-nav button, .mobile-category-nav a { font: inherit; color: inherit; text-transform: none; text-decoration: none; letter-spacing: normal; }
    .mobile-category-nav button { cursor: pointer; background: none; border: 0; box-shadow: none; }
    .mobile-category-nav__header { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 14px; border-bottom: 1px solid #eee; flex-shrink: 0; }
    .mobile-category-nav__brand { margin-right: auto; min-width: 0; }
    .mobile-category-nav__brand img { display: block; width: min(100%, 210px); height: auto; max-height: 46px; object-fit: contain; }
    .mobile-category-nav__title { flex: 1; font-size: 21px; font-weight: 600; }
    .mobile-category-nav__close, .mobile-category-nav__back { display: grid; place-items: center; padding: 8px; width: 44px; height: 44px; flex: 0 0 44px; }
    .mobile-category-nav__close { margin-left: auto; }
    .mobile-category-nav__body { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
    .mobile-category-nav__search { margin: 12px 14px; display: flex; align-items: center; border: 1px solid #dedede; border-radius: 7px; background: #fafafa; }
    .mobile-category-nav__search button { display: grid; place-items: center; padding: 10px; flex: 0 0 44px; }
    .mobile-category-nav__search input { width: 100%; min-width: 0; padding: 10px 10px 10px 0; border: 0; outline-offset: -2px; background: transparent; color: #111; font: inherit; }
    .mobile-category-nav .mobile-category-nav__row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin: 0; padding: 12px 16px; border: 0; border-bottom: 1px solid #ededed; text-align: left; background: #fff; }
    .mobile-category-nav__row > span { flex: 1; }
    .mobile-category-nav__row > svg:last-child:not(:first-child) { flex-basis: 16px; width: 16px; height: 16px; }
    .mobile-category-nav .mobile-category-nav__row:hover, .mobile-category-nav .mobile-category-nav__row:focus-visible { background: #faf4f5; color: var(--mobile-nav-accent, #ef0033); }
    .mobile-category-nav .mobile-category-nav__promo { color: var(--mobile-nav-accent, #ef0033); }
    .mobile-category-nav__utilities { margin-top: 12px; }
    .mobile-category-nav .mobile-category-nav__utilities .mobile-category-nav__row { min-height: 46px; padding-top: 8px; padding-bottom: 8px; border-bottom: 0; font-size: 15px; }
    .mobile-category-nav .mobile-category-nav__subcategory { min-height: 60px; padding: 6px 14px; gap: 10px; }
    .mobile-category-nav__subcategory img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
    .mobile-category-nav__subcategory > svg:first-child { margin: 0 10px; }
    .mobile-category-nav .mobile-category-nav__all { margin-top: 8px; border-top: 1px solid #ededed; border-bottom: 0; }
    .mobile-category-nav :focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
}

@media (max-width: 1070px) {
    .mobile-category-nav .mobile-category-nav__thumb { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: 0 0 48px; }
}
