:root {
  --bg: #f5f0e8;
  --card: #fffdf9;
  --text: #222224;
  --muted: #6f6a64;
  --line: #e2d9cc;
  --red: #e5322d; /* красный из логотипа */
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
main {
  max-width: 420px;
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
}
header { text-align: center; margin-bottom: 40px; }
h1 { margin: 0; font-size: 24px; letter-spacing: .12em; }
#logo { display: block; margin: 0 auto; width: 200px; height: auto; }
#subtitle {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0 0 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { opacity: .75; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.btn.empty { color: var(--muted); border-style: dashed; cursor: default; }
#stores { margin: 4px 0 24px; }
.store { padding: 20px 0; border-bottom: 1px solid var(--line); }
.store h2 { margin: 0; font-size: 17px; }
.store p { margin: 4px 0 14px; color: var(--muted); }
.actions { display: flex; gap: 8px; }
.actions .btn { min-height: 46px; margin: 0; font-size: 14px; border-radius: 12px; }
footer, noscript { display: block; margin-top: 32px; text-align: center; color: var(--muted); font-size: 12px; }
