/* Mobile layout only; desktop keeps its existing composition. */
.mobile-bottom-nav,.mobile-account-label { display:none; }
.mobile-menu { border:1px solid var(--border);border-radius:24px;padding:20px;color:var(--ui-text);background:#FFFCF8;max-width:calc(100% - 24px);width:360px; }
.mobile-menu-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.mobile-menu-heading h2 { margin:0;font-size:19px; }
.mobile-menu-heading button { width:44px;height:44px;border:0;border-radius:50%;background:var(--selected-bg);color:var(--ui-text);font-size:24px; }
.mobile-menu>a { display:block;padding:16px 0;color:var(--ui-text);border-bottom:1px solid var(--border);line-height:1.4; }
body.mobile-menu-open { overflow:hidden; }
@media(max-width:800px) {
 :root {
  --mobile-nav-icon:clamp(28.75px,7.383vw,39.1px);
  --mobile-nav-text:clamp(12px,3.1vw,14px);
  --mobile-control-height:clamp(44px,11.3vw,52px);
  --mobile-bottom-item-height:clamp(56px,14.4vw,68px);
  --header-text-size:var(--mobile-nav-text);
  --header-icon-size:var(--mobile-nav-icon);
 }
 html { -webkit-text-size-adjust:100%;text-size-adjust:100%; }

 body { padding-bottom:calc(var(--mobile-bottom-item-height) + 30px + env(safe-area-inset-bottom,0px)); }
 body .topbar { padding:env(safe-area-inset-top,0px) 10px 0;background:#FFFCF8;box-shadow:0 2px 14px #5734140A;border-bottom:1px solid #E6DED466; }
 body .topbar .header-inner { display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;min-height:58px;width:100%; }
 body .topbar .header-inner .identity { flex:1;min-width:0;width:auto;height:auto;min-height:0;padding:0;margin:0; }
 body .topbar .header-inner .site-logo { width:100%;max-width:170px;min-width:0;padding:0; }
 body .topbar .header-inner .site-logo img { display:block;width:100%;height:auto;max-height:50px;object-fit:contain; }
 body .topbar .header-inner>.search-wallet { display:none; }
 body .topbar .header-inner nav { display:flex;flex:none;align-items:center;gap:5px;padding:0;margin:0;width:auto;min-width:0;height:auto;background:transparent;border:0;box-shadow:none; }
 body .topbar .header-inner nav>a:not(.auth-entry) { display:none; }
 body .topbar .header-inner nav .auth-entry { order:2;display:flex;width:auto;min-width:0;height:var(--mobile-control-height);min-height:var(--mobile-control-height);padding:0 8px;gap:4px;white-space:nowrap;border-radius:20px;font-size:12px; }
 body .topbar .header-inner .auth-entry .section-icon { width:var(--mobile-nav-icon);height:var(--mobile-nav-icon); }
 body .topbar .header-inner .desktop-account-label { display:none; }
 body .topbar .header-inner .mobile-account-label { display:inline;font-size:12px; }
 body .topbar .header-inner .language-trigger { order:1;width:auto;min-width:44px;height:var(--mobile-control-height);min-height:var(--mobile-control-height);padding:0 7px;gap:2px;font-size:12px;border-radius:20px;background:#FFFFFF70; }
 body .topbar .header-inner .language-trigger img { display:block;width:var(--mobile-nav-icon);height:var(--mobile-nav-icon); }
 body .topbar .header-inner :is(.auth-entry,.language-trigger,.nav-entry-label,.mobile-account-label),
 body .topbar .header-inner .language-trigger>span { font-size:var(--mobile-nav-text);line-height:1.2; }
 body .topbar .header-inner .auth-entry[aria-current=page] { box-shadow:inset 0 -3px #F47A16; }
 body .mobile-catalog-search { display:block;width:100%;height:auto;min-height:0;margin:0 0 16.2px;padding:0;background:transparent;border:0; }
 body .mobile-catalog-search .search { display:flex;align-items:center;gap:8px;width:100%;height:40.68px;min-height:39.6px;padding:0 12px;border:1px solid #DED8D0;border-radius:24px;background:#FFFCF8; }
 body .mobile-catalog-search .search input { width:100%;min-width:0;border:0;outline:0;box-shadow:none;background:transparent;height:100%;min-height:0;padding:0;font-size:16px; }
 body .mobile-catalog-search .search:focus-within { outline:2px solid var(--focus);outline-offset:2px; }
 body .layout { padding-top:14px; }
 body .catalog-content #page-title.catalog-title { margin:8.1px 0;font-size:calc(var(--ui-heading) * .6); }
 body .catalog-toolbar { margin:9px 0 12.6px; }
 body .manufacturer-strip { min-width:0;max-width:100%; }
 body .manufacturer-strip .category-tabs { flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain; }
 body .product-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
 body .info-footer { display:none; }
 body .mobile-bottom-nav { position:fixed;z-index:45;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px 7px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid #E6DED4AA;background:#FFFCF8;box-shadow:0 -3px 20px #5734140C; }
 body .mobile-bottom-nav>a,body .mobile-bottom-nav>button { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:var(--mobile-bottom-item-height);padding:4px 0;border:0;border-radius:17px;background:transparent;color:var(--ui-text);text-decoration:none;font:var(--mobile-nav-text) Arial,sans-serif; }
 body .mobile-bottom-nav [aria-current=page],body .mobile-bottom-nav [aria-expanded=true] { background:#FBE8D8;box-shadow:inset 0 -2px #F47A16; }
 body .mobile-bottom-nav .illustrated-icon { display:block;width:var(--mobile-nav-icon);height:var(--mobile-nav-icon); }
 .mobile-nav-symbol { display:block;width:var(--mobile-nav-icon);height:var(--mobile-nav-icon);object-fit:contain; }
 body .filter-sidebar.is-open { z-index:100;max-height:100dvh;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain; }
 body .filter-backdrop { z-index:99; }
 body #apply-mobile-filters { display:block;position:sticky;bottom:0;width:100%;margin-top:12px;min-height:44px; }
 body.keyboard-open .mobile-bottom-nav { visibility:hidden; }
 body .mobile-menu { position:fixed;margin:auto auto calc(var(--mobile-bottom-item-height) + 24px + env(safe-area-inset-bottom,0px));max-height:70dvh;overflow:auto; }
 @supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))) {
  body .topbar,body .mobile-bottom-nav { background:#FFFCF8D9;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px); }
 }
}
@media(max-width:360px) {
 body .topbar .header-inner { gap:4px; }
 body .topbar .header-inner .site-logo { max-width:142px; }
 body .topbar .header-inner nav .auth-entry { padding:0 6px; }

}

@media(max-width:800px){body .mobile-bottom-nav.mobile-producer-nav{grid-template-columns:repeat(3,minmax(0,1fr));}}
