:root {
  --paper: #fff3d6;
  --paper-2: #fbe5b8;
  --card: #fffdf7;
  --ink: #2a1d16;
  --ink-2: #6f5d50;
  --ink-3: #a08f80;
  --red: #e2231a;
  --red-d: #b3140e;
  --gold: #ffc933;
  --gold-d: #e9a31b;
  --green: #0f6b3e;
  --green-l: #1f9a5a;
  --line: rgba(42, 29, 22, 0.13);
  --line-2: rgba(42, 29, 22, 0.22);
  --hard: 3px 3px 0 var(--ink);
  --r: 20px;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bar-h: 0px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  background-image: var(--pattern);
  background-size: 180px 180px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

svg.i {
  width: 22px;
  height: 22px;
  flex: none;
}

#app {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px calc(var(--bar-h) + 28px + var(--safe-b));
  min-height: 100vh;
}

.screen > * {
  animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen > *,
  .steam path {
    animation: none !important;
  }
}

/* ---------- верхняя панель ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -16px;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar .spacer {
  flex: 1;
}

.topbar h1 {
  flex: 1;
  margin: 0;
  font: 800 17px/1.1 var(--display);
  letter-spacing: -0.01em;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.85;
  transform: rotate(-4deg) skewX(-6deg);
  user-select: none;
}

.logo small {
  font: 800 9px var(--display);
  letter-spacing: 0.32em;
  color: var(--ink);
  margin-left: 3px;
}

.logo b {
  font: 900 28px var(--display);
  color: var(--red);
  letter-spacing: -0.03em;
  text-shadow: 2px 2px 0 var(--gold), 3.5px 3.5px 0 var(--ink);
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}

.icon-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.icon-btn .badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font: 800 11px/20px var(--display);
  border: 2px solid var(--ink);
}

.lang {
  display: flex;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}

.lang button {
  padding: 5px 7px;
  border-radius: 8px;
  font: 700 11px var(--display);
  color: var(--ink-2);
}

.lang button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--gold);
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font: 800 15px var(--display);
  letter-spacing: -0.01em;
  border: 2.5px solid var(--ink);
  box-shadow: var(--hard);
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn:active:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-ink {
  background: var(--ink);
  color: var(--gold);
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn .price {
  opacity: 0.9;
  font-weight: 700;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 13px var(--body);
  color: var(--red-d);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- главная ---------- */
.notice {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
}

.notice.soft {
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1.5px dashed var(--line-2);
  font-size: 12.5px;
}

.hero {
  position: relative;
  margin-top: 14px;
  min-height: 250px;
  padding: 22px 18px 20px;
  border-radius: 28px;
  background: var(--red);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: visible;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(from 0deg at 78% 72%, rgba(255, 255, 255, 0.09) 0deg 9deg, transparent 9deg 18deg);
  z-index: -1;
}

.hero .kicker {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font: 800 10px var(--display);
  letter-spacing: 0.14em;
  transform: rotate(-2deg);
}

.hero h2 {
  margin: 12px 0 8px;
  max-width: 60%;
  font: 900 33px/0.98 var(--display);
  letter-spacing: -0.03em;
  white-space: pre-line;
  text-shadow: 3px 3px 0 var(--red-d);
}

.hero p {
  max-width: 50%;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.94;
}

.hero .btn {
  position: relative;
  z-index: 2;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
}

.hero .from {
  display: block;
  margin-top: 10px;
  font: 700 12px var(--display);
  color: var(--gold);
}

.hero .mascot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 57%;
  max-width: 260px;
  pointer-events: none;
  z-index: 1;
  clip-path: inset(-400px 0 0 -80px round 0 0 25px 0);
}

.mascot svg,
.mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .mascot svg {
  filter: drop-shadow(0 6px 0 rgba(42, 29, 22, 0.25));
  border-bottom-right-radius: 26px;
}

.steam path {
  animation: steam 2.6s ease-in-out infinite;
  transform-box: fill-box;
}

.steam path:nth-child(2) {
  animation-delay: 0.8s;
}

.steam path:nth-child(3) {
  animation-delay: 1.5s;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  40% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-26px);
  }
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 6px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
}

.info-pill svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.active-order {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: var(--hard);
  text-align: left;
}

