/* Navbat — mijoz sahifasi.
   Ranglar: shisha-yashil (asosiy), latun (tanlov va narx), sovuq oq qog'oz fon.
   Telegram ichida ochilganda Telegram mavzusi ranglari ustun keladi (app.js). */
:root {
  --paper: #F4F5F1;
  --card: #FFFFFF;
  --ink: #141C18;
  --muted: #69736D;
  --line: #E0E4DF;
  --bottle: #1F4D3A;
  --bottle-ink: #FFFFFF;
  --bottle-soft: #E5EEE8;
  --band: #1F4D3A;
  --brass: #B98A3E;
  --brass-soft: #F7EEDC;
  --danger: #B3402E;
  --danger-soft: #F8E6E1;
  --shadow: 0 1px 2px rgba(20, 28, 24, .05), 0 6px 20px rgba(20, 28, 24, .06);
  --shadow-lift: 0 2px 4px rgba(20, 28, 24, .06), 0 14px 34px rgba(20, 28, 24, .12);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1411; --card: #18201C; --ink: #EAEFEB; --muted: #96A29B; --line: #29332E;
    --bottle: #3F8F6C; --bottle-soft: #1C2C25; --brass: #D6A85E; --brass-soft: #2D2618; --band: #163628;
    --danger: #E07A66; --danger-soft: #3A221D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  --paper: #0F1411; --card: #18201C; --ink: #EAEFEB; --muted: #96A29B; --line: #29332E;
  --bottle: #3F8F6C; --bottle-soft: #1C2C25; --brass: #D6A85E; --brass-soft: #2D2618; --band: #163628;
  --danger: #E07A66; --danger-soft: #3A221D;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); }
body { font-size: 16px; line-height: 1.45; }
body.no-scroll { overflow: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--bottle); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.shell { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--paper); padding-bottom: 40px; }
body.has-bar .shell { padding-bottom: 130px; }

/* ---------- ikonkalar ---------- */
.ic { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; }
.ic.sm { width: 16px; height: 16px; }
.ic.xs { width: 13px; height: 13px; }
.ic.lg { width: 40px; height: 40px; color: var(--muted); }

/* ---------- yuklanish (skeleton) ---------- */
.loading { padding: 80px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.loading b { color: var(--ink); font-size: 18px; }
.sk, .boot-sk div {
  background: linear-gradient(90deg, var(--line) 0%, var(--card) 50%, var(--line) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.3s linear infinite; border-color: transparent !important; color: transparent !important;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.boot-sk { padding: 0 0 20px; }
.boot-sk .b-cover { height: 156px; border-radius: 0; }
.boot-sk .b-logo { width: 76px; height: 76px; border-radius: 22px; margin: -40px 18px 14px; border: 4px solid var(--paper) !important; }
.boot-sk .b-line { height: 26px; width: 55%; margin: 0 18px 10px; border-radius: 8px; }
.boot-sk .b-line.s { height: 16px; width: 75%; }
.boot-sk .b-card { height: 84px; margin: 14px 16px 0; border-radius: var(--radius-m); }

/* ---------- bosh qism ---------- */
.hero { position: relative; }
.cover {
  height: 156px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(185, 138, 62, .35), transparent 60%),
    repeating-linear-gradient(-55deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 30px, transparent 30px 52px, rgba(185, 138, 62, .22) 52px 56px),
    var(--band);
}
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; animation: coverIn 1.2s var(--ease) both; }
@keyframes coverIn { from { transform: scale(1.08); opacity: 0; } }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .35)); pointer-events: none; }
.hero-body { padding: 0 18px 4px; margin-top: -40px; position: relative; }
.logo {
  width: 76px; height: 76px; border-radius: 22px; border: 4px solid var(--paper);
  background: var(--card); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lift);
  font-weight: 800; font-size: 30px; color: var(--bottle); animation: pop .6s var(--spring) .1s both;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo .ic { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.biz-name { font-size: 27px; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; margin: 12px 0 5px; animation: rise .5s var(--ease) .15s both; }
.biz-meta { color: var(--muted); font-size: 15px; margin: 0; display: flex; gap: 6px; align-items: flex-start; animation: rise .5s var(--ease) .2s both; }
.biz-meta .ic { margin-top: 2px; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

.status { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--bottle-soft); color: var(--bottle); animation: rise .5s var(--ease) .25s both; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.status.on i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: .35; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
.status.off { background: var(--danger-soft); color: var(--danger); }
.status.mini { margin: 0; padding: 3px 10px 3px 8px; font-size: 13px; animation: none; }

.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-top: 14px; animation: rise .5s var(--ease) .3s both; }
.qa {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: var(--radius-m);
  background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600;
  transition: transform .15s var(--ease), box-shadow .2s;
}
.qa .ic { color: var(--bottle); width: 22px; height: 22px; }
.qa:active { transform: scale(.95); }
@media (hover: hover) { .qa:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); } }

