/* 서비스 주문(/order) · 주문 조회(/orders) */
.order-page .mini-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.order-page .mini-nav a { color: rgba(255, 255, 255, .85); }
.order-page .mini-nav a:hover { color: #fff; }
.order-page main.section { padding: 64px 0 90px; min-height: 70vh; }
.ow { max-width: 1080px; }
.o-grid { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; margin-top: 30px; }
.o-main { display: grid; gap: 18px; min-width: 0; }
.o-side { position: sticky; top: 92px; }
.o-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.o-main .o-card { margin: 0; }
.o-card h3 { margin: 0 0 16px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.o-card h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.o-card h4 { margin: 0 0 12px; font-size: 16px; }
.o-card p { margin: 0 0 8px; font-size: 15px; }
.o-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.o-card input, .o-card textarea, .o-card select { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.o-card textarea { min-height: 96px; resize: vertical; }
.o-card input[type=checkbox], .o-card input[type=radio] { width: auto; padding: 0; }
.o-card .consent { margin: 10px 0 0; }
.o-card input:focus, .o-card textarea:focus { outline: none; border-color: var(--accent); }
.o-card .field small { font-weight: 400; color: var(--muted); }
.o-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.o-plan, .o-receipt label { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 42px; cursor: pointer; background: #fbfbfe; display: block; }
.o-plan input, .o-receipt input { position: absolute; left: 14px; top: 17px; width: auto; accent-color: var(--accent); }
.o-plan b, .o-receipt b { display: block; font-size: 15px; }
.o-plan span { display: block; font-weight: 800; color: var(--navy); margin-top: 2px; }
.o-plan small, .o-receipt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.o-plan:has(input:checked), .o-receipt label:has(input:checked) { border-color: var(--accent); background: #eef0ff; box-shadow: 0 0 0 3px rgba(59, 76, 255, .12); }
.o-plan.best::after { content: "추천"; position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.o-months { margin-top: 16px; }
.o-months b { font-size: 14px; }
.o-months small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.o-months .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.o-months .chips label { cursor: pointer; }
.o-months .chips input { position: absolute; opacity: 0; width: 1px; }
.o-months .chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: #fff; }
.o-months .chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.o-months .chips input:focus-visible + span { outline: 2px solid var(--accent); }
.o-receipt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.o-hint { color: var(--muted); font-size: 13px !important; margin: 8px 0 0 !important; line-height: 1.6; }
.o-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.o-line b { white-space: nowrap; }
.o-line.minus b { color: var(--green); }
.o-line.total { border: 0; font-size: 17px; padding-top: 12px; }
.o-line.total b { color: var(--accent); font-size: 20px; }
.o-sum h3 { margin-bottom: 8px; }

/* 주문 조회 */
.o-banner { background: #eefaf4; border: 1px solid #bfe8d3; color: #145c3e; border-radius: 16px; padding: 16px 18px; font-size: 14px; margin-bottom: 18px; line-height: 1.7; }
.o-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.o-head h2 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.02em; }
.o-steps { display: flex; gap: 6px; margin: 18px 0 18px; flex-wrap: wrap; }
.o-steps span { flex: 1; min-width: 90px; text-align: center; padding: 9px 6px; border-radius: 999px; background: #e9ecf5; color: var(--muted); font-size: 13px; font-weight: 700; }
.o-steps span.on { background: var(--navy); color: #fff; }
.o-steps span.cancel { background: #fdecec; color: #c0392b; }
.o-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o-kv { display: flex; gap: 10px; font-size: 14px; padding: 3px 0; }
.o-kv span { width: 76px; flex-shrink: 0; color: var(--muted); }
.o-kv b { font-weight: 600; min-width: 0; word-break: break-all; }
.o-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.o-table th, .o-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.o-table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--bg); }
.o-table td:last-child, .o-table th:last-child { text-align: right; }
.o-table tfoot td { border: 0; padding: 5px 8px; }
.o-table tfoot tr.total td { font-weight: 800; font-size: 16px; color: var(--navy); }
.o-table .ok { color: var(--green); font-weight: 700; }
.o-account { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 15px; }
.o-more summary { cursor: pointer; font-weight: 700; color: var(--accent); font-size: 14px; }
.o-more[open] summary { margin-bottom: 12px; }
.o-more form { display: block; }

@media (max-width: 900px) {
  .o-grid { grid-template-columns: 1fr; }
  .o-side { position: static; }
}
@media (max-width: 640px) {
  .o-plans, .o-receipt, .o-two, .o-card .row { grid-template-columns: 1fr; }
  .o-card { padding: 20px 16px; }
  .order-page .mini-nav { gap: 14px; font-size: 13px; }
  .o-table { font-size: 13px; }
  .o-table th, .o-table td { padding: 8px 4px; }
}
@media print {
  .header, .footer, .no-print, .o-banner { display: none !important; }
  .order-page main.section { padding: 0; background: #fff; }
  .o-card { box-shadow: none; break-inside: avoid; }
  .o-steps span { border: 1px solid #ccc; }
}
