/* shop-widgets.css — 壳公共件样式（PM 所有，冻结；lane-ds 请勿修改本文件）
 * 只含 shop-shell.js 产出的公共组件：toast / sheet / btn / empty
 * 设计系统令牌与页面组件样式在 shop.css（lane-ds）
 */
.shop-app { min-height: 100vh; }

/* toast */
.shop-toasts { position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.shop-toast { background: rgba(17,24,28,.92); color: #fff; padding: 10px 16px;
  border-radius: 12px; font-size: 14px; max-width: 80vw; animation: shopTin .22s ease; }
.shop-toast.out { opacity: 0; transition: opacity .3s; }
@keyframes shopTin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }

/* sheet */
.shop-sheet-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9000;
  display: flex; align-items: flex-end; justify-content: center; }
.shop-sheet { background: #fff; width: min(560px, 100%); max-height: 80vh; overflow: auto;
  border-radius: 18px 18px 0 0; padding: 16px; animation: shopUp .26s cubic-bezier(.23,1,.32,1); }
@keyframes shopUp { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.shop-sheet-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.shop-sheet-title { font-size: 17px; font-weight: 700; }
.shop-sheet-x { border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1;
  padding: 4px 8px; color: #6b7280; }
.shop-sheet-ft { display: flex; gap: 10px; margin-top: 14px; }
.shop-sheet-ft .shop-btn { flex: 1; }

/* btn / empty */
.shop-btn { border: 1px solid #d7dce0; background: #fff; border-radius: 12px;
  padding: 11px 16px; font-size: 15px; cursor: pointer; }
.shop-btn.primary { background: #0a7d4f; border-color: #0a7d4f; color: #fff; font-weight: 600; }
.shop-empty { padding: 22vh 24px; text-align: center; color: #6b7280; }
.shop-empty-sub { font-size: 12px; opacity: .7; margin: 4px 0 16px; }

@media (prefers-reduced-motion: reduce) {
  .shop-toast, .shop-sheet { animation: none; }
}