.active-order .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 201, 51, 0.7);
  animation: pulse 1.6s infinite;
  flex: none;
}

.active-order b {
  font: 800 14px var(--display);
}

.active-order span {
  display: block;
  font-size: 12.5px;
  opacity: 0.9;
}

.active-order .go {
  margin-left: auto;
  transform: rotate(180deg);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 201, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 201, 51, 0);
  }
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 12px;
}

.sec-head h3 {
  margin: 0;
  font: 800 21px/1.1 var(--display);
  letter-spacing: -0.02em;
}

.sec-head p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 600;
}

.combos {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.combos::-webkit-scrollbar {
  display: none;
}

.combo {
  flex: 0 0 150px;
  scroll-snap-align: start;
  padding: 10px 10px 12px;
  border-radius: 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  text-align: left;
  transition: transform 0.12s, box-shadow 0.12s;
}

.combo:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.combo img {
  display: block;
  width: 100%;
  aspect-ratio: 136 / 110;
  object-fit: cover;
  mix-blend-mode: multiply;
  margin-bottom: 6px;
}

.combo b {
  display: block;
  font: 800 14px/1.15 var(--display);
}

.combo small {
  display: block;
  margin: 4px 0 8px;
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.3;
}

.combo .p {
  font: 800 14px var(--display);
  color: var(--red);
}

.drinks-card {
  position: relative;
  padding: 6px 14px;
  border-radius: var(--r);
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
}

.drinks-card h4 {
  margin: 14px 0 4px;
  font: 800 12px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.drinks-head {
  position: relative;
}

.drinks-head .mascot {
  position: absolute;
  right: -6px;
  bottom: -14px;
  width: 104px;
  transform: rotate(4deg);
  pointer-events: none;
}

.drink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1.5px dashed var(--line);
}

.drinks-card h4 + .drink {
  border-top: 0;
}

.drink svg {
  width: 38px;
  height: 38px;
  flex: none;
}

.drink .nm {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
}

.drink .nm small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.drink .p {
  font: 800 14px var(--display);
  min-width: 42px;
  text-align: right;
}

.drink.off {
  opacity: 0.45;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  flex: none;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.stepper button:active {
  background: rgba(42, 29, 22, 0.12);
}

.stepper svg {
  width: 16px;
  height: 16px;
}

.stepper span {
  min-width: 20px;
  text-align: center;
  font: 800 14px var(--display);
}

.add-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  flex: none;
}

.add-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.add-btn svg {
  width: 18px;
  height: 18px;
}

.foot {
  margin: 30px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}

.foot a {
  color: inherit;
}

/* ---------- нижняя панель ---------- */
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(12px + var(--safe-b));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--ink);
  animation: barIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes barIn {
  from {
    transform: translateY(100%);
  }
}

.bar-in {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 488px;
  margin: 0 auto;
}

.bar-in .btn {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  font-size: 14px;
  justify-content: space-between;
}

.bar-in .btn:only-child {
  justify-content: space-between;
}

.bar-in .btn > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-summary {
  max-width: 488px;
  margin: 0 auto 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-summary b {
  color: var(--ink);
}

.cart-fab {
  justify-content: space-between;
}

.cart-fab .count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
}

/* ---------- конструктор ---------- */
.progress {
  display: flex;
  gap: 5px;
}

.progress i {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--line-2);
  transition: background 0.25s, width 0.25s;
}

.progress i.done {
  background: var(--red);
  width: 22px;
}

.step {
  margin-top: 22px;
  scroll-margin-top: 70px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 900 15px var(--display);
  border: 2px solid var(--ink);
  flex: none;
  transition: background 0.25s;
}

.step.ok .num {
  background: var(--green);
}

.step-head h3 {
  margin: 0;
  font: 800 19px/1.05 var(--display);
  letter-spacing: -0.02em;
}

