/* Event sales app. Tokens and pixel corners follow design/tokens.css of the storefront. */
@font-face { font-family: 'Inter Tight'; src: url('/fonts/kh-inter-tight-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0400-04FF, U+2116, U+20B4; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/kh-inter-tight-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-03FF, U+2000-20B3, U+20B5-2115, U+2117-2BFF; }

:root {
  --ink: #111111; --bone: #F4F4F2; --steel: #8C8C8E; --concrete: #C5C5C5; --mint: #DFF5DF; --sand: #DDB38D; --white: #FFFFFF;
  --text-2: #444444; --text-3: #6A6A6A; --line: #E3E3E3;
  --font-text: 'Inter Tight', system-ui, sans-serif;
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --pxb: polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px));
  --pxt: polygon(0 4px,2px 4px,2px 2px,4px 2px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 2px,calc(100% - 2px) 2px,calc(100% - 2px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 2px) calc(100% - 4px),calc(100% - 2px) calc(100% - 2px),calc(100% - 4px) calc(100% - 2px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 2px),2px calc(100% - 2px),2px calc(100% - 4px),0 calc(100% - 4px));
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: var(--white); color: var(--ink); font: 16px/24px var(--font-text); }
body { overscroll-behavior: none; }
#app { height: 100dvh; max-width: 560px; margin: 0 auto; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.icon { display: block; shape-rendering: crispEdges; fill: currentColor; flex: none; }

