/* 장바구니 전용 */
.cart { padding: calc(4 * var(--u)) calc(20 * var(--u)) 0; }

.cart-item { display: flex; gap: calc(16 * var(--u)); padding: calc(20 * var(--u)) 0; box-shadow: inset 0 -1px 0 var(--grey-200); }
.cart-item__thumb { flex-shrink: 0; width: calc(76 * var(--u)); height: calc(76 * var(--u)); }
.cart-item .num-tag { left: 6px; top: 6px; }
.cart-item__body { display: flex; flex-direction: column; flex-grow: 1; gap: 2px; min-width: 0; }
.cart-item__head { display: flex; justify-content: space-between; }
.cart-item__info { display: flex; flex-direction: column; gap: 4px; }
.cart-item__name { font-size: var(--fs-body2); line-height: 1.45; }
.cart-item__option { font-size: var(--fs-caption1); font-weight: 400; color: var(--grey-400); }
.cart-item__remove { margin: -12px -14px 0 0; color: var(--grey-400); }
.cart-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item__price { font-size: var(--fs-title3); font-weight: 600; }

/* 무료배송 안내 */
.free-ship { display: flex; flex-direction: column; gap: 10px; margin-top: calc(20 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); border-radius: 4px; background: var(--grey-100); }
.free-ship__text { font-size: var(--fs-body3); line-height: 1.45; }
.free-ship__text strong { font-weight: 600; color: var(--purple-500); }
.free-ship__bar { height: 4px; border-radius: 1px; background: var(--grey-200); overflow: hidden; }
.free-ship__fill { height: 100%; background: var(--purple-500); }
.free-ship__meta { display: flex; justify-content: space-between; font-size: var(--fs-caption2); font-weight: 400; color: var(--grey-400); }


/* 빈 장바구니 */
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--u)); padding: calc(64 * var(--u)) 0 calc(32 * var(--u)); text-align: center; }
.cart-empty__text { font-size: var(--fs-body2); font-weight: 400; color: var(--grey-500); }
.cart-item__msg { font-size: var(--fs-caption1); font-weight: 600; color: var(--grey-900); }

/* ===== 웹 (600px 이상): 왼쪽 담은 상품, 오른쪽 결제 금액 카드 (공통은 common.css의 .web-*) ===== */
@media (min-width: 600px) {
  .cart { flex: 999 1 560px; min-width: 0; padding: 0; }
  .cart__list { box-shadow: inset 0 1px 0 var(--grey-900); }
  .cart__list:empty { box-shadow: none; }
  .bag-aside { flex: 1 1 340px; }
}