.step-head small {
  display: block;
  margin-top: 3px;
  font: 700 10.5px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.step-head small.optional {
  color: var(--ink-3);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.opt-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 3px 10px;
  border-radius: 18px;
  background: var(--card);
  border: 2px solid var(--line);
  text-align: center;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.opt img {
  width: 100%;
  aspect-ratio: 136 / 116;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.opt.sauce img {
  aspect-ratio: 92 / 76;
  width: 78%;
}

.opt .nm {
  margin-top: 4px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.opt .p {
  margin-top: 3px;
  font: 800 13px var(--display);
  color: var(--red);
}

.opt .p.muted {
  font: 700 10.5px var(--body);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.opt .hot {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
}

.opt .hot svg {
  width: 16px;
  height: 20px;
}

.drink-thumb svg {
  width: 100%;
  height: 100%;
}

.tracker .st.now::before {
  background: var(--ink);
}

.opt[aria-pressed='true'] {
  border-color: var(--ink);
  background: #fff7e0;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.opt[aria-pressed='true'] img {
  transform: scale(1.06) rotate(-3deg);
}

.opt[aria-pressed='true']::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  animation: pop 0.25s cubic-bezier(0.3, 1.8, 0.5, 1);
}

@keyframes pop {
  from {
    transform: scale(0);
  }
}

.opt:disabled {
  opacity: 0.4;
  filter: grayscale(1);
}

.opt .so {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font: 800 10px var(--display);
  text-transform: uppercase;
}

.extra-group {
  margin-bottom: 12px;
}

.extra-group h4 {
  margin: 0 0 8px;
  font: 700 11px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 13px;
  background: var(--card);
  border: 2px solid var(--line-2);
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.15s;
}

.chip em {
  font: 700 12px var(--display);
  font-style: normal;
  color: var(--red);
}

.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip[aria-pressed='true'] em {
  color: var(--gold);
}

.chip[aria-pressed='true']::before {
  content: '✓';
  font-weight: 900;
  color: var(--gold);
}

.chip:disabled {
  opacity: 0.4;
  text-decoration: line-through;
}

.spice {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.spice button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 2px 9px;
  border-radius: 16px;
  background: var(--card);
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 10.5px;
  line-height: 1.15;
  text-align: center;
  transition: all 0.15s;
}

.spice .chilis {
  display: flex;
  height: 20px;
  align-items: center;
}

.spice .chilis svg {
  width: 15px;
  height: 18px;
  margin: 0 -2.5px;
}

.chili {
  color: var(--red);
}

.chili.none {
  color: var(--ink-3);
  width: 18px !important;
}

.spice button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.spice button[aria-pressed='true'][data-v='4'] {
  background: var(--red);
  color: #fff;
}

.spice button[aria-pressed='true'][data-v='4'] .chili {
  color: var(--gold);
}

/* ---------- корзина ---------- */
.card {
  padding: 14px;
  border-radius: var(--r);
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
}

.card + .card {
  margin-top: 12px;
}

.card-title {
  margin: 26px 0 10px;
  font: 800 16px var(--display);
  letter-spacing: -0.01em;
}

.line-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1.5px dashed var(--line);
}

.line-item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.line-item:last-child {
  padding-bottom: 2px;
}

.line-item .thumb {
  width: 58px;
  height: 50px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.line-item .thumb.drink-thumb {
  width: 44px;
  height: 44px;
  margin: 0 7px;
}

.line-item .body {
  flex: 1;
  min-width: 0;
}

.line-item .t {
  font: 800 14.5px/1.2 var(--display);
}

.line-item .s {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--paper-2);
}

.tag.extra {
  background: var(--gold);
  border: 1.5px solid var(--ink);
}

.tag.warn {
  background: #ffe1dc;
  color: var(--red-d);
}

.tag.hot {
  background: #ffe1dc;
  color: var(--red-d);
  padding: 2px 6px;
}

.tag.hot svg {
  width: 11px;
  height: 14px;
  margin: 0 -2px;
}

.line-item .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.line-item .p {
  font: 800 15px var(--display);
}

.mini-actions {
  display: flex;
  gap: 4px;
}

.mini-actions button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--ink-2);
}

.mini-actions button:active {
  background: var(--paper-2);
}

.mini-actions svg {
  width: 18px;
  height: 18px;
}

.add-more {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.add-more .btn {
  flex: 1;
  min-height: 46px;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.upsell {
  display: flex;
  gap: 8px;
  margin: 12px -16px 0;
  padding: 2px 16px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.upsell::-webkit-scrollbar {
  display: none;
}

.upsell button {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  background: var(--card);
  border: 2px dashed var(--line-2);
  font-weight: 700;
  font-size: 12.5px;
}

.upsell svg {
  width: 30px;
  height: 30px;
}

.upsell em {
  font: 700 11.5px var(--display);
  font-style: normal;
  color: var(--red);
}

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}

.seg button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: all 0.15s;
}

.seg button svg {
  width: 22px;
  height: 22px;
}

.seg button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--gold);
}

