/* ═══════════════════════════════════════════════════════════
   Cookie Club Kiosk — Clean Light Theme
   Inspired by thecoffee.jp · Landscape Tablet Optimized
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:         #ffffff;
  --bg-sidebar: #fafafa;
  --bg-card:    #ffffff;
  --bg-cart:    #fafafa;
  --surface:    #f5f5f5;
  --border:     #e8e8e8;
  --border-light: #f0f0f0;

  --text:       #1a1a1a;
  --text-dim:   #555555;
  --text-muted: #999999;

  --accent:     #1a1a1a;
  --accent-hover: #333333;
  --accent-glow: rgba(0,0,0,0.05);

  --gold:       #c8956c;
  --red:        #d4483b;

  --radius:     8px;
  --radius-sm:  6px;
  --radius-lg:  16px;

  --shadow:     0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg:  0 4px 24px rgba(0,0,0,0.1);

  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   SCREENSAVER
   ═══════════════════════════════════════════════════════════ */

.screensaver {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf8f4;
  cursor: pointer;
}

.screensaver-content {
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.screensaver-logo {
  font-size: 80px;
  margin-bottom: 20px;
}

.screensaver-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.screensaver-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: pulse-text 2s ease-in-out infinite;
}

.screensaver-pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  margin: 40px auto 0;
  animation: pulse-ring 2s linear infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   APP LAYOUT
   ═══════════════════════════════════════════════════════════ */

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  min-height: 56px;
  flex-shrink: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  font-size: 26px;
}

.header-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
}

.header-clock {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ── Main Content ── */
.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR — Clean text links like thecoffee.jp
   ═══════════════════════════════════════════════════════════ */

.sidebar {
  width: 200px;
  min-width: 200px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  overflow-y: auto;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-btn {
  display: block;
  padding: 12px 28px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-left: 3px solid transparent;
}

.category-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.category-btn.active {
  color: var(--text);
  font-weight: 800;
  border-left-color: var(--text);
  background: var(--surface);
}

.category-btn .cat-emoji {
  display: none; /* Hide emojis for clean look */
}

.category-btn .cat-count {
  display: none; /* Hide counts for clean look */
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT AREA — List view like thecoffee.jp
   ═══════════════════════════════════════════════════════════ */

.product-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 32px;
}

.category-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text);
  flex-shrink: 0;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.product-grid::-webkit-scrollbar {
  width: 4px;
}

.product-grid::-webkit-scrollbar-track {
  background: transparent;
}

.product-grid::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

/* ── Product Card — Row layout like thecoffee.jp ── */
.product-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.15s ease;
  border-radius: 0;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
}

.product-card:hover {
  background: #fafafa;
  margin: 0 -12px;
  padding: 20px 12px;
}

.product-card:active {
  background: #f0f0f0;
}

.product-card.added {
  background: #f8f5f0;
  margin: 0 -12px;
  padding: 20px 12px;
  border-left: 3px solid var(--gold);
}

.product-img-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f5;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.3;
  background: #f5f5f5;
}

.product-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.product-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}

.product-add-btn:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   CART PANEL
   ═══════════════════════════════════════════════════════════ */

.cart-panel {
  width: 280px;
  min-width: 280px;
  background: var(--bg-cart);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-count {
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Cart Items ── */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.cart-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 36px;
  opacity: 0.2;
  display: block;
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-empty-hint {
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: 0.5;
}

/* ── Cart Item ── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  border: 1px solid var(--border);
  animation: slide-in 0.2s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-img-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.cart-item-mods {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}

.cart-qty-btn:hover {
  border-color: var(--text);
}

.cart-qty-btn.remove:hover {
  border-color: var(--red);
  color: var(--red);
}

.cart-item-qty {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  min-width: 18px;
  text-align: center;
}

/* ── Cart Footer ── */
.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total-row span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-total-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}

.btn-pay {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-pay:hover:not(:disabled) {
  background: var(--accent-hover);
}

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

.btn-clear {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.15s ease;
}

.btn-clear:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT OVERLAY
   ═══════════════════════════════════════════════════════════ */

.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 48px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.payment-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.payment-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.payment-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.payment-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
}

.payment-divider {
  height: 1px;
  background: var(--border);
  margin: 0 -20px 20px;
}

.payment-items {
  text-align: left;
  margin-bottom: 28px;
  max-height: 200px;
  overflow-y: auto;
}

.payment-item-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.payment-item-row .qty {
  color: var(--text-muted);
  font-weight: 500;
}

.payment-item-row .item-total {
  font-weight: 600;
  color: var(--text);
}

.btn-done {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 10px;
}

.btn-done:hover {
  background: var(--accent-hover);
}

.btn-back {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-back:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.skeleton-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.skeleton-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-text {
  height: 14px;
  width: 60%;
}

.skeleton-text-sm {
  height: 10px;
  width: 80%;
}

.skeleton-price {
  height: 14px;
  width: 50px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   MODIFIER POPUP
   ═══════════════════════════════════════════════════════════ */

.modifier-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  animation: fade-in 0.25s ease;
}

.modifier-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 520px;
  max-width: 94vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.modifier-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 2;
  line-height: 1;
}

.modifier-close:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text);
}

/* ── Header ── */
.modifier-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.modifier-product-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.modifier-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modifier-product-info {
  flex: 1;
  min-width: 0;
}

.modifier-product-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.modifier-product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Groups area ── */
.modifier-groups {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.modifier-group {
  margin-bottom: 22px;
}

.modifier-group:last-child {
  margin-bottom: 8px;
}

.modifier-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modifier-group-title .required-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(200, 149, 108, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

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

.modifier-chip {
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modifier-chip:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: var(--surface);
}

.modifier-chip.active {
  border-color: var(--gold);
  background: rgba(200, 149, 108, 0.08);
  color: var(--text);
}

.modifier-chip .chip-price {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.modifier-chip.active .chip-price {
  color: var(--gold);
}

/* ── Footer ── */
.modifier-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
}

.modifier-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modifier-total span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#modifier-total-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}

.modifier-add-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modifier-add-btn:hover {
  background: var(--accent-hover);
}

.modifier-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.modifier-no-options {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   RECEIPT / QR CODE SCREEN
   ═══════════════════════════════════════════════════════════ */

.receipt-overlay {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}

.receipt-screen-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.receipt-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.receipt-screen-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.receipt-screen-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.receipt-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 220px;
}

.receipt-qr-wrap img,
.receipt-qr-wrap canvas,
.receipt-qr-wrap table {
  display: block;
  margin: 0 auto;
}

.receipt-scan-hint {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.receipt-screen-card .btn-done {
  margin-top: 0;
}


