/* Стационарный киоск самообслуживания у точки.
 * Дизайн под тач-экран 32"–43": очень крупные элементы, минимум текста,
 * жирные иконки, цвета бренда «Кейта». Адаптируется под landscape/portrait.
 */
:root {
  --kiosk-bg: #F7F8F5;
  --kiosk-surface: #FFFFFF;
  --kiosk-primary: #2D6A4F;
  --kiosk-primary-dark: #1B4332;
  --kiosk-accent: #F9A825;
  --kiosk-accent-dark: #FB6D2F;
}
body {
  background: var(--kiosk-bg);
  min-height: 100dvh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* киоск, без скролла страницы */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Тонкие, ненавязчивые скроллбары — появляются только когда контент превышает */
.k-main, .k-menu-cats, .k-cart-list, .k-menu-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(20,30,20,0.25) transparent;
}
.k-main::-webkit-scrollbar,
.k-menu-cats::-webkit-scrollbar,
.k-cart-list::-webkit-scrollbar,
.k-menu-grid::-webkit-scrollbar {
  width: 6px; height: 6px;
}
.k-main::-webkit-scrollbar-thumb,
.k-menu-cats::-webkit-scrollbar-thumb,
.k-cart-list::-webkit-scrollbar-thumb,
.k-menu-grid::-webkit-scrollbar-thumb {
  background: rgba(20,30,20,0.18); border-radius: 3px;
}
.k-main::-webkit-scrollbar-thumb:hover,
.k-menu-cats::-webkit-scrollbar-thumb:hover {
  background: rgba(20,30,20,0.35);
}
.k-main::-webkit-scrollbar-track { background: transparent; }
/* Для tab-режима скрываем скролл когда не нужен (overscroll-behavior) */
.k-main { overscroll-behavior: contain; }

/* На киоске делаем FAB-меню (из nav.js) компактнее, чтобы не отвлекало
   клиента от основного flow, но всегда видна — это демо, нужно переключаться. */