.field {
  display: block;
  margin-top: 12px;
}

.field > span {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.input,
textarea.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--line-2);
  font-weight: 600;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea.input {
  resize: none;
  min-height: 76px;
}

.input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 201, 51, 0.5);
}

.input.bad {
  border-color: var(--red);
  background: #fff5f3;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row .input {
  flex: 1;
  min-width: 0;
}

.side-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--gold);
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 12.5px;
}

.side-btn svg {
  width: 18px;
  height: 18px;
}

.side-btn.ok {
  background: var(--green);
  color: #fff;
}

.err-text {
  margin: 6px 2px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.hint-ok {
  margin: 6px 2px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.recent {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.recent button {
  flex: none;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pay-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: var(--card);
  border: 2px solid var(--line-2);
  text-align: left;
  transition: all 0.15s;
}

.pay-opt svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  margin-bottom: 4px;
}

.pay-opt b {
  font: 800 14px var(--display);
}

.pay-opt small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
}

.pay-opt[aria-pressed='true'] {
  border-color: var(--ink);
  background: #fff7e0;
  box-shadow: 3px 3px 0 var(--ink);
}

.change {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--paper-2);
}

.change p {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
}

.change .chip {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: 46px;
  padding: 4px 12px;
  line-height: 1.15;
}

.change .chip small {
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.75;
}

.change .chip[aria-pressed='true']::before {
  display: none;
}

.summary {
  margin-top: 26px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-weight: 600;
  font-size: 14px;
}

.sum-row.total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font: 900 20px var(--display);
}

.sum-row .free {
  color: var(--green);
  font-weight: 800;
}

.to-free {
  margin: 8px 0 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #e2f4e9;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
}

.to-free .track {
  height: 6px;
  margin-top: 6px;
  border-radius: 3px;
  background: rgba(15, 107, 62, 0.15);
  overflow: hidden;
}

.to-free .track i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--green-l);
  transition: width 0.4s;
}

.empty {
  padding: 30px 10px 10px;
  text-align: center;
}

.empty .mascot {
  width: 190px;
  margin: 0 auto 6px;
}

.empty h2 {
  margin: 0 0 6px;
  font: 900 24px var(--display);
}

.empty p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- заказ ---------- */
.status-hero {
  position: relative;
  margin-top: 8px;
  padding: 18px 18px 18px;
  min-height: 170px;
  border-radius: 26px;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--gold);
  overflow: hidden;
  isolation: isolate;
}

.status-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 85% 85%, rgba(255, 255, 255, 0.16) 0deg 9deg, transparent 9deg 18deg);
  z-index: -1;
}

.status-hero.s-accepted {
  background: var(--red);
  color: #fff;
}

.status-hero.s-delivering,
.status-hero.s-ready {
  background: var(--green);
  color: #fff;
}

.status-hero.s-done {
  background: var(--card);
}

.status-hero.s-cancelled {
  background: #d9cfc4;
}

.status-hero .mascot {
  position: absolute;
  right: -14px;
  bottom: -46px;
  width: 42%;
  max-width: 170px;
}

.status-hero small {
  font: 800 11px var(--display);
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.status-hero h2 {
  max-width: 62%;
  margin: 8px 0 6px;
  font: 900 26px/1.02 var(--display);
  letter-spacing: -0.02em;
}

.status-hero p {
  max-width: 60%;
  margin: 0;
  font-weight: 700;
  font-size: 13.5px;
}

.status-hero .big-eta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  font: 900 22px var(--display);
}

.status-hero .big-eta small {
  font: 700 12px var(--body);
  letter-spacing: 0;
  opacity: 0.9;
}

.waiting {
  display: inline-flex;
  gap: 4px;
  margin-top: 12px;
}

.waiting i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  animation: blink 1.2s infinite both;
}

.waiting i:nth-child(2) {
  animation-delay: 0.2s;
}

.waiting i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.tracker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 4px;
  position: relative;
}

.tracker .st {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: center;
  position: relative;
}

