@font-face {
  font-family: Bar;
  src: url(./brand.woff2) format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  font:
    17px/1.5 system-ui,
    sans-serif;
  background: #151513;
  color: #f4f0e8;
  --gold: #d5b778;
  --line: #45433b;
}
@media print {
  body.customer-card, .customer-card main, .customer-card section {
    background: white;
    color: black;
    border: none;
  }
  .customer-card #print {display: none}
  .customer-card code, .customer-card .money {color: black}
  .customer-card section {break-inside: avoid}
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(5vw, calc((100vw - 700px) / 2));
}
.brand,
h1,
h2,
.money {
  font-family: Bar, "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: 1.05;
}
.brand {
  font-size: 30px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.brand span {
  color: var(--gold);
  font-size: 21px;
  vertical-align: 3px;
}
main {
  max-width: 740px;
  margin: auto;
  padding: 28px 20px 48px;
}
h1 {
  font-size: clamp(46px, 9vw, 72px);
  margin: 16px 0 22px;
}
h2 {
  font-size: 32px;
  margin: 0 0 16px;
}
.money {
  font-size: 52px;
  color: var(--gold);
  margin: 0;
}
p {
  margin: 8px 0 16px;
}
.muted,
small {
  color: #c2bdb1;
}
section {
  background: #20201d;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(16px, 4vw, 30px);
}
button,
input {
  font: inherit;
  min-height: 48px;
  border-radius: 5px;
}
button {
  cursor: pointer;
  background: #282823;
  color: #f4f0e8;
  border: 1px solid #605d50;
  padding: 8px 15px;
  font-weight: 600;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.primary,
button[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #211d15;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffe2a5;
  outline-offset: 3px;
}
input {
  width: 100%;
  padding: 10px 12px;
  background: #151513;
  border: 1px solid #767268;
  color: #fff;
  margin-top: 5px;
}
label {
  display: block;
  margin: 13px 0;
}
.row,
nav,
#identity {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.row > * {
  flex: 1;
}
nav {
  margin-bottom: 12px;
}
#identity {
  justify-content: space-between;
  color: #c2bdb1;
  font-size: 0.9rem;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.check input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: none;
}
form + form,
.block {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
code {
  display: block;
  font-size: clamp(20px, 4.5vw, 32px);
  color: var(--gold);
  overflow-wrap: anywhere;
}
video {
  width: 100%;
  max-height: 260px;
}
li {
  margin: 12px 0;
}
#message {
  color: #ffda97;
}
.primary {
  width: 100%;
}
#language {
  min-width: 52px;
}
.customer-card #qr { display: block; max-width: 100%; height: auto; margin-bottom: 1rem; image-rendering: pixelated; }

.shop-header,
.shop-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
}
.shop-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold);
  text-underline-offset: .2em;
}
@media print {
  .shop-header nav { display: none; }
}