body[data-section="kiosk"] .keita-fab {
  width: 48px; height: 48px; font-size: 20px;
  bottom: 18px; right: 18px;
  background: rgba(255,255,255,0.95);
  color: #1A1D24;
  border: 1px solid rgba(20,30,20,0.1);
  box-shadow: 0 6px 16px rgba(20,30,20,0.2);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.15s;
}
body[data-section="kiosk"] .keita-fab:hover {
  opacity: 1; transform: translateY(-2px);
}
/* На idle — белая полупрозрачная плашка чтобы не сливалась с тёмным фоном */
body[data-section="kiosk"]:has(.k-idle) .keita-fab,
body[data-section="kiosk"]:has(.k-success) .keita-fab {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#kiosk { width: 100vw; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }

/* ======================= IDLE / ATTRACT LOOP ======================= */
.k-idle {
  flex: 1; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #143929 100%);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
  text-align: center;
}
.k-idle::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(249,168,37,0.15), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(82,183,136,0.15), transparent 40%);
  animation: idle-bg 12s ease-in-out infinite alternate;
}
@keyframes idle-bg {
  from { transform: translate(0, 0); }
  to { transform: translate(-2%, 2%); }
}
.k-idle-emojis {
  position: absolute; inset: 0;
  pointer-events: none;
  font-size: 80px;
  opacity: 0.18;
}
.k-idle-emoji {
  position: absolute; animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.k-idle-inner {
  position: relative; z-index: 2;
  max-width: 800px;
  padding: 40px;
}
.k-idle-logo { font-size: 120px; margin-bottom: 30px; animation: idle-pulse 2.5s ease-in-out infinite; }
@keyframes idle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.k-idle-brand { font-size: 88px; font-weight: 800; letter-spacing: -3px; margin-bottom: 8px; line-height: 1; }
.k-idle-sub { font-size: 28px; opacity: 0.85; margin-bottom: 50px; line-height: 1.3; }
.k-idle-cta {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--kiosk-accent); color: #1A1D24;
  padding: 26px 50px; border-radius: 100px;
  font-size: 32px; font-weight: 800;
  box-shadow: 0 16px 40px rgba(249,168,37,0.5);
  animation: cta-bounce 2s ease-in-out infinite;
}
@keyframes cta-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.k-idle-point {
  position: absolute; top: 30px; left: 30px;
  font-size: 18px; opacity: 0.6;
  display: flex; align-items: center; gap: 10px;
}
.k-idle-clock {
  position: absolute; top: 30px; right: 30px;
  font-size: 24px; font-weight: 700; opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* ======================= ШАГИ / PROGRESS ======================= */
.k-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: var(--kiosk-surface);
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}
.k-header-back {
  width: 60px; height: 60px; border-radius: 16px;
  background: #F2F4EF; color: #1A1D24;
  display: grid; place-items: center; font-size: 28px;
  border: none; cursor: pointer;
}
.k-header-back:active { background: #E5E7EB; }
.k-progress { display: flex; gap: 8px; align-items: center; flex: 1; padding: 0 30px; max-width: 720px; }
.k-progress-step {
  flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px;
  transition: background 0.2s;
}
.k-progress-step.done { background: var(--kiosk-primary); }
.k-progress-step.active {
  background: var(--kiosk-accent);
  animation: prog-pulse 1.6s ease-in-out infinite;
}
@keyframes prog-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.k-header-info { text-align: right; }
.k-header-step-name { font-size: 18px; font-weight: 700; color: #1A1D24; }
.k-header-step-num { font-size: 13px; color: #5B6470; }

/* ======================= ОБЩЕЕ ======================= */
.k-main { flex: 1; overflow-y: auto; padding: 24px 32px; min-height: 0; }
/* Когда контент с .k-bonus-layout — отключаем overflow и paddings потуже */
.k-main:has(.k-bonus-layout) { padding: 16px 24px; overflow: hidden; display: flex; }
.k-main:has(.k-bonus-layout) > * { width: 100%; }
.k-h1 { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.k-h2 { font-size: 18px; color: #5B6470; margin: 0 0 24px; }

/* ======================= КАТЕГОРИИ ======================= */
.k-categories {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.k-category {
  background: var(--kiosk-surface); border-radius: 24px;
  padding: 32px 22px; text-align: center; cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(20,30,20,0.06);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  min-height: 220px;
}
.k-category:active { transform: scale(0.96); }
.k-category:hover { border-color: var(--kiosk-primary); box-shadow: 0 8px 24px rgba(20,30,20,0.12); }
.k-category-emoji { font-size: 80px; line-height: 1; }
.k-category-name { font-size: 24px; font-weight: 800; color: #1A1D24; line-height: 1.1; }
.k-category-count { font-size: 14px; color: #5B6470; margin-top: -4px; }
.k-category.all { background: linear-gradient(135deg, #2D6A4F, #1B4332); color: #fff; }
.k-category.all .k-category-name, .k-category.all .k-category-count { color: #fff; }
.k-category.all .k-category-count { opacity: 0.7; }

/* ======================= МЕНЮ ======================= */
.k-menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; height: 100%; }
@media (max-width: 900px) { .k-menu-layout { grid-template-columns: 1fr; } .k-menu-cats { display: none; } }
.k-menu-cats {
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; padding-right: 8px;
}
.k-menu-cat-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 16px;
  background: var(--kiosk-surface); color: #1A1D24;
  border: 2px solid transparent; cursor: pointer;
  font-size: 16px; font-weight: 600; text-align: left;
}
.k-menu-cat-btn:hover { background: #F2F4EF; }
.k-menu-cat-btn.active { background: var(--kiosk-primary); color: #fff; border-color: var(--kiosk-primary); }
.k-menu-cat-btn-emoji { font-size: 24px; }

.k-menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; align-content: start;
}
.k-dish {
  background: var(--kiosk-surface); border-radius: 22px;
  padding: 20px; cursor: pointer; transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(20,30,20,0.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.k-dish:active { transform: scale(0.97); }
.k-dish:hover { box-shadow: 0 8px 24px rgba(20,30,20,0.12); }
.k-dish.unavailable { opacity: 0.5; pointer-events: none; }
.k-dish-img {
  height: 140px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 80px; background: #F2F4EF;
}
.k-dish-name { font-size: 18px; font-weight: 700; line-height: 1.2; color: #1A1D24; }
.k-dish-desc {
  font-size: 13px; color: #5B6470; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.k-dish-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.k-dish-price { font-size: 22px; font-weight: 800; color: #1A1D24; }
.k-dish-prep { font-size: 12px; color: #5B6470; }
.k-dish-add {
  background: var(--kiosk-primary); color: #fff;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 28px; font-weight: 700;
  border: none; cursor: pointer;
}
.k-dish-add:active { background: var(--kiosk-primary-dark); }
.k-dish-qty {
  display: inline-flex; align-items: center; gap: 12px;
  background: #D8F3DC; padding: 6px; border-radius: 100px;
}
.k-dish-qty-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--kiosk-primary); color: #fff;
  border: none; cursor: pointer; font-size: 20px; font-weight: 700;
  display: grid; place-items: center;
}
.k-dish-qty-num { font-size: 18px; font-weight: 800; color: #1A1D24; min-width: 24px; text-align: center; }
.k-stop-badge {
  position: absolute; top: 12px; right: 12px;
  background: #C1121F; color: #fff; padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}

/* ======================= НИЖНЯЯ КОРЗИНА ======================= */
.k-cartbar {
  position: sticky; bottom: 0;
  background: var(--kiosk-surface);
  border-top: 2px solid #E5E7EB;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-shrink: 0;
}
.k-cartbar-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.k-cartbar-count {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--kiosk-primary); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 800;
}
.k-cartbar-text { display: flex; flex-direction: column; min-width: 0; }
.k-cartbar-total { font-size: 26px; font-weight: 800; color: #1A1D24; line-height: 1; }
.k-cartbar-eta { font-size: 14px; color: #5B6470; margin-top: 4px; }
.k-cartbar-btn {
  background: var(--kiosk-primary); color: #fff;
  padding: 20px 36px; border-radius: 18px;
  font-size: 22px; font-weight: 800;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
}
.k-cartbar-btn:disabled { background: #E5E7EB; color: #9099A6; cursor: not-allowed; }
.k-cartbar-btn:active:not(:disabled) { background: var(--kiosk-primary-dark); }

/* ======================= КОРЗИНА ======================= */
.k-cart-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.k-cart-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--kiosk-surface); border-radius: 18px;
  padding: 18px 22px;
}
.k-cart-item-emoji {
  width: 70px; height: 70px; border-radius: 14px;
  display: grid; place-items: center; background: #F2F4EF;
  font-size: 40px; flex-shrink: 0;
}
.k-cart-item-body { flex: 1; min-width: 0; }
.k-cart-item-name { font-size: 20px; font-weight: 700; color: #1A1D24; }
.k-cart-item-price { font-size: 16px; color: #5B6470; margin-top: 2px; }
.k-cart-item-qty { display: inline-flex; align-items: center; gap: 14px; }
.k-cart-item-qty-btn {
  width: 44px; height: 44px; border-radius: 50%; background: #F2F4EF; color: #1A1D24;
  border: none; cursor: pointer; font-size: 22px; font-weight: 700;
}
.k-cart-item-qty-btn:active { background: #D8F3DC; }
.k-cart-item-qty-num { font-size: 22px; font-weight: 800; min-width: 32px; text-align: center; }
.k-cart-item-sum { font-size: 22px; font-weight: 800; min-width: 110px; text-align: right; }
.k-cart-item-del { background: none; border: none; color: #C1121F; font-size: 20px; cursor: pointer; padding: 8px; }

.k-cart-summary {
  background: var(--kiosk-surface); border-radius: 18px;
  padding: 22px 28px; margin-top: 18px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.k-cart-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 16px;
}
.k-cart-row.total { font-size: 28px; font-weight: 800; border-top: 2px solid #1A1D24; padding-top: 16px; margin-top: 8px; }
.k-cart-empty {
  text-align: center; padding: 80px 20px; color: #9099A6;
}
.k-cart-empty-emoji { font-size: 120px; margin-bottom: 20px; opacity: 0.6; }
.k-cart-empty-text { font-size: 28px; font-weight: 600; }

/* ======================= БОНУСНАЯ ПРОГРАММА ======================= */
/* 2-колоночный layout: слева текст+телефон+кнопки, справа numpad */
.k-bonus-layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 32px; max-width: 1100px; margin: 0 auto;
  height: 100%; align-items: center;
}
@media (max-width: 760px) {
  .k-bonus-layout { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}
.k-bonus-left {
  display: flex; flex-direction: column; gap: 12px;
}
.k-bonus-icon { font-size: 56px; line-height: 1; }
.k-bonus-h1 { font-size: 32px; font-weight: 800; margin: 0; line-height: 1.1; }
.k-bonus-sub { font-size: 15px; color: #5B6470; line-height: 1.4; margin: 0; }
.k-phone-input {
  font-size: 28px; font-weight: 700; text-align: center;
  width: 100%; padding: 16px; border-radius: 16px;
  border: 2px solid #E5E7EB; background: var(--kiosk-surface);
  letter-spacing: 1.5px; font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}
.k-phone-input:focus { outline: none; border-color: var(--kiosk-primary); }

/* Numpad — компактный, поместится в правую колонку */
.k-numpad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  width: 100%; max-width: 380px; margin: 0 auto;
  align-self: center;
}
.k-numpad-btn {
  background: var(--kiosk-surface); border: none; cursor: pointer;
  font-size: 26px; font-weight: 700; color: #1A1D24;
  padding: 16px 0; border-radius: 14px;
  box-shadow: 0 3px 8px rgba(20,30,20,0.06);
  aspect-ratio: 1.6 / 1;
  min-height: 56px;
}
.k-numpad-btn:active { background: #F2F4EF; transform: scale(0.97); }
.k-numpad-btn.del { background: #FFE5E5; color: #C1121F; font-size: 22px; }

.k-bonus-actions {
  display: flex; gap: 10px; margin-top: 8px;
}
.k-btn-skip {
  flex: 1; padding: 16px; border-radius: 14px;
  background: #E5E7EB; color: #1A1D24; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
}
.k-btn-primary {
  flex: 2; padding: 16px; border-radius: 14px;
  background: var(--kiosk-primary); color: #fff; font-size: 18px; font-weight: 800;
  border: none; cursor: pointer;
}
.k-btn-primary:active { background: var(--kiosk-primary-dark); }
.k-btn-primary:disabled { background: #E5E7EB; color: #9099A6; cursor: not-allowed; }
.k-bonus-found {
  background: #D8F3DC; color: #1B4332;
  padding: 12px 18px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}

/* На очень низких экранах ещё уменьшаем */
@media (max-height: 720px) {
  .k-bonus-icon { font-size: 40px; }
  .k-bonus-h1 { font-size: 24px; }
  .k-bonus-sub { font-size: 13px; }
  .k-phone-input { font-size: 22px; padding: 12px; }
  .k-numpad-btn { font-size: 22px; padding: 12px 0; min-height: 48px; }
}

/* ======================= ОПЛАТА ======================= */
.k-pay { max-width: 720px; margin: 30px auto; }
.k-pay-summary {
  background: var(--kiosk-surface); border-radius: 22px;
  padding: 28px; margin-bottom: 24px; text-align: center;
}
.k-pay-summary-label { font-size: 18px; color: #5B6470; text-transform: uppercase; letter-spacing: 1px; }
.k-pay-summary-total { font-size: 64px; font-weight: 800; margin: 8px 0; letter-spacing: -2px; }
.k-pay-summary-items { font-size: 16px; color: #5B6470; }
.k-pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.k-pay-method {
  background: var(--kiosk-surface); border-radius: 22px;
  padding: 28px; text-align: center; cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.15s, transform 0.1s;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.k-pay-method:active { transform: scale(0.97); }
.k-pay-method:hover { border-color: var(--kiosk-primary); }
.k-pay-method-icon { font-size: 64px; }
.k-pay-method-name { font-size: 20px; font-weight: 800; }
.k-pay-method-sub { font-size: 13px; color: #5B6470; }

.k-pay-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 30, 20, 0.7);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.k-pay-modal {
  background: #fff; border-radius: 28px; padding: 48px;
  max-width: 480px; width: 90%; text-align: center;
  animation: k-modal-in 0.25s cubic-bezier(.16,1,.3,1);
}
@keyframes k-modal-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.k-pay-qr {
  width: 280px; height: 280px; margin: 24px auto;
  background: #fff; border: 8px solid #1A1D24; border-radius: 12px;
  display: grid; place-items: center;
  position: relative;
}
.k-pay-qr svg { width: 240px; height: 240px; }
.k-pay-processing {
  display: inline-flex; align-items: center; gap: 12px;
  color: #5B6470; margin-top: 20px;
}
.k-pay-spinner {
  width: 24px; height: 24px;
  border: 3px solid #E5E7EB; border-top-color: var(--kiosk-primary);
  border-radius: 50%; animation: k-spin 0.8s linear infinite;
}
@keyframes k-spin { to { transform: rotate(360deg); } }

/* ======================= ГОТОВО / НОМЕР ======================= */
.k-success {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px 24px;
  background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
  color: #fff;
  animation: k-success-in 0.4s ease-out;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
@keyframes k-success-in { from { opacity: 0; } to { opacity: 1; } }
.k-success-check {
  width: 110px; height: 110px; border-radius: 50%;
  background: #fff; color: #2D6A4F;
  display: grid; place-items: center;
  font-size: 64px; margin-bottom: 18px;
  animation: k-check-pop 0.5s cubic-bezier(.34,1.56,.64,1);
  flex-shrink: 0;
}
@keyframes k-check-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.k-success-h1 { font-size: 44px; font-weight: 800; margin: 0 0 4px; }
.k-success-num-label {
  font-size: 14px; opacity: 0.65; text-transform: uppercase;
  letter-spacing: 2px; margin-top: 20px; margin-bottom: 8px;
}
.k-success-num {
  background: var(--kiosk-accent); color: #1A1D24;
  padding: 24px 64px; border-radius: 22px;
  font-size: 110px; font-weight: 800; letter-spacing: -4px; line-height: 1;
  margin-bottom: 22px;
  box-shadow: 0 16px 48px rgba(249,168,37,0.45);
  animation: num-pop 0.7s cubic-bezier(.34,1.56,.64,1);
}
@keyframes num-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Большой блок «📸 Запишите номер» — главный CTA */
.k-success-photo {
  background: rgba(249, 168, 37, 0.18);
  border: 2px dashed rgba(249, 168, 37, 0.6);
  border-radius: 22px;
  padding: 18px 28px;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 18px;
  max-width: 600px;
  animation: photo-glow 2.5s ease-in-out infinite;
}
@keyframes photo-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 168, 37, 0); }
  50% { box-shadow: 0 0 30px 0 rgba(249, 168, 37, 0.4); }
}
.k-success-photo-icon { font-size: 56px; flex-shrink: 0; }
.k-success-photo-body { text-align: left; flex: 1; min-width: 0; }
.k-success-photo-title { font-size: 22px; font-weight: 800; color: #FFD89A; margin-bottom: 4px; line-height: 1.2; }
.k-success-photo-sub { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.4; }

/* Метаданные заказа */
.k-success-info {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 16px 22px;
  max-width: 500px; width: 100%; margin-bottom: 20px;
}
.k-success-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.k-success-info-row:last-child { border-bottom: none; }
.k-success-info-label { opacity: 0.65; }
.k-success-info-value { font-weight: 700; }

.k-success-done {
  background: var(--kiosk-accent); color: #1A1D24;
  padding: 18px 36px; border-radius: 100px;
  font-size: 18px; font-weight: 800;
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(249, 168, 37, 0.35);
  margin-bottom: 14px;
}
.k-success-done:active { transform: scale(0.97); }

.k-success-countdown {
  background: rgba(255,255,255,0.12);
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px;
  opacity: 0.7;
}

@media (max-height: 700px) {
  .k-success-check { width: 80px; height: 80px; font-size: 48px; margin-bottom: 12px; }
  .k-success-h1 { font-size: 32px; }
  .k-success-num { font-size: 80px; padding: 16px 48px; }
  .k-success-photo-icon { font-size: 40px; }
  .k-success-photo-title { font-size: 18px; }
}