/* ---------- tablar ---------- */
.tabs { position: sticky; top: 0; z-index: 6; padding: 8px 12px 0; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); margin-top: 14px; }
.tabs-track { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs-track::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 10px 14px 13px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: var(--brass); transition: transform .35s var(--ease), width .35s var(--ease); }
.panel { padding: 18px 16px; }
.panel.enter { animation: panelIn .38s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- qadamlar ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; justify-content: space-between; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 3px; border-radius: 3px; background: var(--line); }
.steps::after { background: var(--bottle); right: auto; width: calc((100% - 32px) * var(--p)); transition: width .45s var(--ease); }
.steps li { position: relative; z-index: 1; }
.steps li:nth-child(2) { text-align: center; }
.steps li:last-child { text-align: right; }
.steps button { border: 0; background: none; padding: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.steps li:first-child button { align-items: flex-start; }
.steps li:last-child button { align-items: flex-end; }
.steps button:disabled { cursor: default; }
.steps .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--card); color: var(--muted); border: 2px solid var(--line); transition: all .3s var(--ease); }
.steps .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.steps li.done .dot { background: var(--bottle); border-color: var(--bottle); color: var(--bottle-ink); }
.steps li.now .dot { border-color: var(--bottle); color: var(--bottle); box-shadow: 0 0 0 5px var(--bottle-soft); transform: scale(1.06); }
.steps li.now .lbl { color: var(--ink); }
.steps li.done button:hover .dot { transform: scale(1.08); }

.step-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em; }
.step-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.back { border: 0; background: none; padding: 4px 8px 4px 0; color: var(--muted); font-weight: 600; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 4px; }
.back:hover { color: var(--ink); }
.link { border: 0; background: none; padding: 0; color: var(--bottle); font-weight: 600; font-size: 14px; }

/* ---------- ishlarimiz lentasi ---------- */
.works { margin: 0 -16px 22px; }
.works-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 16px; margin-bottom: 10px; }
.works-head h3 { margin: 0; font-size: 17px; }
.works-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.works-row::-webkit-scrollbar { display: none; }
.work { flex: none; width: 116px; height: 148px; padding: 0; border: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--bottle-soft); scroll-snap-align: start; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.work:active { transform: scale(.96); }
.work img, .shot img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .6s var(--ease); }
.work img.ready, .shot img.ready { opacity: 1; transform: none; }