.tracker .st::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--line-2);
  z-index: 0;
}

.tracker .st:first-child::before {
  display: none;
}

.tracker .st i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--line-2);
}

.tracker .st.done {
  color: var(--ink);
}

.tracker .st.done::before {
  background: var(--ink);
}

.tracker .st.done i {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.tracker .st.now i {
  background: var(--gold);
  border-color: var(--ink);
  animation: pulse-ink 1.6s infinite;
}

.tracker .st i svg {
  width: 14px;
  height: 14px;
}

@keyframes pulse-ink {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 29, 22, 0.35);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(42, 29, 22, 0);
  }
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-box img {
  width: 100%;
  max-width: 280px;
  border-radius: 14px;
  background: #fff;
  cursor: zoom-in;
}

.qr-box .note {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.kv {
  width: 100%;
  margin-top: 12px;
}

.kv > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1.5px dashed var(--line);
  font-size: 13.5px;
}

.kv span {
  color: var(--ink-2);
  font-weight: 600;
}

.kv b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: right;
  font-weight: 800;
}

.kv button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--paper-2);
}

.kv button svg {
  width: 15px;
  height: 15px;
}

.pay-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.pay-state.paid {
  background: #e2f4e9;
  color: var(--green);
}

.pay-state.claimed {
  background: #fff1c4;
  color: #8a5a00;
}

.pay-state.wait {
  background: var(--paper-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13px;
}

.pay-state svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.stars button {
  width: 46px;
  height: 46px;
  color: var(--line-2);
  transition: transform 0.15s, color 0.15s;
}

.stars button.on {
  color: var(--gold-d);
}

.stars button:active {
  transform: scale(0.85);
}

.stars svg {
  width: 100%;
  height: 100%;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-align: left;
}

.order-row + .order-row {
  margin-top: 10px;
}

.order-row .body {
  flex: 1;
  min-width: 0;
}

.order-row b {
  font: 800 15px var(--display);
}

.order-row small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  background: var(--paper-2);
}

.pill.new {
  background: var(--gold);
}

.pill.accepted {
  background: var(--red);
  color: #fff;
}

.pill.delivering,
.pill.ready {
  background: var(--green);
  color: #fff;
}

.pill.cancelled {
  background: #e5dcd2;
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- тост и шторка ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + 20px + var(--safe-b));
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 14px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(42, 29, 22, 0.72);
  animation: fade 0.2s both;
}

.sheet-bg img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  background: #fff;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.muted {
  color: var(--ink-2);
}

.center {
  text-align: center;
}

.loader {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.loader .logo {
  animation: wobble 1s ease-in-out infinite alternate;
}

@keyframes wobble {
  to {
    transform: rotate(3deg) skewX(-6deg) scale(1.06);
  }
}

@media (max-width: 360px) {
  .hero h2 {
    font-size: 28px;
  }
  .opt .nm {
    font-size: 11.5px;
  }
  .spice button {
    font-size: 9.5px;
  }
}

/* ---------- шторка ---------- */
.sheet-back {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(42, 29, 22, 0.55);
  animation: fade 0.2s both;
}

.sheet {
  width: 100%;
  max-width: 520px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-bottom: 0;
  animation: sheetUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}

.sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

.sheet header h3 {
  margin: 0;
  font: 800 20px var(--display);
}

.sheet header .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.sheet-body {
  overflow-y: auto;
  padding: 0 16px calc(18px + var(--safe-b));
}

.sheet-drinks {
  box-shadow: none;
}

/* ---------- подсказки адреса ---------- */
.sug {
  margin-top: 6px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--ink);
}

.sug button {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  border-top: 1.5px dashed var(--line);
}

.sug button:first-child {
  border-top: 0;
}

.sug button:active {
  background: var(--paper-2);
}

.sug button svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  color: var(--red);
}

