/* checkout-form.css — 結帳 form 與 honeypot 樣式 */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-2, #2b2b2b); }
.input {
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--line, #d8d8d8);
  border-radius: 6px;
  background: #fff;
}
.input:focus { outline: 2px solid var(--accent-2, #c89b3c); outline-offset: 1px; }

/* Honeypot：對使用者與螢幕閱讀器都不可見 */
.field--hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.t-muted { color: #6a6a6a; }
.t-small { font-size: 13px; line-height: 1.5; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-row .btn--cta {
  background: var(--accent, #c89b3c);
  color: #fff;
  border: none;
}
.btn-row .btn--cta:hover { filter: brightness(0.95); }
.btn-row .btn--cta:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
  .form-grid { max-width: 100%; }
}

/* 付款方式 fieldset（radio 由 components.css 的 .check .check--card 提供） */
.check-group {
  border: 0;
  padding: 0;
  margin: 0;
}
.check-group__legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2, #2b2b2b);
  margin-bottom: 6px;
}
.check-group__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
