.cart_title_row { display: flex; align-items: center; justify-content: space-between; padding: 30px 0 20px; }
.cart_title_row h2 { font-size: 22px; font-weight: 800; color: var(--text-strong); }
.btn_estimate { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text-dark); font-size: 13px; cursor: pointer; }
.btn_estimate:hover { border-color: var(--accent2); color: var(--accent2); }

.btn_continue_shopping { display: inline-block; height: 40px; line-height: 40px; padding: 0 20px; border-radius: 6px; background: var(--accent2); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }

.cart_list_head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border: 1px solid var(--text-strong); border-bottom: 2px solid var(--text-strong); font-size: 14px; }
.chk_all { display: flex; align-items: center; gap: 8px; color: var(--text-dark); cursor: pointer; }
.cart_list_actions { display: flex; gap: 8px; }
.cart_list_actions button { height: 32px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text-muted); font-size: 13px; cursor: pointer; }
.cart_list_actions button:hover { border-color: var(--accent2); color: var(--accent2); }

.cart_rows { border-bottom: 1px solid var(--border2); }
.cart_group { border-top: 6px solid var(--bg-soft, #f5f5f6); }
.cart_group:first-child { border-top: none; }
.cg_header { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--bg-soft, #f9f9fa); font-size: 13px; }
.cg_seller { font-weight: 700; color: var(--text-strong); }
.cg_policy { color: var(--text-muted); }
.cg_fee { margin-left: auto; font-weight: 700; color: var(--accent2); }
.cg_fee.is_free { color: #2ca85a; }
.cart_row { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border2); }
.row_chk { flex: 0 0 24px; }
.row_thumb { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; background: #f5f5f6; display: flex; align-items: center; justify-content: center; }
.row_thumb img { width: 100%; height: 100%; object-fit: cover; }
.row_thumb i { font-size: 24px; color: var(--text-light); }
.row_info { flex: 1; min-width: 0; }
.row_name { font-size: 14px; color: var(--text-dark); line-height: 1.4; }
/* 고객이 옵션에 적어 넣은 것(명패 이름·택N 선택). 상품명 아래에 한 단 낮춰 둔다 —
   상품명과 같은 크기로 두면 어느 것이 상품인지 안 읽힌다. */
.row_input { display: block; margin-top: 3px; font-size: 12px; color: var(--text-muted); word-break: break-all; }

.row_qty { flex: 0 0 120px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.row_qty button { width: 30px; height: 32px; border: none; background: #fafafa; font-size: 15px; cursor: pointer; color: var(--text-dark); }
.row_qty input { width: 60px; height: 32px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 13px; }

.row_price { flex: 0 0 110px; text-align: right; font-size: 15px; color: var(--text-strong); }
.row_price strong { font-weight: 800; margin-right: 2px; }

.row_del { flex: 0 0 24px; border: none; background: none; color: var(--text-light); font-size: 18px; cursor: pointer; }
.row_del:hover { color: var(--accent); }

.cart_summary { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 40px 0; }
.sum_row { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 140px; }
.sum_row span:first-child { font-size: 13px; color: var(--text-muted); }
.sum_row strong { font-size: 22px; font-weight: 800; color: var(--text-strong); }
.sum_row.sum_total strong { color: var(--accent2); }
.sum_op { font-size: 20px; color: var(--text-light); }

.cart_order_btns { display: flex; gap: 10px; padding-bottom: 60px; }
.cart_order_btns button { flex: 1; height: 50px; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid var(--accent2); }
.btn_order_selected { background: #fff; color: var(--accent2); }
.btn_order_selected:hover { background: #f0f7ff; }
.btn_order_all { background: var(--accent2); color: #fff; }
.btn_order_all:hover { background: #3a86e0; }

@media (max-width: 700px) {
    .cart_row { flex-wrap: wrap; }
    .row_info { flex: 1 1 100%; order: 1; }
    .cart_summary { flex-direction: column; }
}

.btn_quote {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 52px; padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 15px; font-weight: 600; color: var(--text-dark);
    cursor: pointer;
}
.btn_quote:hover { border-color: var(--text-dark); }
.btn_quote i { font-size: 17px; }
