/* ── Design batch 2：作品列表、商品頁、購物車 ── */

/* 列表上方共同說明（只說一次） */
.commerce-shop-notes{list-style:none;padding:16px 0 4px;margin:0;border-top:1px solid var(--line);
  display:grid;gap:4px;color:var(--soft);font-size:1rem;line-height:1.7}
.commerce-shop-notes li::before{content:"・";color:var(--accent)}

/* 卡片：統一圖框、資訊精簡、價格列貼齊底部 */
.commerce-grid{align-items:stretch;gap:32px 20px}
.commerce-card{display:flex;flex-direction:column}
.commerce-card-art{padding:12px 12px 0}
.commerce-card-frame{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;
  background:var(--raised);overflow:hidden;padding:6%}
.commerce-card-frame img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain}
.commerce-card-copy{flex:1;display:flex;flex-direction:column;padding:16px 16px 14px}
.commerce-card h2{font-size:1.15rem;margin:0 0 2px}
.commerce-card-script{color:var(--soft);font-size:1rem;letter-spacing:.08em;margin:0}
.commerce-card-bottom{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
.commerce-card-copy h2+.commerce-card-bottom,.commerce-card-script+.commerce-card-bottom{margin-top:auto}
.commerce-card .commerce-card-script:last-of-type{margin-bottom:14px}
.commerce-price{font-size:1.05rem;letter-spacing:.02em;white-space:nowrap}
.commerce-price-note{font-size:1rem;color:var(--soft)}

/* 手機：兩欄 */
@media(max-width:560px){
  .commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 12px!important}
  .commerce-card-art{padding:8px 8px 0!important}
  .commerce-card-frame{padding:5%}
  .commerce-card-copy{padding:10px 10px 10px!important}
  .commerce-card h2{font-size:1.05rem!important;letter-spacing:.04em;line-height:1.5}
  .commerce-card-script{letter-spacing:.02em}
  .commerce-price{font-size:1rem;letter-spacing:0}
  .commerce-card-copy{padding:10px 8px!important}
  .commerce-card-bottom{flex-direction:column;align-items:flex-start;padding-top:8px}
}

/* 商品頁 */
.commerce-price-hint{color:var(--soft);font-size:1rem;margin:4px 0 0;text-align:right}
.commerce-selected-price strong{font-variant-numeric:tabular-nums}
.commerce-field-error{color:var(--ink);font-size:1rem;margin:6px 0 0;line-height:1.6}
.commerce-field-error::before{content:"— "}
.commerce-page select[aria-invalid="true"]{border-color:var(--ink);outline:1px solid var(--ink)}
.commerce-thumbs{gap:10px}
.commerce-thumb{width:84px;padding:6px}
.commerce-thumb img{height:84px}

/* 付款即將開放 */
.commerce-payment-soon{font-size:1rem;color:var(--ink);background:var(--raised);border-left:2px solid var(--accent);
  padding:12px 16px;margin:18px 0 0;line-height:1.7}
.commerce-order-panel .commerce-payment-soon{margin:0 0 20px}

/* 購物車：整理層級 */
.commerce-order-totals > div{padding:6px 0}
.commerce-order-panel h2{font-size:1.3rem}
.commerce-cart-spec{line-height:1.7}