.sug-note {
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.geo-btn {
  min-height: 46px;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- контакты ---------- */
.from-tg {
  font-style: normal;
  color: var(--green);
  font-weight: 800;
}

.side-btn[aria-pressed='false'] {
  background: var(--card);
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--gold);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-align: left;
}

.share-btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.share-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.share-btn b {
  display: block;
  font: 800 15px var(--display);
}

.share-btn small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- оплата ---------- */
.pay-opts.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.pay-opts.three .pay-opt {
  padding: 10px;
}

.pay-opts.three .pay-opt b {
  font-size: 12.5px;
}

.rub {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: 900 16px var(--display);
}

.change-hint {
  margin: 10px 0 0 !important;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
}

/* ---------- промокоды ---------- */
.promo-note {
  background: var(--gold);
  color: var(--ink);
}

.promo-on {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #e2f4e9;
  border: 2px dashed var(--green);
  font-weight: 700;
}

.promo-on small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.promo-on .warn-t {
  color: var(--red-d);
}

.promo-chip {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 46px;
  padding: 4px 12px;
  line-height: 1.2;
  border-style: dashed;
}

.promo-chip small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.promo-list {
  display: grid;
  gap: 8px;
}

.promo-card {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--card);
  border: 2px dashed var(--ink);
  text-align: left;
}

.promo-card b {
  font: 900 17px var(--display);
  letter-spacing: 0.04em;
}

.promo-card span {
  font-weight: 800;
  color: var(--red);
}

.promo-card small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.sum-row.disc {
  color: var(--green);
}

.tags + .tags {
  margin-top: 5px;
}

.tag.hot {
  gap: 4px;
}

/* ---------- хиты меню с фото ---------- */
.hits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hit-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  border-radius: 22px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.hit-card:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.hit-card.off {
  opacity: 0.5;
  cursor: default;
}

.hit-img {
  position: relative;
  margin: -2px -2px 6px;
}

.hit-img img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 520;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hit-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: 800 10px var(--display);
  letter-spacing: 0.04em;
  transform: rotate(-4deg);
}

.hit-card b {
  font: 800 14px/1.15 var(--display);
  letter-spacing: -0.01em;
}

.hit-card small {
  display: block;
  margin: 4px 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}

.hit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.hit-row .p {
  font: 900 16px var(--display);
  color: var(--red);
}

.hit-row .add-btn {
  width: 36px;
  height: 36px;
}

.opt.dish img {
  aspect-ratio: 640 / 520;
  object-fit: contain;
}

/* ---------- повтор заказа ---------- */
.repeat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
}

.repeat-card img {
  width: 58px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex: none;
}

.repeat-card > div {
  flex: 1;
  min-width: 0;
}

.repeat-card b {
  display: block;
  font: 800 14px var(--display);
}

.repeat-card small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.repeat-card .btn {
  min-height: 44px;
  width: 48px;
  padding: 0;
  flex: none;
}

.repeat-top {
  margin-top: 14px;
  min-height: 48px;
}

.order-row {
  cursor: pointer;
}

.mini-repeat {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 4px;
  border-radius: 12px;
  background: var(--gold);
  border: 2px solid var(--ink);
  flex: none;
}

.mini-repeat svg {
  width: 18px;
  height: 18px;
}

/* ---------- лояльность и друзья ---------- */
.loyal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--card);
  border: 2px dashed var(--ink);
}

.loyal b {
  display: block;
  font: 800 13px/1.2 var(--display);
}

.loyal small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.stamps {
  display: flex;
  gap: 4px;
  flex: none;
}

.stamps i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.stamps i.on {
  background: var(--green);
  border-color: var(--green);
}

.stamps i.gift {
  border-color: var(--red);
  background: #ffe1dc;
  font-size: 12px;
}

.ref-card {
  display: grid;
  gap: 6px;
  margin: 14px 0 4px;
  padding: 14px;
  border-radius: 18px;
  background: var(--gold);
  border: 2px solid var(--ink);
}

.ref-card b {
  font: 800 16px var(--display);
}

.ref-card small {
  font-size: 12.5px;
  font-weight: 600;
}

.ref-card .btn {
  margin-top: 6px;
  min-height: 44px;
  font-size: 13px;
}

/* ---------- самовывоз, подарки, СБП «скоро» ---------- */
.chips.eat {
  margin-top: 12px;
}

.pay-opt.soon {
  position: relative;
  opacity: 0.6;
  cursor: not-allowed;
  border-style: dashed;
}

.soon-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--gold);
  font: 800 10px var(--display);
  text-transform: uppercase;
}

.sum-row.gift {
  color: var(--red-d);
}

.gift-thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  font-size: 26px;
  flex: none;
}

[hidden] {
  display: none !important;
}
