/* 線上訂購單（沿用首頁詢價表單 .inquiry 的樣式） */
.order-form { margin-top: 40px; }
.order-form .order-h { margin: 8px 0 16px; font-size: 20px; }
.order-form .order-h ~ .order-h { margin-top: 36px; }
.order-form .table-scroll { overflow: visible; }
.article .order-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; }
.order-table th, .order-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.order-table th:first-child { padding-left: 0; }
.order-table td:last-child, .order-table thead th:last-child, .order-table tfoot td { padding-right: 0; text-align: right; }
.order-table thead th { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.order-table tbody th { font-weight: 700; }
.order-table tbody th small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.order-table td.o-unit, .order-table td.o-sub, .order-table tfoot td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-table input { width: 64px; text-align: right; }
.order-table tfoot th { text-align: right; font-size: 16px; }
.order-table tfoot td { font-size: 20px; font-weight: 700; color: var(--blue-600); }
.order-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-privacy { margin-top: 28px; padding: 18px 20px; background: var(--tint); border-radius: 8px; font-size: 14px; line-height: 1.8; }
.order-privacy p { margin: 0 0 12px; }
.order-form label.order-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 700; }
.order-form label.order-consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.order-form .btn:disabled { opacity: .55; cursor: default; }
.order-result:empty { display: none; }
.order-result { margin-top: 20px; padding: 18px 20px; border-radius: 8px; line-height: 1.8; }
.order-result p { margin: 0; }
.order-result p + p { margin-top: 6px; }
.order-result.ok { background: #e8f3ec; border: 1px solid #9ccab0; }
.order-result.err { background: #fdeeee; border: 1px solid #e6a5a5; }
@media (max-width: 640px) {
  .order-table thead { display: none; }
  .order-table, .order-table tbody, .order-table tr { display: block; }
  .order-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .order-table tbody th, .order-table tbody td { padding: 0; border: 0; }
  .order-table tbody th { grid-column: 1 / -1; }
  .order-table td.o-sub { grid-column: 1; font-weight: 700; }
  .order-table tbody td:nth-of-type(2) { grid-row: 2 / 4; grid-column: 2; align-self: center; }
  .order-table tbody td.o-unit { grid-column: 1; color: var(--ink-soft); font-size: 14px; }
  .order-table tfoot { display: block; }
  .order-table tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
  .order-table tfoot th, .order-table tfoot td { padding: 0; border: 0; }
}