/* ---------- xizmatlar ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 15px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: all .2s var(--ease); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cat-title { font-size: 13px; font-weight: 700; margin: 20px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc {
  display: flex; gap: 12px; align-items: center; text-align: left; width: 100%;
  padding: 16px; border: 1.5px solid transparent; border-radius: var(--radius-m); background: var(--card); box-shadow: var(--shadow);
  transition: transform .15s var(--ease), border-color .2s, background-color .2s, box-shadow .2s;
}
.svc.tap:active { transform: scale(.98); }
@media (hover: hover) { .svc.tap:hover { box-shadow: var(--shadow-lift); } }
.svc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.svc-name { font-weight: 700; font-size: 16px; }
.svc-desc { color: var(--muted); font-size: 14px; }
.svc-meta { display: flex; gap: 6px; margin-top: 5px; }
.chip-sm { display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--paper); padding: 3px 8px; border-radius: 999px; }
.svc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.svc-price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bottle-soft); color: var(--bottle); transition: transform .2s var(--ease); }
.svc.tap:hover .go { transform: translateX(3px); }
.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: all .25s var(--spring); }
.check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--spring); }
.svc.on { border-color: var(--brass); background: var(--brass-soft); }
.svc.on .check { background: var(--brass); border-color: var(--brass); transform: scale(1.08); }
.svc.on .check::after { transform: rotate(45deg) scale(1); }
.svc.on .svc-price { color: var(--brass); }

/* ---------- sana va vaqt ---------- */
.month { font-weight: 700; margin: 0 0 10px; text-transform: capitalize; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 60px; padding: 10px 0 8px; border-radius: var(--radius-m); border: 1.5px solid var(--line);
  background: var(--card); display: flex; flex-direction: column; align-items: center; gap: 2px; scroll-snap-align: start;
  transition: transform .15s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.day small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.day.near small { color: var(--brass); }
.day b { font-size: 20px; line-height: 1.1; }
.day i { width: 5px; height: 5px; border-radius: 50%; background: var(--bottle); opacity: .6; }
.day:active:not(:disabled) { transform: scale(.94); }
.day[aria-pressed="true"] { background: var(--bottle); border-color: var(--bottle); color: var(--bottle-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--bottle) 35%, transparent); }
.day[aria-pressed="true"] small { color: inherit; opacity: .85; }
.day[aria-pressed="true"] i { background: var(--bottle-ink); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.day:disabled i { visibility: hidden; }
.day:disabled b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.day.sk { height: 72px; }

.slot-group { margin-top: 20px; }
.slot-group h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.slot-group .count { margin-left: auto; font-size: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot {
  padding: 12px 0; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--card);
  font-weight: 700; font-variant-numeric: tabular-nums; transition: transform .15s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.slot:active { transform: scale(.94); }
@media (hover: hover) { .slot:hover:not([aria-pressed="true"]) { border-color: var(--brass); } }
.slot[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #fff; transform: scale(1.04); box-shadow: 0 8px 18px color-mix(in srgb, var(--brass) 40%, transparent); }
.slot.sk { height: 46px; }
.stagger .slot { animation: slotIn .35s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes slotIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }

.empty { padding: 30px 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius-m); }
.empty.big { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; }
.empty.big b { color: var(--ink); font-size: 17px; }

/* ---------- ma'lumot kiritish ---------- */
.summary { border-radius: var(--radius-m); background: var(--card); box-shadow: var(--shadow); padding: 6px 16px; margin-bottom: 20px; }
.sum-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-row > .ic { color: var(--bottle); }
.sum-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sum-row span { color: var(--muted); font-size: 14px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 10px; }
.sum-total span { color: var(--muted); }
.sum-total b { font-size: 20px; color: var(--brass); }
.summary > :last-child { border-bottom: 0; }

.ff { position: relative; margin-bottom: 14px; }
.ff-in {
  width: 100%; padding: 24px 40px 10px 46px; border-radius: var(--radius-m); border: 1.5px solid var(--line); background: var(--card);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.ff.has-prefix .ff-in { padding-left: 72px; }
.ff label { position: absolute; left: 46px; top: 17px; color: var(--muted); pointer-events: none; transition: all .18s var(--ease); font-size: 16px; }
.ff.has-prefix label { left: 72px; }
.ff-in:focus + label, .ff-in:not(:placeholder-shown) + label { top: 8px; font-size: 12px; font-weight: 600; }
.ff.has-prefix .ff-in:not(:focus):placeholder-shown + label { left: 72px; }
.ff-in:focus { outline: none; border-color: var(--bottle); box-shadow: 0 0 0 4px var(--bottle-soft); }
.ff-ic { position: absolute; left: 16px; top: 18px; color: var(--muted); }
.ff-prefix { position: absolute; left: 16px; top: 24px; font-weight: 700; color: var(--ink); font-size: 16px; }
.ff-ok { position: absolute; right: 14px; top: 17px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bottle); color: var(--bottle-ink); font-size: 12px; font-weight: 800; transform: scale(0); transition: transform .25s var(--spring); }
.ff.ok .ff-ok { transform: scale(1); }
.ff.bad .ff-in { border-color: var(--danger); }
.ff.bad .ff-in:focus { box-shadow: 0 0 0 4px var(--danger-soft); }
.ff-err { color: var(--danger); font-size: 14px; margin: 6px 4px 0; }
.ff.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.note { font-size: 13.5px; color: var(--muted); }
.note.center { text-align: center; margin: -4px 0 4px; }

/* ---------- pastki panel ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.bar.enter { animation: barIn .4s var(--spring) both; }
@keyframes barIn { from { transform: translateY(110%); } }
.bar-inner {
  max-width: 536px; margin: 0 auto; display: flex; align-items: center; gap: 12px; pointer-events: auto;
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius-l); padding: 10px 10px 10px 16px; box-shadow: var(--shadow-lift);
}
.badge { position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--brass); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 2px solid var(--card); }
.badge.pop { animation: badgePop .4s var(--spring); }
@keyframes badgePop { 40% { transform: scale(1.35); } }
.bar-info { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-info b { display: block; color: var(--ink); font-size: 16px; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.bar .btn { flex: none; padding: 14px 18px; position: relative; }
.bar-info .hint { font-size: 15px; }

/* ---------- tugmalar ---------- */
.btn {
  border: 0; border-radius: var(--radius-m); padding: 14px 20px; font-weight: 700; font-size: 16px;
  background: var(--bottle); color: var(--bottle-ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; transition: transform .15s var(--ease), opacity .2s, box-shadow .2s, background-color .2s;
}
.btn:not(:disabled):active { transform: scale(.96); }
@media (hover: hover) { .btn:not(:disabled):hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--bottle) 30%, transparent); } }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn .ic.sm { transition: transform .2s var(--ease); }
.btn:not(:disabled):hover .ic.sm { transform: translateX(2px); }
.btn.busy { opacity: .75; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { box-shadow: var(--shadow); }
.btn.danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger-soft); }
.btn.tg { background: #2AABEE; color: #fff; }
.btn.block { width: 100%; display: flex; }
.btn.cta { margin-top: 18px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1 1 120px; padding: 12px 14px; font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- tasdiq ---------- */
.panel.done { position: relative; overflow: hidden; }
.done-head { text-align: center; padding: 10px 0 20px; }
.done-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--bottle); margin: 0 auto 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--bottle) 40%, transparent); }
.done-mark span, .done-mark svg { width: 46px; height: 46px; display: block; }
.done-mark path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.done-mark.draw { animation: pop .5s var(--spring) both; }
.done-mark.draw path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-mark.pending { background: var(--brass); }
.done-mark.cancelled, .done-mark.no_show { background: var(--muted); box-shadow: none; }
.done-mark .ic { width: 34px; height: 34px; }

