/**
 * StarSaltTheme 订购产品页（goodsList）皮肤
 *
 * 与 前端demo/assets/css/pages/cart.css 逐条 1:1 对应（demo HTML 未使用的
 * .product-toolbar 段未移植）。令牌（--fs-*/--brand-blue-*/--surface/…）来自
 * 会员中心壳的 theme-vars.css，明暗两态自动跟随，本文件不重复定义令牌。
 *
 * 仅被 goodsList.php 加载；shoppingCar / settlement / goods 仍走 ss-cart.css。
 */

.cart-page { padding-bottom: 64px; }

/* ===== 头图 ===== */
.cart-hero {
  padding: 32px 36px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 24px;
  background-image: url('../img/banner-1.png');
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-card);
}
.cart-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 12, 28, .45);
  pointer-events: none;
}
[data-theme="dark"] .cart-hero::before { background: rgba(8, 9, 18, .55); }
.cart-hero-avatar {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  position: relative; z-index: 1;
}
.cart-hero-avatar svg { width: 38px; height: 38px; }
.cart-hero-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cart-hero-eyebrow { font-size: var(--fs-14); color: rgba(255,255,255,.55); margin-bottom: 2px; font-family: var(--font-mono); }
.cart-hero-title { font-size: var(--fs-26); font-weight: 900; color: #fff; margin-bottom: 6px; }
.cart-hero-meta {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  font-family: var(--font-mono); font-size: var(--fs-13); color: rgba(255,255,255,.5);
}
.cart-hero-tags { display: flex; gap: 10px; margin-top: 12px; }
.cart-hero-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-13); font-weight: 700;
  padding: 5px 14px;
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.9);
}
.cart-hero-tag svg { width: 15px; height: 15px; }
.cart-hero-actions { display: flex; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }
.cart-hero-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; font-size: var(--fs-14); font-weight: 700;
  border: none; cursor: pointer;
  transition: var(--motion-base); white-space: nowrap;
}
.cart-hero-btn svg { width: 16px; height: 16px; }
.cart-hero-btn--white { background: #fff; color: var(--brand-blue); }
.cart-hero-btn--white:hover { background: rgba(255,255,255,.9); }
.cart-hero-btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.cart-hero-btn--glass:hover { background: rgba(255,255,255,.22); }

/* ===== 分类面板 ===== */
.category-panel { margin-top: 16px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-card); }
.category-level { display: flex; min-height: 68px; align-items: stretch; }
.category-level + .category-level { border-top: 1px solid var(--divider); }
.category-label { width: 116px; padding: 24px 20px; flex-shrink: 0; background: color-mix(in srgb, var(--bg-color) 55%, transparent); color: var(--text-5); font-size: var(--fs-12); font-weight: 700; }
.category-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.category-tab { height: 38px; padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: var(--ss-radius-btn); background: transparent; color: var(--text-3); font-size: var(--fs-13); font-weight: 600; transition: var(--motion-mid); cursor: pointer; }
.category-tab:hover { color: var(--brand-blue); background: var(--accent-tint); }
.category-tab.active { color: var(--brand-blue); border-color: var(--brand-blue-tint-24); background: var(--brand-blue-tint-08); }
[data-theme="dark"] .category-tab.active { color: var(--brand-blue-light); border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.12); }
.category-tab span { min-width: 18px; padding: 1px 5px; border-radius: 10px; background: var(--bg-color); color: var(--text-5); font-family: var(--font-numbers); font-size: var(--fs-10); text-align: center; }

/* 分组简介（系统数据，demo 无对应块，靠底对齐分类面板） */
.second-desc {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: var(--fs-12);
  color: var(--text-5);
  background: var(--accent-tint);
}
.second-desc .scroll-text,
.second-desc .scroll-content { color: inherit; }

/* ===== 商品网格 ===== */
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.product-card { position: relative; min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-card); }

.product-badge { position: absolute; top: 0; right: 0; padding: 5px 10px; color: #fff; background: var(--brand-blue); font-size: var(--fs-10); font-weight: 700; z-index: 1; }
.product-badge.hot { background: var(--danger-bright); }
.product-card-title { min-height: 42px; padding-right: 48px; font-size: var(--fs-15); font-weight: 700; line-height: var(--lh-base); color: var(--text-main); }
.product-specs { min-height: 120px; padding: 12px 0; list-style: none; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); color: var(--text-3); font-size: var(--fs-13); line-height: var(--lh-loose-xl); }
.product-specs li { position: relative; padding-left: 12px; white-space: nowrap; }
.product-specs li::before { content: ''; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--brand-blue); }
.product-specs ul { list-style: none; margin: 0; padding: 0; }
.product-specs p { margin: 0; }

