/* 底部导航（WoodMart 手机工具栏）重设计：统一线性图标、当前页绿色胶囊、短标签不截断、
   收藏有内容 = 绿点、聊天有未读 = 红点（小圆点放在图标右上角外侧，不遮图标）。
   只覆盖样式与图标，链接和功能仍是主题原样。 */
.wd-toolbar {
  background: rgba(255, 255, 255, .97) !important;
  border-top: 1px solid #edf0ed;
  box-shadow: 0 -6px 18px rgba(16, 40, 24, .06) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
}
.wd-toolbar > a,
.wd-toolbar > div a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 54px !important;
  padding: 0 !important;
  color: #6b7470 !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.wd-toolbar .wd-tools-icon {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 28px;
  border-radius: 14px;
  transition: background-color .15s ease;
}
.wd-toolbar .wd-tools-icon::before {
  content: "" !important;
  display: block;
  width: 22px;
  height: 22px;
  font-family: inherit !important;
  background: currentColor;
  -webkit-mask: var(--gb-nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.2-9.3C1.7 7.6 3.9 4.5 7.1 4.5c2 0 3.4 1.1 4.9 2.9 1.5-1.8 2.9-2.9 4.9-2.9 3.2 0 5.4 3.1 4.3 6.2C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--gb-nav-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.2-9.3C1.7 7.6 3.9 4.5 7.1 4.5c2 0 3.4 1.1 4.9 2.9 1.5-1.8 2.9-2.9 4.9-2.9 3.2 0 5.4 3.1 4.3 6.2C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E")) center / contain no-repeat;
}
.wd-toolbar-home { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20h5v-6h4v6h5V9.5'/%3E%3C/svg%3E"); }
.wd-toolbar-shop, .wd-toolbar-shop-cat, .wd-toolbar-sidebar { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.8'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.8'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.8'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.8'/%3E%3C/svg%3E"); }
.wd-toolbar .wd-header-wishlist { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-9.2-9.3C1.7 7.6 3.9 4.5 7.1 4.5c2 0 3.4 1.1 4.9 2.9 1.5-1.8 2.9-2.9 4.9-2.9 3.2 0 5.4 3.1 4.3 6.2C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.wd-toolbar .wd-header-my-account { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c1.2-3.6 4.3-5.5 8-5.5s6.8 1.9 8 5.5'/%3E%3C/svg%3E"); }
.wd-toolbar .wd-header-cart { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 11h10.6L20 7H6.2'/%3E%3Ccircle cx='9' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E"); }
.wd-toolbar-blog { --gb-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v16H5z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.wd-toolbar-chat .wd-tools-icon::before { display: none !important; }
.wd-toolbar-chat .wd-tools-icon svg { width: 22px; height: 22px; }
.wd-toolbar .wd-toolbar-label {
  position: static !important;
  display: block !important;
  max-width: 100%;
  padding: 0 2px !important;
  overflow: hidden;
  font-size: 10.5px !important;
  font-weight: 600;
  line-height: 1.15 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wd-toolbar .gb-nav-active > a,
.wd-toolbar > a.gb-nav-active { color: #236f34 !important; }
.wd-toolbar .gb-nav-active .wd-tools-icon { background: #eef6ec; }
/* 数字角标一律换成小圆点：收藏有内容 = 绿，聊天未读 = 红；圆点在图标右上角外侧，不压图标。 */
.wd-toolbar .wd-tools-count { display: none !important; }
.wd-toolbar .gb-nav-has .wd-tools-icon::after,
.wd-toolbar .gb-nav-unread .wd-tools-icon::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8a2f;
  box-shadow: 0 0 0 2px #fff;
}
.wd-toolbar .gb-nav-unread .wd-tools-icon::after { background: #e5484d; }
.wd-toolbar .gb-chat-bottom-nav__badge { display: none !important; }
