/* 保益优选独立样式：不影响 y 站点。 */
.page { align-content: start; }
.product-search { display: flex; gap: 8px; margin-bottom: 12px; }
.product-search input { flex: 1; min-width: 0; }
.product-search button { width: auto; flex: 0 0 auto; padding: 10px 20px; }
.order-payment-sheet { max-width: 480px; }
.order-payment-sheet .payment-card { grid-template-columns: auto auto minmax(0, 1fr); }
.store-page .hero-welcome-title h1 { font-size: 28px; }
.store-page .hero-welcome-title h1 strong { font-size: 1em; }
.store-page .hero-member-card { grid-template-columns: auto minmax(0, 1fr) auto auto; }
@media (min-width: 900px) {
  .store-page .hero { height: auto; min-height: 0; }
  .store-page .hero-welcome-content { position: relative; inset: auto; align-items: center; padding: 22px 24px; gap: 18px; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr); }
}
@media (max-width: 899px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { font-size: 16px; }
  .page { width: 100%; padding: 10px; gap: 10px; }
  .page h2 { font-size: 20px; }
  .page h3 { font-size: 17px; }
  .page input, .page select, .page textarea { font-size: 16px; min-width: 0; }
  .section, .form, .ticket-sheet { min-width: 0; }
  .ticket-sheet { width: calc(100% - 24px); max-height: calc(100dvh - 40px); overflow-y: auto; }
  .store-page .hero, .store-page .hero-has-member { height: auto; min-height: 0; }
  .store-page .hero-welcome-content { position: relative; inset: auto; gap: 8px; padding: 36px 14px 12px; }
  .store-page .hero-welcome-title h1 { font-size: 20px; }
  .store-page .hero-welcome-title h1 strong { font-size: 1em; }
  .store-page .hero-welcome-slogan { font-size: 15px; }
  .store-page .hero-member-card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
  .store-page .hero-member-avatar { width: 34px; height: 34px; }
  .store-page .hero-member-metrics { grid-column: auto; order: 0; gap: 5px; }
  .store-page .hero-member-metrics > span { min-width: 32px; }
  .store-page .hero-member-center { grid-column: 2 / -1; justify-self: end; }
  .store-page .hero-member-logout { grid-column: 3; }
  .store-page .hero-member-center, .store-page .hero-member-logout { min-height: 32px; padding: 5px 8px; font-size: 13px; }
  .product-search input { padding: 10px; font-size: 16px; }
  .product-search button { padding: 10px 15px; font-size: 14px; }
  .confirm-product-card img { max-width: 88px; height: 88px; object-fit: cover; }
  .address-summary-card { gap: 10px; padding: 12px; }
  .address-summary-card span { min-width: 0; overflow-wrap: anywhere; }
  .payment-card > span { min-width: 0; }
}
