/* V6 remediation: CSP-compatible styles and accessible touch targets. */
.shop-wechat-qr {
  width: 95px;
  height: 95px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

.shop-wechat-id { font-weight: 700; }
.detail-price-label { font-size: 11px; font-weight: 400; }

.language-wrap,
.theme-toggle,
.account-button,
.basket-button,
.hero-cta,
.detail-button,
.add-button,
.card-counter,
.card-counter button,
.dialog-close,
.counter button,
.wechat-open,
.nav-tab,
.selection-summary,
.selection-clear {
  min-height: 44px;
}

.language-wrap { min-height: 44px; }
.language-wrap select { min-height: 44px; }
.theme-toggle { width: 44px; height: 44px; }
.account-button { min-height: 44px; padding: 0 13px; border: 1.5px solid var(--border); border-radius: 13px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 750; }
.card-counter { height: 44px; }
.card-counter button { min-width: 44px; width: 44px; height: 44px; }
.dialog-close { width: 44px; height: 44px; }
.counter button { width: 44px; height: 44px; }
.nav-tab { min-width: 44px; }
.detail-button { min-width: 44px; }
.cart-actions .submit-order-action { grid-column: 1 / -1; min-height: 52px; border: 1.5px solid #214b3e; border-radius: 11px; background: #214b3e; color: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; padding: 8px 12px; font-size: 13px; font-weight: 800; text-align: center; }
.cart-actions .submit-order-action small { font-size: 10px; font-weight: 500; opacity: .82; }

@media (max-width: 680px) {
  .language-wrap { min-height: 44px; padding-inline: 7px; }
  .language-wrap select { min-height: 44px; padding-block: 9px; }
  .theme-toggle { width: 44px; height: 44px; }
  .account-button { width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
  .account-button-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .detail-button,
  .add-button,
  .card-counter { min-height: 44px; height: 44px; }
  .card-counter button { min-width: 44px; width: 44px; height: 44px; }
  .catalog-layout.mobile-search-open .search-box,
  .catalog-layout.mobile-search-open .clear-button,
  .catalog-layout.mobile-search-open .mobile-search-close { min-height: 44px; }
  .catalog-layout.mobile-search-open .mobile-search-close { width: 44px; height: 44px; }
  .mobile-tabbar { min-height: calc(66px + env(safe-area-inset-bottom)); }
  .nav-tab { min-height: 56px; padding-inline: 4px; }
  .selection-summary,
  .selection-clear { min-height: 44px; }
}

@media (max-width: 345px) {
  .head-actions { gap: 4px; }
  .language-wrap { padding-inline: 5px; }
  .language-wrap select { max-width: 72px; }
}
