:root {
  --ui-header-height: 64px;
}

@theme static {
  --font-sans: 'Public Sans', sans-serif;
}

/* Header / Nav：fallback 菜单默认黑色；选中由 Walker 输出 text-blue-600 */
header nav a.nav-link {
  color: #000 !important;
  transition: color 0.2s, background-color 0.2s;
}
/* 确保当前项蓝色覆盖任何 utility */
header nav .current-menu-item > a,
header nav li.current-menu-item > a {
  color: #2563eb !important;
  font-weight: 600;
}

/* Desktop dropdown: show when parent has .is-open */
.desktop-dropdown.is-open .desktop-submenu {
  opacity: 1;
  visibility: visible;
}

.product-details-swiper-thumbs .swiper-slide {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}
.product-details-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}


/* 全局滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: oklch(37% 0.013 285.805);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* Firefox 滚动条样式 */
* {
  scrollbar-width: thin;
  scrollbar-color: oklch(37% 0.013 285.805) transparent;
}

