:root {
  color-scheme: dark;
  --background: #0b0c0d;
  --panel: #17191c;
  --border: #3a3e44;
  --gold: #e5c16d;
  --text: #f7f7f5;
  --muted: #b9bfc8;
  font: 16px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--text); }
main { width: min(960px, 100% - 32px); margin: 0 auto 60px; }
header { border-bottom: 1px solid var(--border); padding: 14px 0; margin-bottom: 28px; }
header nav { width: min(960px, 100% - 32px); margin: auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
header img { width: 32px; height: 32px; vertical-align: middle; margin-right: 6px; }
a { color: var(--gold); }
h1, h2, h3 { line-height: 1.16; }
h1 { font-size: clamp(2.1rem, 7vw, 3.5rem); }
p { color: var(--muted); }
section, .panel { border: 1px solid var(--border); border-radius: 16px; background: var(--panel); padding: 18px; margin: 16px 0; }
.row { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 12px; }
label { display: block; font-size: .9rem; font-weight: 650; }
input, select, textarea { display: block; width: 100%; background: #101214; color: var(--text); border: 1px solid #61666e; border-radius: 8px; margin-top: 5px; padding: 11px; font: inherit; }
input[type="checkbox"] { display: inline-block; width: auto; margin: 0 8px 0 0; }
button, .button { display: inline-block; background: var(--gold); color: #17130a; border: 1px solid var(--gold); border-radius: 9px; padding: 10px 14px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button.secondary, .button.secondary { color: var(--gold); background: transparent; border-color: #77623a; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #fff2bf; outline-offset: 3px; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.details { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.status { min-height: 1.5em; color: #f5d890; }
.total { font-size: 1.35rem; color: var(--gold); }
#checkoutLines article { margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
#checkoutLines h3, #checkoutLines p { margin: 0 0 8px; }
#checkoutLines input { max-width: 250px; }
#cardInput { margin-top: 16px; }