.ticket { background: var(--card); border-radius: var(--radius-l); box-shadow: var(--shadow-lift); margin-bottom: 20px; position: relative; animation: rise .5s var(--ease) .2s both; }
.ticket.dim { opacity: .75; }
.ticket-top { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px 16px; }
.ticket-top b { font-size: 18px; display: block; }
.t-time { text-align: right; }
.t-time b { font-size: 28px; color: var(--bottle); letter-spacing: -0.02em; }
.t-lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ticket-cut { height: 0; border-top: 2px dashed var(--line); margin: 0 18px; position: relative; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.ticket-cut::before { left: -30px; }
.ticket-cut::after { right: -30px; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; padding: 16px 20px 20px; font-size: 15px; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font-weight: 600; }
.ticket .total { color: var(--brass); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--bottle-soft); color: var(--bottle); }
.pill.pending { background: var(--brass-soft); color: var(--brass); }
.pill.cancelled, .pill.no_show { background: var(--danger-soft); color: var(--danger); }

.confetti { position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; z-index: 2; }
.confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 13px; border-radius: 2px; background: var(--c); transform: scale(var(--s)); animation: fall 1.9s var(--ease) var(--d) both; }
.confetti i:nth-child(3n) { border-radius: 50%; width: 9px; height: 9px; }
@keyframes fall { from { transform: translateY(0) rotate(0) scale(var(--s)); opacity: 1; } to { transform: translateY(560px) rotate(var(--r)) scale(var(--s)); opacity: 0; } }

/* ---------- galereya ---------- */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 480px) { .masonry { columns: 3; } }
.shot { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--bottle-soft); position: relative; break-inside: avoid; box-shadow: var(--shadow); min-height: 120px; transition: transform .2s var(--ease); }
.shot img { height: auto; }
.shot:active { transform: scale(.97); }
.shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 8px; font-size: 13px; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }

.lightbox {
  --fade: 1;
  position: fixed; inset: 0; z-index: 30; background: rgba(6, 10, 8, calc(.94 * var(--fade)));
  display: flex; align-items: center; justify-content: center; padding: 60px 12px calc(40px + env(safe-area-inset-bottom));
  animation: fadeIn .25s ease both;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; touch-action: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: var(--radius-s); transition: transform .3s var(--ease); animation: zoomIn .3s var(--ease) both; }
@keyframes zoomIn { from { transform: scale(.92); opacity: 0; } }
.lightbox figcaption { color: #EAEFEB; font-size: 15px; text-align: center; display: flex; gap: 12px; align-items: baseline; }
.lb-count { color: #96A29B; font-size: 13px; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 12px; right: 12px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 8px; }
.lb-nav.next { right: 8px; }
@media (hover: none) { .lb-nav { display: none; } }
.lb-dots { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.lb-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: width .25s var(--ease), background-color .25s; }
.lb-dots i.on { width: 18px; background: #fff; }

/* ---------- ma'lumot ---------- */
.about { white-space: pre-line; margin: 0 0 16px; font-size: 15.5px; }
.card { background: var(--card); border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
h2.sec { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; }
h2.sec .ic { color: var(--bottle); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: var(--radius-s); font-size: 15px; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }
.hours li.off span:last-child { color: var(--muted); }
.hours li.today { background: var(--bottle-soft); font-weight: 700; }
.hours em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bottle); margin-left: 8px; }
.addr { margin: 0 0 12px; }
.map { margin: 0 0 12px; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bottle-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 4px 2px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-row > .ic:first-child { color: var(--bottle); }
.contact-row span { flex: 1; }

.toast {
  position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: opacity .2s, transform .3s var(--spring); pointer-events: none; max-width: calc(100% - 32px); z-index: 40; box-shadow: var(--shadow-lift);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); color: #fff; }