.product-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.product-card-tags .product-tag { font-size: var(--fs-11); font-weight: 600; color: var(--text-4); padding: 2px 8px; border: 1px solid var(--card-border); }
.product-card-tags .product-tag--stock { color: var(--text-3); font-family: var(--font-numbers); }

.product-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 15px; }
.product-price small { color: var(--danger-bright); font-size: var(--fs-13); font-weight: 700; }
.product-price strong { font-family: var(--font-numbers); color: var(--danger-bright); font-size: var(--fs-24); font-weight: 500; }
.product-price em { color: var(--text-5); font-size: var(--fs-12); font-style: normal; }
.product-price-original { display: block; margin-top: 2px; color: var(--text-5); font-size: var(--fs-12); text-decoration: line-through; font-family: var(--font-numbers); }
.product-order { height: 36px; padding: 0 14px; border: 1px solid var(--brand-blue); background: var(--brand-blue); color: #fff; font-size: var(--fs-13); font-weight: 700; white-space: nowrap; transition: var(--motion-mid); cursor: pointer; }
.product-order:hover { background: var(--brand-blue-dark); border-color: var(--brand-blue-dark); box-shadow: 0 6px 14px var(--brand-blue-tint-20); }
.product-order:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; background: var(--brand-blue); border-color: var(--brand-blue); }

.product-empty { padding: 72px 20px; margin-top: 16px; text-align: center; background: var(--surface); border: 1px dashed var(--card-border); }
.product-empty svg { width: 44px; color: var(--text-5); }
.product-empty h3 { margin: 14px 0 6px; font-size: var(--fs-15); }
.product-empty p { font-size: var(--fs-12); color: var(--text-5); }
.product-empty button { margin-top: 18px; padding: 9px 18px; color: var(--brand-blue); background: var(--brand-blue-tint-08); border: none; font-weight: 700; cursor: pointer; }

/* ===== 首屏骨架屏 =====
   与真实卡片同构：标题 2 行（min-height 42px）、规格区 min-height 120px（7 行）、
   底部价格 26px + 按钮 36px。宽度按分类/规格文案的常见长度取，不做随机，
   避免每次加载形状都变。 */
.product-skeleton { pointer-events: none; }
/* 真实卡片实测 434px（标题 45 / 规格 223 / 底部 37），骨架卡锁同一高度，
   数据回来后网格行高不变，不会把下面的内容顶一下 */