.screen { height: 100%; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.bar { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 16px; flex: none; }
.bar h1 { font-size: 22px; line-height: 26px; font-weight: 600; flex: 1; }
.bar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar-title h1 { flex: none; }
.bar-event { font: 500 12px/16px var(--font-text); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: none; border: 0; padding: 0; text-align: left; align-self: flex-start; max-width: 100%; }
button.bar-event { cursor: pointer; }
.bar-event-change { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px; }
.foot { flex: none; padding: 12px 16px 16px; display: grid; gap: 8px; border-top: 1px solid var(--line); background: var(--white); }
.kicker { font: 500 14px/18px var(--font-text); color: var(--text-3); }
.quiet { color: var(--text-3); }
.num { font-weight: 600; font-variant-numeric: tabular-nums; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-left: -12px; }
.icon-btn:last-child { margin: 0 -12px 0 0; }
.btn { min-height: 56px; width: 100%; padding: 0 16px; clip-path: var(--pxb); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity 120ms; }
.btn:disabled { background: var(--concrete); color: var(--text-3); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink.btn-busy:disabled { background: var(--ink); color: var(--white); }
.btn-busy i { width: 8px; height: 8px; background: currentColor; animation: blink 1.2s steps(2) infinite; }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn .num { font-weight: 400; }
.lnk { text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 4px; font-size: 15px; }

/* Login */
.login { justify-content: center; padding: 16px; gap: 20px; }
.login h1 { font-size: 36px; line-height: 40px; font-weight: 600; }
.field { width: 100%; height: 56px; padding: 0 16px; background: var(--bone); clip-path: var(--pxb); outline: none; }
.field-pin { font: 600 24px/56px var(--font-text); letter-spacing: 8px; text-align: center; }
.error { background: var(--sand); clip-path: var(--pxb); padding: 12px 16px; font-size: 15px; line-height: 20px; }

/* Scanner */
.scan { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-bar { position: relative; color: var(--white); background: linear-gradient(rgb(17 17 17 / .7), transparent); }
.scan-frame { position: relative; flex: 1; display: grid; place-items: center; padding: 16px; text-align: center; }
.scan-window { width: min(84%, 340px); aspect-ratio: 2 / 1; position: relative; }
.scan-window::before, .scan-window::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.scan-window::before { background:
  linear-gradient(var(--white) 0 0) 0 0 / 28px 3px no-repeat, linear-gradient(var(--white) 0 0) 0 0 / 3px 28px no-repeat,
  linear-gradient(var(--white) 0 0) 100% 0 / 28px 3px no-repeat, linear-gradient(var(--white) 0 0) 100% 0 / 3px 28px no-repeat,
  linear-gradient(var(--white) 0 0) 0 100% / 28px 3px no-repeat, linear-gradient(var(--white) 0 0) 0 100% / 3px 28px no-repeat,
  linear-gradient(var(--white) 0 0) 100% 100% / 28px 3px no-repeat, linear-gradient(var(--white) 0 0) 100% 100% / 3px 28px no-repeat; }
.scan-hint { position: absolute; left: 0; right: 0; top: calc(100% + 16px); font-size: 15px; line-height: 20px; }
.scan-off { max-width: 300px; display: grid; gap: 12px; }
.scan-foot { position: relative; padding: 12px 16px 16px; display: grid; gap: 8px; background: linear-gradient(transparent, rgb(17 17 17 / .7) 24px); }

/* Sheet */
.sheet { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; background: rgb(17 17 17 / .55); animation: fade 200ms; }
.sheet-body { width: 100%; max-width: 560px; margin: 0 auto; background: var(--white); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 16px; animation: rise 360ms var(--ease-drawer); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(100%); } }
.product { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: start; }
.photo { width: 88px; height: 88px; background: var(--bone); object-fit: cover; display: block; }
.photo-s { width: 56px; height: 56px; }
.product h2 { font-size: 20px; line-height: 24px; font-weight: 600; }
.price { font: 700 22px/28px var(--font-text); font-variant-numeric: tabular-nums; margin-top: 4px; }
.stock { display: inline-block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.stock.is-out { background: var(--sand); color: var(--ink); clip-path: var(--pxt); padding: 0 8px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.stepper { display: flex; align-items: center; }
.stepper button { width: 56px; height: 56px; background: var(--bone); clip-path: var(--pxb); display: grid; place-items: center; }
.stepper output { width: 56px; text-align: center; font: 700 22px/56px var(--font-text); font-variant-numeric: tabular-nums; }
.stepper-s button { width: 44px; height: 44px; }
.stepper-s output { width: 36px; font-size: 18px; line-height: 44px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Lists */
.line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.period { border-bottom: 1px solid var(--line); }
.period > summary { gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 500; }
.period > summary::-webkit-details-marker { display: none; }
.group-title { position: sticky; top: 0; z-index: 1; padding: 16px 0 8px; background: var(--white); font-size: 15px; line-height: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.line-title { font-weight: 500; line-height: 20px; }
.line-sub { font-size: 14px; line-height: 20px; color: var(--text-3); }
.line-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.pick { width: 100%; text-align: left; }
.empty { padding: 48px 16px; text-align: center; color: var(--text-3); display: grid; gap: 8px; justify-items: center; }
.total { display: flex; align-items: baseline; justify-content: space-between; }
.total b { font: 700 30px/36px var(--font-text); font-variant-numeric: tabular-nums; }

/* Payment */
.pay { align-items: stretch; }
.pay-main { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 16px; text-align: center; }
.qr { width: min(100%, calc(100dvh - 330px), 420px); min-width: 180px; aspect-ratio: 1; }
.qr svg { display: block; width: 100%; height: 100%; }
.pay-sum { font: 700 44px/48px var(--font-text); font-variant-numeric: tabular-nums; }
.waiting { display: flex; align-items: center; gap: 8px; color: var(--text-3); }
.waiting i { width: 8px; height: 8px; background: var(--ink); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.paid { background: var(--mint); }
.paid .foot { background: transparent; border-color: rgb(17 17 17 / .12); }
.paid .line { border-color: rgb(17 17 17 / .12); }
.paid-head { padding: 32px 16px 16px; display: grid; gap: 8px; justify-items: start; }
.paid-head h1 { font-size: 36px; line-height: 40px; font-weight: 600; }
.notice { background: var(--sand); }
.notice .foot { background: transparent; border-color: rgb(17 17 17 / .12); }

.thanks { min-height: 100dvh; padding: 32px 16px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: var(--mint); }
.thanks h1 { font-size: 36px; line-height: 40px; }

.toast { position: fixed; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 20; max-width: 528px; margin: 0 auto; padding: 12px 16px; background: var(--ink); color: var(--white); clip-path: var(--pxb); font-size: 15px; line-height: 20px; }

.toast-success[hidden] { display: none; }
.toast-success { top: calc(12px + env(safe-area-inset-top)); bottom: auto; display: flex; align-items: center; gap: 8px; background: var(--mint); color: var(--ink); }

/* Public menu */
.is-menu #menu { height: 100dvh; max-width: 560px; margin: 0 auto; }
.menu-head { padding: 12px 0 20px; display: grid; gap: 8px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.official { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; font: 500 14px/18px var(--font-text); text-decoration: underline; text-underline-offset: 3px; }
.trust { list-style: none; padding: 0; display: grid; gap: 12px; }
.trust-link { display: inline-block; min-height: 0; padding: 0; color: inherit; }
.menu-head h1 { font-size: 36px; line-height: 40px; font-weight: 600; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; padding-bottom: 24px; }
@media (min-width: 600px) {
  .is-menu #menu { max-width: 960px; }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
}
.menu-card { padding: 0; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; min-width: 0; }
.menu-frame { position: relative; display: block; }
.menu-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bone); clip-path: var(--pxb); }
.menu-count { position: absolute; top: 8px; right: 8px; min-width: 24px; padding: 0 6px; background: var(--mint); clip-path: var(--pxt); font: 700 14px/24px var(--font-text); text-align: center; }
/* The mobile product card of the store: title and price the same size and weight, one line each, no meta line. */
.menu-name { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 13px/18px var(--font-text); }
.menu-row-price { display: block; margin-top: -2px; font: 500 13px/18px var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-row-eur { color: var(--text-3); }
.menu-price { font: 700 17px/22px var(--font-text); font-variant-numeric: tabular-nums; }
.menu-eur { font: 14px/20px var(--font-text); color: var(--text-3); white-space: nowrap; }
.menu-thumb { width: 88px; }
.sizes { display: grid; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 56px; height: 44px; padding: 0 12px; background: var(--bone); clip-path: var(--pxb); font-weight: 500; }
.chip.is-on { background: var(--mint); }
.chip:disabled { color: var(--concrete); text-decoration: line-through; }
.menu-cart { max-height: 45dvh; overflow-y: auto; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-info { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 88px; min-width: 0; }
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-sum { font: 600 15px/20px var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stepper-xs button { width: 40px; height: 40px; }
.stepper-xs button:disabled { color: var(--concrete); }
.stepper-xs output { width: 32px; font: 600 15px/40px var(--font-text); }
.order-code { font: 800 64px/68px var(--font-text); letter-spacing: .02em; }

/* Cash */
.stack { display: grid; gap: 20px; align-content: start; padding-bottom: 16px; }
.cash-sum { font: 700 56px/60px var(--font-text); font-variant-numeric: tabular-nums; }
.step { display: grid; gap: 8px; }
.step-h { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.step-h i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: var(--white); clip-path: var(--pxt); font-size: 14px; }
.step-wait { padding: 16px; background: var(--bone); clip-path: var(--pxb); color: var(--text-3); font-size: 15px; line-height: 20px; }
.change { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; background: var(--mint); clip-path: var(--pxb); }
.change b { font: 700 36px/40px var(--font-text); font-variant-numeric: tabular-nums; }
.cash-given { display: flex; align-items: center; gap: 0; padding-right: 16px; background: var(--bone); clip-path: var(--pxb); }
.cash-given .line-sub { white-space: nowrap; }
.cash-sign { padding-left: 16px; font: 700 28px/32px var(--font-text); }
.cash-field { clip-path: none; height: 64px; padding-left: 2px; font: 700 28px/32px var(--font-text); font-variant-numeric: tabular-nums; min-width: 0; }
.till { margin: 4px 0 12px; padding: 16px; background: var(--bone); clip-path: var(--pxb); display: grid; gap: 8px; }
.till-sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.till-sum b { font: 700 36px/40px var(--font-text); font-variant-numeric: tabular-nums; }
.till-sum span { font: 600 20px/24px var(--font-text); font-variant-numeric: tabular-nums; }
.acts { display: grid; gap: 1px; margin-top: 4px; background: var(--line); clip-path: var(--pxb); }
.act { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); text-align: left; min-height: 64px; }
.act > span { flex: 1; display: grid; }
.act b { font-weight: 600; line-height: 20px; }
.act > span > span { font-size: 14px; line-height: 20px; color: var(--text-3); }
.tag { display: inline-block; padding: 0 6px; clip-path: var(--pxt); background: var(--bone); font-size: 13px; line-height: 20px; color: var(--ink); vertical-align: 1px; }
.tag-cash { background: var(--mint); }
.sheet-body h2 { font-size: 22px; line-height: 26px; }

/* Pickup list */
.pickup { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pickup b { font: 800 32px/36px var(--font-text); letter-spacing: .02em; }
.pickup .btn { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

/* «Знижка для своїх» in the cart: a row above the total, the choice in a sheet */
.own { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0 16px; background: var(--bone); clip-path: var(--pxb); font-weight: 500; text-align: left; }
.own.is-on { background: var(--mint); padding-right: 8px; }
.own-off { margin-left: 8px; font-weight: 400; color: var(--text-3); font-variant-numeric: tabular-nums; }
.own-drop { min-height: 44px; }
.cart-total { align-items: flex-end; gap: 12px; padding-top: 4px; }
.cart-total-l { display: grid; gap: 2px; }
.cart-total-l span { font-weight: 500; line-height: 20px; }
.cart-total-l small { font-size: 14px; line-height: 18px; color: var(--text-3); }
.cart-total-r { display: grid; justify-items: end; }
.cart-total-r s { font-size: 14px; line-height: 18px; color: var(--steel); font-variant-numeric: tabular-nums; }
.was { margin-right: 6px; font-weight: 400; color: var(--steel); }
.sheet-title { font-size: 22px; line-height: 26px; font-weight: 600; }
.own-options { display: grid; gap: 8px; }
.own-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 16px; background: var(--bone); clip-path: var(--pxb); font-weight: 600; text-align: left; }
.own-option small { display: block; font-weight: 400; font-size: 14px; line-height: 18px; color: var(--text-3); }
.own-option.is-on { background: var(--mint); }
.tag-own { background: var(--mint); margin-left: 4px; }

/* Goods as a list or as cards two per row (the seller's choice beside the search) */
.search-row { display: flex; gap: 8px; padding: 0 16px 8px; }
.search-row[hidden] { display: none; }
.search-row .field { flex: 1; min-width: 0; }
.views { display: flex; gap: 4px; flex: none; }
.view-btn { width: 48px; height: 56px; display: grid; place-items: center; background: var(--bone); clip-path: var(--pxb); }
.view-btn.is-on { background: var(--mint); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 12px 0 16px; }
.card { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card .photo { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 6px; }
.card-title { font-weight: 500; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* «Сюрприз ₴350»: the tab beside the goods, its list and the choice of models (rows 64, photo 44) */
.seg { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 48px; margin: 0 16px 8px; padding: 2px; background: var(--bone); clip-path: var(--pxb); }
.seg[hidden] { display: none; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text-3); }
.seg button.is-on { background: var(--white); color: var(--ink); clip-path: var(--pxb); }
.seg em { font-style: normal; font-size: 12px; line-height: 18px; padding: 0 5px; background: var(--mint); clip-path: var(--pxt); color: var(--ink); font-variant-numeric: tabular-nums; }
.fx-meta { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 16px; font-size: 14px; line-height: 20px; color: var(--text-3); border-bottom: 1px solid var(--line); }
.fx-meta[hidden] { display: none; }
.fx-meta b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-meta .lnk { padding: 0; font-size: 14px; color: var(--ink); }
.fx-list { margin: 0 -16px; }
.fx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.fx-row.fx-pick { grid-template-columns: 44px minmax(0, 1fr) auto 24px; }
.fx-row.is-out { color: var(--steel); }
.fx-row.is-out .photo { opacity: .45; }
.photo-xs { width: 44px; height: 44px; }
.fx-name { min-width: 0; display: grid; gap: 2px; }
.fx-name b { font-weight: 500; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-name span { font-size: 13px; line-height: 18px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-name .fx-warn { color: var(--ink); }
.fx-warn::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; background: var(--sand); }
.fx-num { display: grid; gap: 2px; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-num b { font-weight: 600; line-height: 20px; }
.fx-num span { font-size: 13px; line-height: 18px; color: var(--text-3); }
.fx-row.is-out .fx-num span { color: var(--steel); }
.fx-box { width: 24px; height: 24px; display: grid; place-items: center; background: var(--bone); clip-path: var(--pxt); color: var(--white); }
.fx-box.is-on { background: var(--ink); }
.fx-group { position: sticky; top: 0; z-index: 1; margin: 0 -16px; padding: 12px 16px 6px; background: var(--white); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-3); border-bottom: 1px solid var(--line); }
.tag-fixed { background: var(--mint); }
.tag-gap { margin-left: 6px; }
.price-was { margin-left: 8px; font: 400 15px/20px var(--font-text); color: var(--steel); }
.btn-n { font-weight: 400; opacity: .6; font-variant-numeric: tabular-nums; }
.paid .tag-fixed { background: var(--white); }
/* The visitor's menu: where to collect a paid order, and a stand that is gone */
.stand-name { font-weight: 600; }
.gone-title { font-size: 28px; line-height: 32px; font-weight: 600; }
a.btn { text-decoration: none; }

/* Links of this event (menu, English menu, showcase): copy or open */
.links { display: grid; gap: 12px; align-content: start; padding-top: 4px; padding-bottom: 16px; }
.link-card { display: grid; gap: 12px; padding: 16px; background: var(--bone); clip-path: var(--pxb); }
.link-label { font-weight: 600; line-height: 20px; }
.link-url { font: 500 15px/20px var(--font-text); font-variant-numeric: tabular-nums; overflow-wrap: normal; padding: 10px 12px; background: var(--white); clip-path: var(--pxt); }
.links-note { padding: 0 4px; }

/* The seller's menu button and its sheet; air between the bar, the tabs and the search */
.seller-menu { flex: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: var(--bone); clip-path: var(--pxb); font-weight: 600; font-size: 15px; }
.seller-count { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 6px; background: var(--mint); clip-path: var(--pxt); font: 700 13px/20px var(--font-text); text-align: center; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.seller-menu .seller-count { margin-left: 0; }
.home .bar { min-height: 80px; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
.home .seg { margin-bottom: 16px; }
.home .search-row { padding-bottom: 16px; }
.home .bar .icon-btn { margin: 0; }
.home-head { margin: 0 -16px; } /* the head lives inside .scroll (padding 16) and keeps its own padding */
.act-icon { gap: 14px; padding-left: 0; padding-right: 0; }
.act-glyph { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--bone); clip-path: var(--pxb); }
.act > span > span, .act b, .link-card .line-sub { text-wrap: pretty; }
.link-row { display: flex; align-items: center; gap: 8px; }
.link-row .link-url { flex: 1; min-width: 0; padding: 14px 12px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.link-btn { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--white); clip-path: var(--pxb); color: var(--ink); }
.link-btn-ink { background: var(--ink); color: var(--white); }
.links > .link-card, .link-card > * { min-width: 0; }
.keep-change { margin-top: 8px; }
.change.is-kept { background: var(--bone); }
.change.is-kept b { color: var(--text-3); }
.keep-change.is-on { padding-right: 16px; }

/* Gift certificates: the cards by the last 4 characters of their code (22.11.2026) */
.serials { margin: 12px 0 16px; }
.chip-code { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.serial-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.serial-tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: var(--bone); clip-path: var(--pxt); font: 500 14px/20px var(--font-text); font-variant-numeric: tabular-nums; }
.serial-more { padding: 0 12px; }

/* Assortment pick of a partner point (pick.js, 27.11.2026) */
.pick-kicker { font: 500 13px/18px var(--font-text); color: var(--text-3); }
.pick-sent { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--mint); clip-path: var(--pxb); font-size: 14px; line-height: 20px; }
.is-pick .sheet-body { max-height: 92dvh; display: flex; flex-direction: column; overflow: hidden; }
.is-pick .sheet-body > * { flex: none; }
.is-pick .sheet-body > .sheet-scroll { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 16px; align-content: start; margin: 0 -16px; padding: 0 16px; }
.pick-gallery { position: relative; margin: 0 -16px; }
.pick-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pick-track::-webkit-scrollbar { display: none; }
.pick-shot { flex: none; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bone); scroll-snap-align: start; display: block; }
.pick-counter { position: absolute; right: 16px; bottom: 12px; padding: 0 8px; background: var(--white); clip-path: var(--pxt); font: 500 13px/24px var(--font-text); font-variant-numeric: tabular-nums; }
.pick-counter[hidden] { display: none; }
.pick-gallery.is-many .pick-track { gap: 8px; padding: 0 16px; scroll-padding: 0 16px; }
.pick-gallery.is-many .pick-shot { width: 84%; }
.pick-gallery.is-many .pick-counter { right: 24px; }.pick-sizes { display: grid; }
.pick-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line); }
.pick-size:last-child { border-bottom: 0; }
@media (min-width: 600px) {
  .pick-gallery { margin: 0; }
  /* On a wide screen the pick window floats in the middle with air above and below, not glued to the bottom. */
  .is-pick .sheet { justify-content: center; padding: 32px 16px; }
  .is-pick .sheet-body { max-height: 100%; padding-bottom: 16px; }
}
