/* APX shop pages: dark by itself (color-scheme: dark), system fonts, no external resources. */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #b8b8b8;
  --line: #1e1e1e;
  --control-line: #8c8c8c;
  --button-bg: #ffffff;
  --button-fg: #000000;
  --alert-fg: #ffb4ab;
  --focus: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.site-header {
  padding: 1.25rem 1rem 0.5rem;
  max-width: 34rem;
  width: 100%;
  margin: 0 auto;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo {
  width: 9rem;
  max-width: 60%;
  height: auto;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem;
}

.eyebrow {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.title {
  margin: 0.5rem 0 1rem;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.notice {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts {
  margin: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.fact {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0.125rem 0 0;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

.order {
  margin-top: 1rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.select {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--control-line);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 1.125rem;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.25rem 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.total-label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.total-value {
  font-size: 1.5rem;
  font-weight: bold;
}

.hint {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.list li {
  margin-bottom: 0.75rem;
}

.button {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border: 0;
  border-radius: 0;
  background: var(--button-bg);
  color: var(--button-fg);
  font: inherit;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.alert {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--alert-fg);
  color: var(--alert-fg);
}

a {
  color: var(--fg);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}