.sk-card { display: flex; flex-direction: column; min-height: 396px; }
.sk-bar {
  position: relative;
  display: block;
  height: 12px;
  background: rgba(100, 116, 139, 0.14);
  overflow: hidden;
}
.sk-bar::after,
.sk-pill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  animation: sk-shimmer 1.4s ease-in-out infinite;
}
[data-theme="dark"] .sk-bar::after,
[data-theme="dark"] .sk-pill::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}
[data-theme="dark"] .sk-bar,
[data-theme="dark"] .sk-pill {
  background: rgba(255, 255, 255, 0.09);
}
@keyframes sk-shimmer {
  100% { transform: translateX(100%); }
}
.sk-title {
  min-height: 45px;
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk-title .sk-bar { height: 16px; width: 76%; }
.sk-title .sk-bar:last-child { width: 48%; }
.sk-specs {
  height: 197px;
  padding: 12px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sk-specs .sk-bar { height: 11px; width: 84%; }
.sk-specs .sk-bar:nth-child(2) { width: 66%; }
.sk-specs .sk-bar:nth-child(3) { width: 78%; }
.sk-specs .sk-bar:nth-child(4) { width: 58%; }
.sk-specs .sk-bar:nth-child(5) { width: 72%; }
.sk-specs .sk-bar:nth-child(6) { width: 62%; }
.sk-specs .sk-bar:nth-child(7) { width: 80%; }
.sk-specs .sk-bar:nth-child(8) { width: 70%; }
.sk-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 15px;
}
.sk-price { width: 78px; height: 26px; }
.sk-btn { width: 76px; height: 36px; }
/* 分类胶囊骨架 */
.sk-pill {
  width: 88px;
  border-color: transparent;
  background: rgba(100, 116, 139, 0.14);
  position: relative;
  overflow: hidden;
}
.sk-pill.is-sm { width: 72px; }
@media (prefers-reduced-motion: reduce) {
  .sk-bar::after,
  .sk-pill::after { animation: none; }
}
/* 小屏卡片本身是流式高度，骨架也跟着放开 */
@media (max-width: 768px) {
  .sk-card { min-height: 0; }
  .sk-specs { height: auto; gap: 12px; }
  .sk-title { padding-right: 0; min-height: 38px; }
}

/* 加载提示（沿用 goodsList.css 的 .tips 语义，位置对齐网格底部） */
.cart-page .tips { margin-top: 14px; text-align: center; color: var(--text-5); font-size: var(--fs-12); }

/* ===== 订购抽屉 ===== */
.order-mask { position: fixed; inset: 0; z-index: 1001; visibility: hidden; opacity: 0; background: rgba(5,10,24,.46); backdrop-filter: blur(2px); transition: var(--motion-250); }
.order-mask.open { visibility: visible; opacity: 1; }
.order-drawer { position: fixed; z-index: 1002; top: 0; right: 0; width: min(480px, 100%); height: 100vh; display: flex; flex-direction: column; background: var(--surface); box-shadow: -16px 0 40px rgba(0,0,0,.16); transform: translateX(102%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.order-drawer.open { transform: translateX(0); }
.order-drawer-head { height: 82px; padding: 17px 24px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--divider); }
.order-drawer-head span { display: block; margin-bottom: 4px; color: var(--text-5); font-size: var(--fs-10); }
.order-drawer-head h2 { font-size: var(--fs-18); }
.order-close { width: 36px; height: 36px; display: grid; place-items: center; border: none; background: transparent; color: var(--text-4); cursor: pointer; }
.order-close:hover { background: var(--accent-tint); color: var(--text-main); }
.order-close svg { width: 19px; }
.order-drawer-body { flex: 1; padding: 24px; overflow-y: auto; }
.order-summary { display: flex; align-items: center; gap: 13px; padding: 16px; background: var(--bg-color); border: 1px solid var(--divider); }
.order-summary-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand-blue); background: var(--surface); }
.order-summary-icon svg { width: 22px; }
.order-summary strong { display: block; margin-bottom: 4px; font-size: var(--fs-14); }
.order-summary span { font-size: var(--fs-11); color: var(--text-5); }
.order-specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 28px; border: 1px solid var(--divider); }
.order-spec { padding: 12px 6px; text-align: center; border-right: 1px solid var(--divider); }
.order-spec:last-child { border-right: none; }
.order-spec span { display: block; margin-bottom: 6px; color: var(--text-5); font-size: var(--fs-10); }
.order-spec strong { font-family: var(--font-numbers); font-size: var(--fs-13); font-weight: 500; }
.order-field { margin-top: 24px; }
.order-field > label { display: block; margin-bottom: 10px; font-size: var(--fs-12); font-weight: 700; }
.cycle-current { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; height: 42px; padding: 0 17px; border: 1px solid var(--brand-blue); color: var(--brand-blue); background: var(--brand-blue-tint-06); box-shadow: inset 0 0 0 1px var(--brand-blue); font-size: var(--fs-12); }
.quantity-stepper { display: flex; width: 132px; height: 38px; border: 1px solid var(--card-border); }
.quantity-stepper button { width: 38px; border: none; background: var(--bg-color); color: var(--text-main); font-size: var(--fs-18); cursor: pointer; }
.quantity-stepper input { width: 56px; text-align: center; border: none; border-left: 1px solid var(--divider); border-right: 1px solid var(--divider); outline: none; background: transparent; color: var(--text-main); font-family: var(--font-numbers); }
.order-notice { margin-top: 28px; padding: 12px; display: flex; align-items: flex-start; gap: 8px; color: #b45309; background: rgba(245,158,11,.08); font-size: var(--fs-11); line-height: var(--lh-copy); }
.order-notice svg { width: 16px; flex-shrink: 0; }
.order-drawer-foot { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--divider); box-shadow: 0 -8px 20px rgba(0,0,0,.03); }
.order-total > span { display: block; margin-bottom: 4px; font-size: var(--fs-10); color: var(--text-5); }
.order-total small { color: var(--danger-bright); font-size: var(--fs-13); }
.order-total strong { font-family: var(--font-numbers); color: var(--danger-bright); font-size: var(--fs-28); font-weight: 500; }
.order-total em { color: var(--text-5); font-size: var(--fs-10); font-style: normal; }
.order-submit { height: 44px; min-width: 142px; border: none; background: var(--brand-blue); color: #fff; font-weight: 700; cursor: pointer; }
.order-submit:hover { background: var(--brand-blue-dark); }
.order-submit:disabled { opacity: .65; cursor: wait; }

/* ===== 提示条 ===== */
.cart-toast { position: fixed; z-index: 1100; left: 50%; top: 74px; display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: #0f172a; color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.2); transform: translate(-50%, -20px); opacity: 0; visibility: hidden; transition: var(--motion-250); }
.cart-toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cart-toast > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #16a34a; font-weight: 900; }
.cart-toast strong { font-size: var(--fs-12); }
.cart-toast p { margin-top: 2px; color: rgba(255,255,255,.6); font-size: var(--fs-10); }

/* ===== 弹窗 ===== */
.cy-modal-mask { position: fixed; inset: 0; z-index: 1200; visibility: hidden; opacity: 0; background: rgba(5,10,24,.5); backdrop-filter: blur(3px); }
.cy-modal-mask.open { visibility: visible; opacity: 1; }
.cy-modal { position: fixed; z-index: 1201; left: 50%; top: 50%; width: min(560px, 92vw); max-height: 80vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 20px 60px rgba(0,0,0,.2); transform: translate(-50%, -50%); opacity: 0; visibility: hidden; }
.cy-modal.open { visibility: visible; opacity: 1; transform: translate(-50%, -50%); }
.cy-modal--lg { width: min(900px, 95vw); height: min(80vh, 700px); }
.cy-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--divider); flex-shrink: 0; }
.cy-modal-head h3 { font-size: var(--fs-16); }
.cy-modal-close { width: 34px; height: 34px; display: grid; place-items: center; border: none; background: transparent; color: var(--text-4); cursor: pointer; }
.cy-modal-close:hover { background: var(--accent-tint); color: var(--text-main); }
.cy-modal-close svg { width: 18px; height: 18px; }
.cy-modal-body { flex: 1; padding: 24px; overflow-y: auto; }
.cy-modal-body p { font-size: var(--fs-13); line-height: var(--lh-loose-xl); color: var(--text-3); }
.cy-modal-body p + p { margin-top: 14px; }
.cy-modal-body--pdf { padding: 0; scrollbar-width: none; -ms-overflow-style: none; }
.cy-modal-body--pdf::-webkit-scrollbar { display: none; }
.cy-modal-body--pdf iframe { width: 100%; height: 100%; border: none; }

