:root {
  color-scheme: dark;
  --bg: #141613;
  --panel: #20221d;
  --line: #414135;
  --gold: #e9bf79;
  --fire: #f15e3c;
  --ink: #f9f2e5;
  --muted: #b7b6a5;
  font-family: Roboto, "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--gold);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 9px;
  background: #2b2d25;
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 650;
}
button:hover {
  background: #3b3c2e;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.primary {
  background: var(--fire);
  color: #160f0b;
  border-color: var(--fire);
}
.gold {
  background: var(--gold);
  color: #1a1510;
}
.flat {
  background: transparent;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: #1c1d18;
  position: sticky;
  top: 0;
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}
.brand b {
  display: block;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand small {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 12px;
}
.header nav {
  display: flex;
  gap: 7px;
}
.header nav button {
  font-size: 14px;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 24px 18px 90px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(37px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 20px;
}
p {
  line-height: 1.55;
}
.muted,
small {
  color: var(--muted);
}
.hero {
  padding: 38px 30px;
  min-height: 230px;
  position: relative;
  border: 1px solid #655336;
  border-radius: 17px;
  background: radial-gradient(ellipse at right, #50321c, #211f17 70%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero img {
  max-width: 40%;
  height: 230px;
  object-fit: contain;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.65;
}
.hero div {
  position: relative;
  max-width: 670px;
}
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.hero p {
  max-width: 500px;
  margin-top: 16px;
  color: #dfd3bb;
}
.status,
.notice,
.error {
  padding: 13px 16px;
  background: #2e3528;
  border-radius: 10px;
  margin: 14px 0;
  line-height: 1.55;
}
.status.closed,
.status.suspended {
  background: #302f26;
}
.status.emergency,
.error {
  background: #44291f;
  color: #ffc7a9;
}
.notice {
  border: 1px solid #6c5431;
  background: #2b281d;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.categories {
  display: flex;
  overflow: auto;
  gap: 8px;
  margin: 25px 0 20px;
  padding: 2px;
}
.categories button {
  white-space: nowrap;
  background: transparent;
}
.categories .active {
  background: #423720;
  border-color: var(--gold);
  color: var(--gold);
}
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product,
.card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--panel);
}
.product img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.noPhoto {
  height: 150px;
  background: #282a22;
  display: grid;
  place-content: center;
  color: #93917e;
  font-size: 14px;
}
.product .body {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.product h3 {
  min-height: 24px;
}
.price {
  font-size: 22px;
  color: var(--gold);
  font-weight: 750;
}
.product.unavailable {
  opacity: 0.6;
}
.variant {
  color: var(--muted);
  font-size: 15px;
}
.pill {
  border-radius: 25px;
  padding: 6px 10px;
  font-size: 13px;
  background: #3a3629;
  color: var(--gold);
}
.card {
  padding: 20px;
  margin-bottom: 16px;
}
.card p {
  margin-top: 10px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}
.detail small {
  display: block;
  margin-top: 6px;
}
.detail:last-child {
  border: 0;
}
.total {
  font-size: 24px;
  font-weight: 750;
  color: var(--gold);
}
.form {
  display: grid;
  gap: 15px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 15px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  background: #151713;
  border: 1px solid #595b4b;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
}
select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #b9aa85 50%),
    linear-gradient(135deg, #b9aa85 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 20px,
    calc(100% - 14px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check input {
  width: 21px;
  min-height: 21px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.empty {
  padding: 30px 0;
  color: var(--muted);
}
.section {
  margin: 25px 0 16px;
}
.club {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #8b7041;
  border-radius: 18px;
  padding: 28px;
  background: radial-gradient(ellipse at top right, #514226, #211f18 70%);
}
.club h1 {
  font-size: 45px;
}
.stamps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stamp {
  border: 1px solid #88764d;
  border-radius: 100%;
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
}
.stamp.used {
  background: var(--gold);
  color: #20180c;
}
.timeline {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}
.step {
  padding: 12px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}
.step.done {
  border-color: var(--gold);
  color: var(--ink);
}
.cashButtons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cashButtons .active {
  background: var(--gold);
  color: #21190e;
}
.floating {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 20px;
  box-shadow: 0 4px 30px #0008;
  z-index: 2;
}
.wide {
  width: 100%;
}
dialog {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid #63553a;
  border-radius: 15px;
  max-height: 90dvh;
  width: min(520px, 95vw);
  padding: 22px;
  box-shadow: 0 20px 80px #0008;
}
dialog::backdrop {
  background: #080907c9;
}
dialog h2 {
  font-size: 25px;
  margin-bottom: 16px;
}
dialog .close {
  float: right;
  min-height: 34px;
  padding: 5px 10px;
}
.error:empty,
#toast:empty {
  display: none;
}
#toast {
  position: fixed;
  bottom: 82px;
  right: 18px;
  background: #eee4cf;
  color: #201a10;
  padding: 14px 18px;
  border-radius: 10px;
  max-width: 90vw;
  z-index: 7;
  box-shadow: 0 5px 20px #0006;
}
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.bannerPhoto {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
}
.bank {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.formNote {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 10px 14px;
  }
  .brand img {
    width: 60px;
    height: 60px;
  }
  .brand b {
    font-size: 16px;
  }
  .header nav button {
    padding: 9px;
    font-size: 13px;
  }
  .hero {
    padding: 28px 22px;
  }
  .hero img {
    max-width: 45%;
  }
}
@media (max-width: 480px) {
  .brand small {
    font-size: 10px;
  }
  .header nav {
    gap: 3px;
  }
  .header nav button {
    font-size: 12px;
    padding: 8px;
  }
  .products {
    gap: 10px;
  }
  .product img {
    height: 138px;
  }
  .noPhoto {
    height: 112px;
  }
  .product .body {
    padding: 12px;
    gap: 10px;
  }
  .product h3 {
    font-size: 18px;
  }
  .price {
    font-size: 19px;
  }
  .product button {
    padding: 9px;
    font-size: 14px;
  }
  .variant {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero {
    min-height: 214px;
  }
  .hero p {
    max-width: 230px;
    font-size: 15px;
  }
  main {
    padding-top: 16px;
  }
  .club h1 {
    font-size: 36px;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .cashButtons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
