/* 商城双轨：少色、少按钮、无色块堆叠 */
.shop-mesh-tabs {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  margin: 0 0 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.shop-mesh-tab {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.35rem 0 0.55rem;
  margin: 0;
  color: inherit;
  opacity: 0.48;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}
.shop-mesh-tab[aria-selected="true"] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.shop-mesh-pane[hidden] {
  display: none !important;
}
.shop-mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1rem 0.9rem;
}
.shop-mesh-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.shop-mesh-cover,
.shop-mesh-cover-empty {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 6%, transparent);
  margin-bottom: 0.55rem;
}
.shop-mesh-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-mesh-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 560;
  line-height: 1.35;
}
.shop-mesh-title a {
  color: inherit;
  text-decoration: none;
}
.shop-mesh-price {
  margin: 0.28rem 0 0.5rem;
  font-size: 0.86rem;
  opacity: 0.82;
}
.shop-mesh-chip {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.62;
  margin-bottom: 0.4rem;
  border-bottom: 1px dashed color-mix(in srgb, currentColor 22%, transparent);
  cursor: help;
}
.shop-mesh-cta {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.78;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  width: fit-content;
}
.shop-mesh-cta:hover,
.shop-mesh-cta:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
}

.shop-mesh-minicart {
  position: relative;
  flex-shrink: 0;
}
.shop-mesh-minicart .shop-cart-link {
  display: inline-flex !important;
}
html.m2m-phone .shop-mesh-minicart .shop-cart-link {
  display: inline-flex !important;
}
.shop-mesh-box {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 78vw);
  padding: 0.85rem 0.9rem 0.75rem;
  background: var(--card-bg, #111827);
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 40;
}
.shop-mesh-minicart:hover .shop-mesh-box,
.shop-mesh-minicart:focus-within .shop-mesh-box,
.shop-mesh-minicart.is-open .shop-mesh-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.shop-mesh-box h4 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.shop-mesh-lane + .shop-mesh-lane {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.shop-mesh-line {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  margin: 0.2rem 0;
}
.shop-mesh-line span:last-child {
  opacity: 0.72;
  white-space: nowrap;
}
.shop-mesh-total {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}
.shop-mesh-empty {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.55;
}
.shop-mesh-box a.shop-mesh-go {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

html.light-theme .shop-mesh-box,
body:not(.dark) .shop-mesh-box {
  background: #fff;
}


/* t194 */
@media (max-width:767.98px){
  .shop-mesh-box{
    left:auto!important;
    right:0!important;
    width:min(320px, calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
  }
}

/* t195 A11y：触控目标 ≥44×44（WCAG 2.5.5 / 2.5.8） */
/* 图标类：真实热区放大，图标视觉尺寸不变 */
.subsite-home-link,
.subsite-theme-btn,
.shop-cart-link,
.m2m-fn-top,
.m2m-audio-toggle,
.m2m-audio-prompt-on,
.m2m-audio-prompt-off,
.m2m-audio-prompt-x{
  min-width:44px!important;
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box;
}
/* 文本链接/按钮：撑到 44 高 */
.subsite-brand,
.subsite-menu-link,
.subsite-menu a,
.footer-brand,
.footer-link,
.footer-meta-link,
.shop-hero-link,
.shop-mesh-cta,
.shop-mesh-tab,
.btn{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  box-sizing:border-box;
}
.shop-mesh-tab{padding-top:.7rem!important;padding-bottom:.7rem!important;}
footer.site-footer .footer-link{padding-top:10px!important;padding-bottom:10px!important;}
.subsite-lang .dropdown-item,
.subsite-lang .topbar-lang-menu a{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
}
.subsite-nav .m2m-global-search input,
.shop-mesh-box input,
input.form-control,
input[type="email"],
input[type="search"],
input[type="text"]{
  min-height:44px!important;
  box-sizing:border-box;
}
/* t195 续：商城页剩余小目标（顶栏/分类/面包屑/商品标题/登录） */
.topbar-lang-btn{
  min-width:44px!important;
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box;
}
.subsite-user .topbar-auth a{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
}
.shop-ext-nav .shop-mkt-cats a{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  box-sizing:border-box;
}
.shop-crumb a{
  min-height:44px!important;
  min-width:44px!important;
  justify-content:center!important;
  display:inline-flex!important;
  align-items:center!important;
}
.shop-mesh-title a{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
}