/* ===== 平板 (≤1200px) ===== */
@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== 小平板 (≤1024px) ===== */
@media (max-width: 1024px) {
  .cart-hero { padding: 24px 20px; gap: 16px; }
  .cart-hero-avatar { width: 56px; height: 56px; }
  .cart-hero-avatar svg { width: 28px; height: 28px; }
  .cart-hero-title { font-size: var(--fs-20); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 手机 (≤768px) ===== */
@media (max-width: 768px) {
  /* Keep 100%-wide sections inside the page gutters on mobile. */
  .cart-page,
  .cart-page *,
  .cart-page *::before,
  .cart-page *::after { box-sizing: border-box; }
  .cart-page { width: 100%; max-width: 100%; padding-right: 12px; padding-bottom: 40px; padding-left: 12px; overflow-x: hidden; }
  .cart-hero { width: 100%; max-width: 100%; min-width: 0; padding: 20px 16px; flex-direction: column; text-align: center; }
  .cart-hero-avatar { margin: 0 auto; }
  .cart-hero-info { width: 100%; min-width: 0; }
  .cart-hero-meta { justify-content: center; }
  .cart-hero-tags { justify-content: center; flex-wrap: wrap; }
  .cart-hero-tag { padding: 5px 10px; font-size: var(--fs-12); }
  .cart-hero-actions { width: 100%; min-width: 0; flex-wrap: nowrap; gap: 8px; }
  .cart-hero-btn { min-width: 0; flex: 1 1 0; justify-content: center; padding: 8px 8px; font-size: var(--fs-12); }
  .category-panel { width: 100%; max-width: 100%; min-width: 0; margin-top: 12px; }
  .category-level { flex-direction: column; }
  .category-label { width: 100%; padding: 8px 14px; }
  .category-tabs { width: 100%; min-width: 0; flex-wrap: wrap; overflow: visible; padding: 10px 12px; gap: 6px; }
  .category-tab { max-width: 100%; height: 34px; padding: 0 12px; font-size: var(--fs-12); white-space: normal; }
  .category-primary .category-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .category-primary .category-tab { width: 100%; height: auto; min-height: 36px; padding: 6px 4px; justify-content: center; line-height: var(--lh-heading); }
  .product-grid { width: 100%; max-width: 100%; min-width: 0; grid-template-columns: 1fr; gap: 10px; }
  .product-card { width: 100%; max-width: 100%; min-width: 0; padding: 14px; overflow: hidden; }
  .product-card-title { min-height: auto; padding-right: 0; font-size: var(--fs-13); }
  .product-badge { padding: 4px 8px; font-size: var(--fs-9); }
  .product-specs { min-height: auto; padding: 8px 0; }
  .product-specs li { font-size: var(--fs-12); line-height: var(--lh-loose); white-space: normal; }
  .product-specs li::before { top: 7px; }
  .product-card-foot { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
  .product-price div { display: flex; align-items: baseline; gap: 2px; }
  .product-price small { font-size: var(--fs-12); }
  .product-price strong { font-size: var(--fs-22); }
  .product-price em { font-size: var(--fs-11); }
  .product-order { width: 100%; height: 36px; justify-content: center; }
  /* 订购抽屉 */
  .order-drawer { width: 100%; }
  .order-drawer-head { height: 64px; padding: 14px 16px; }
  .order-drawer-head h2 { font-size: var(--fs-15); }
  .order-drawer-body { padding: 16px; }
  .order-specs { grid-template-columns: repeat(2, 1fr); margin: 14px 0 20px; }
  .order-spec:nth-child(2) { border-right: none; }
  .order-spec:nth-child(-n+2) { border-bottom: 1px solid var(--divider); }
  .order-spec:nth-child(n+3) { border-top: none; }
  .order-spec:nth-child(3) { border-right: 1px solid var(--divider); }
  .order-drawer-foot { padding: 14px 16px; flex-wrap: wrap; gap: 12px; }
  .order-submit { width: 100%; height: 44px; }
  /* 弹窗 */
  .cy-modal { width: 92vw; max-height: 85vh; }
  .cy-modal--lg { width: 96vw; height: 80vh; }
  .cy-modal-head { padding: 14px 16px; }
  .cy-modal-head h3 { font-size: var(--fs-14); }
  .cy-modal-body { padding: 16px; }
}

/* ===== 小手机 (≤480px) ===== */
@media (max-width: 480px) {
  .cart-hero { padding: 16px 14px; }
  .cart-hero-title { font-size: var(--fs-18); }
  .cart-hero-meta { font-size: var(--fs-12); gap: 2px 12px; }
  .cart-hero-tags { gap: 6px; }
  .cart-hero-tag { font-size: var(--fs-11); padding: 4px 8px; }
  .cart-hero-tag svg { width: 13px; height: 13px; }
  .cart-hero-actions { flex-direction: row; gap: 6px; }
  .cart-hero-btn { font-size: var(--fs-11); padding: 8px 4px; }
  .category-tabs { flex-wrap: wrap; overflow: visible; padding: 8px 10px; }
  .category-tab { height: 32px; padding: 0 10px; font-size: var(--fs-11); }
  .product-card { padding: 14px; }
  .product-card-title { font-size: var(--fs-14); }
  .product-specs li { font-size: var(--fs-12); }
  .order-drawer-head { height: 56px; padding: 12px 14px; }
}

/* ===== 与会员中心/首页的卡片统一 =====
   本页此前是 demo 的「方角 + 1px 描边」卡，而控制台与首页用的是
   14px 圆角、无描边、染色投影。这里只改外观不动布局：
   - 去描边、圆角 14、角标跟着圆角收进去
   - 卡片改成纵向 flex，规格区吃掉多余高度 → 价格与按钮行在底部对齐，
     不再出现「有的卡按钮高一截、有的低一截」
   - 按钮圆角对齐 --ss-radius-btn */
.product-card {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .product-specs {
  flex: 1 1 auto;
}
.product-badge {
  border-radius: 0 14px 0 8px;
}
.product-order {
  border-radius: var(--ss-radius-btn);
}
.product-empty {
  border-radius: 14px;
}

/* 分类筛选面板与首页/控制台卡片统一：14px 圆角、去描边、染色投影 */
.category-panel {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

/* 顶部 banner 与首页/卡片统一 14px 圆角（overflow:hidden 已裁切背景图） */
.cart-hero {
  border-radius: 14px;
}

/* banner 圆角收小一档（14 → 8），贴齐按钮圆角 */
.cart-hero {
  border-radius: 8px;
}
