/* skin 购物车样式 */
.sc-wrap { padding: 120px 16px 80px; background: #f7f7f8; }
.sc-inner { max-width: 1120px; margin: 0 auto; }
.sc-title { font-size: 34px; font-weight: 700; color: #111; margin: 0 0 8px; }
.sc-sub { color: #777; font-size: 14px; margin: 0 0 28px; }

.sc-goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 44px; }
.sc-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #ececef; display: flex; flex-direction: column; }
.sc-card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #f0f0f2; }
.sc-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-card-name { font-size: 15px; font-weight: 600; color: #111; line-height: 1.4; }
.sc-card-price { color: #d4380d; font-weight: 700; font-size: 18px; }
.sc-card-desc { color: #8a8a90; font-size: 12px; }
.sc-add { margin-top: auto; border: 0; background: #111; color: #fff; padding: 10px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.sc-add:hover { background: #333; }

.sc-cart, .sc-checkout { background: #fff; border: 1px solid #ececef; border-radius: 14px; padding: 22px; margin-bottom: 26px; }
.sc-h2 { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: #111; }
.sc-empty { color: #999; font-size: 14px; padding: 12px 0; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sc-table th { text-align: left; color: #888; font-weight: 500; border-bottom: 1px solid #eee; padding: 10px 8px; }
.sc-table td { padding: 14px 8px; border-bottom: 1px solid #f2f2f4; vertical-align: middle; }
.sc-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.sc-qty { display: inline-flex; align-items: center; border: 1px solid #e3e3e6; border-radius: 8px; overflow: hidden; }
.sc-qty button { border: 0; background: #fafafa; width: 30px; height: 30px; cursor: pointer; font-size: 16px; color: #555; }
.sc-qty span { width: 38px; text-align: center; display: inline-block; line-height: 30px; }
.sc-del { border: 0; background: none; color: #999; cursor: pointer; font-size: 13px; }
.sc-del:hover { color: #d4380d; }
.sc-total { text-align: right; padding-top: 16px; font-size: 15px; color: #333; }
.sc-total strong { color: #d4380d; font-size: 24px; }

.sc-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sc-form input { padding: 12px 14px; border: 1px solid #e3e3e6; border-radius: 8px; font-size: 14px; outline: none; }
.sc-form input:focus { border-color: #111; }
.sc-btn { grid-column: span 2; background: #111; color: #fff; border: 0; padding: 14px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.sc-btn:hover { background: #333; }
.sc-btn-ghost { background: #fff; color: #666; border: 1px solid #ddd; }
.sc-msg { margin-top: 14px; font-size: 14px; }
.sc-msg.ok { color: #0a7a3f; }
.sc-msg.err { color: #d4380d; }

@media (max-width: 640px) {
  .sc-wrap { padding-top: 90px; }
  .sc-form { grid-template-columns: 1fr; }
  .sc-btn { grid-column: span 1; }
  .sc-table th:nth-child(2), .sc-table td:nth-child(2) { display: none; }
}
