.cart-page { padding: 32px 0 64px; color: #292d34; background: #fff; font-size: 13px; }
.cart-shell { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cart-head h2 { margin: 0; font-size: 21px; font-weight: 600; }
.cart-continue { display: inline-flex; align-items: center; gap: 7px; color: #69717d; text-decoration: none; font-size: 12px; }
.cart-continue:hover { color: #d85808; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 36px; }
.cart-items-panel { min-width: 0; }
.cart-items-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid #e8eaed; border-bottom: 1px solid #e8eaed; color: #767e89; font-size: 12px; }
.cart-items-top strong { font-weight: 500; color: #4e5662; }
.cart-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid #e8eaed; }
.cart-item-image { display: grid; place-items: center; width: 112px; height: 128px; overflow: hidden; border-radius: 6px; background: #f5f6f7; color: #a0a6af; text-decoration: none; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-image > i { font-size: 30px; }
.cart-item-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cart-item-title-row > div { min-width: 0; }
.cart-item-title { display: block; color: #292d34; font-size: 14px; line-height: 1.5; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cart-item-title:hover { color: #d85808; }
.cart-item-sku { display: block; margin-top: 4px; color: #8b929c; font-size: 11px; overflow-wrap: anywhere; }
.cart-remove { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #8b929c; font-size: 17px; }
.cart-remove:hover { color: #d85808; background: #fff1e7; }
.cart-line-attrs { display: flex; flex-wrap: wrap; gap: 5px 14px; color: #747c88; font-size: 11px; }
.cart-line-attrs strong { color: #505863; font-weight: 500; }
.cart-item-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: auto; }
.cart-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; flex: 1 1 120px; }
.cart-price > strong { color: #d85808; font-size: 15px; font-weight: 600; }
.cart-price del { color: #979ea8; font-size: 11px; }
.cart-price > span { width: 100%; color: #4c8562; font-size: 11px; }
.cart-price b { font-weight: 500; }
.cart-quantity { display: grid; grid-template-columns: 28px minmax(28px, auto) 28px; align-items: center; height: 32px; border: 1px solid #e1e4e8; border-radius: 5px; }
.cart-quantity button { display: grid; place-items: center; width: 28px; height: 30px; padding: 0; border: 0; background: transparent; color: #69717d; font-size: 13px; }
.cart-quantity button:hover { color: #d85808; background: #fff4ec; }
.cart-quantity span { padding: 0 5px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.cart-line-total { min-width: 100px; text-align: right; }
.cart-line-total > span { display: block; margin-bottom: 3px; color: #8b929c; font-size: 10px; }
.cart-line-total strong, .cart-line-total b { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-summary { position: sticky; top: 20px; padding: 22px; border: 1px solid #eadfd6; border-radius: 6px; background: #fffbf8; }
.cart-summary h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 16px; font-weight: 600; }
.cart-summary h2 i { color: #d85808; font-size: 19px; }
.cart-summary dl { margin: 0; }
.cart-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; font-size: 12px; }
.cart-summary dt { color: #747c88; font-weight: 400; }
.cart-summary dd { margin: 0; color: #424953; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-summary .cart-summary-saving dd { color: #4c8562; }
.cart-summary .cart-summary-total { margin: 18px 0; padding: 16px 0; border-top: 1px solid #eadfd6; border-bottom: 1px solid #eadfd6; }
.cart-summary-total dt { color: #292d34; font-weight: 600; font-size: 14px; }
.cart-summary-total dd { color: #d85808; font-size: 18px; font-weight: 600; }
.cart-coupon label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #69717d; font-size: 12px; }
.cart-coupon > div { display: flex; gap: 7px; }
.cart-coupon input { width: 100%; min-width: 0; height: 36px; padding: 8px 10px; border: 1px solid #e2dfdc; border-radius: 4px; background: #fff; color: #424953; font: inherit; font-size: 12px; }
.cart-coupon input::placeholder { color: #a0a6af; }
.cart-coupon > div > button { padding: 0 13px; border: 1px solid #f1c9ab; border-radius: 4px; background: #fff0e4; color: #bd510f; font-size: 12px; font-weight: 500; }
.cart-coupon-remove { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: #69717d; font-size: 11px; }
.cart-coupon-remove[hidden] { display: none; }
#coupon-message { margin: 8px 0 0; color: #4c8562; font-size: 11px; line-height: 1.5; }
#coupon-message:empty { display: none; }
#coupon-message.is-error { color: #bc3b2a; }
.cart-checkout { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin-top: 20px; padding: 10px 12px; border-radius: 5px; background: #ed650c; color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; }
.cart-checkout:hover { background: #d85808; color: #fff; }
.cart-checkout > .ti-arrow-right { margin-left: auto; }
.cart-checkout.disabled { background: #f0e6df; color: #9b8c80; cursor: not-allowed; }
.cart-clear { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 8px; border: 0; background: transparent; color: #858b94; font-size: 11px; }
.cart-clear:hover { color: #bd510f; }
.cart-summary-note { margin: 12px 0 0; color: #94979c; font-size: 10px; line-height: 1.6; text-align: center; }
.cart-page button { cursor: pointer; font-family: inherit; }
.cart-page button:disabled { opacity: .5; cursor: not-allowed; }
.cart-page button:focus-visible, .cart-page a:focus-visible, .cart-page input:focus-visible { outline: 2px solid #ed650c; outline-offset: 3px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; padding: 28px 16px; text-align: center; }
.cart-empty > i { font-size: 40px; color: #ed650c; padding: 18px; border-radius: 50%; background: #fff3e9; }
.cart-empty > strong { font-size: 18px; font-weight: 600; }
.cart-empty p { margin: 0; color: #858b94; font-size: 12px; }
.cart-empty a { display: inline-flex; padding: 10px 16px; border-radius: 5px; background: #ed650c; color: #fff; text-decoration: none; font-size: 12px; }
@media (max-width: 1000px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .cart-summary { padding: 18px; }
  .cart-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .cart-item-image { width: 88px; height: 104px; }
}
@media (max-width: 760px) {
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-page { padding: 24px 0 40px; }
  .cart-shell { padding: 0 16px; }
  .cart-head { align-items: flex-start; gap: 12px; }
  .cart-head h2 { font-size: 18px; }
  .cart-continue { font-size: 11px; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .cart-item-image { width: 72px; height: 88px; }
  .cart-item-title { font-size: 13px; }
  .cart-item-bottom { gap: 12px; }
  .cart-price { flex-basis: 100%; }
  .cart-line-total { margin-left: auto; min-width: 0; }
}
