/* ==========================================================================
   Café Urquiza — Design System (iOS-native, inset grouped)
   Geist + Space Mono (solo PIN y código de canje)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --color-bg: #F6EEE5;
  --color-sky: #E6EEF4;   /* cielo de fondo: celeste sutil (las tarjetas siguen crema) */
  --color-surface: #FFFDF9;
  --color-surface-2: #F1E8DA;
  --color-border: #E7DCCB;
  --color-hairline: rgba(36, 26, 18, 0.12);
  --color-ink: #241A12;
  --color-ink-mid: #6B5A48;
  --color-muted: #9B8A76;
  --color-red: #EA2A1E;
  --color-red-dark: #B3160B;
  --color-green: #2F8F57;
  --color-amber: #B07813;
  --color-whatsapp: #1FAF54;

  --glass-bg: rgba(255, 253, 249, 0.72);
  --glass-border: rgba(231, 220, 203, 0.8);
  --glass-filter: blur(20px) saturate(180%);

  --shadow-card: 0 1px 2px rgba(36, 26, 18, 0.04), 0 8px 24px rgba(36, 26, 18, 0.06);
  --shadow-elevated: 0 2px 4px rgba(36, 26, 18, 0.06), 0 20px 40px rgba(36, 26, 18, 0.12);
  --shadow-tab: 0 -1px 0 rgba(36, 26, 18, 0.08), 0 -8px 24px rgba(36, 26, 18, 0.06);

  --radius-card: 20px;
  --radius-block: 20px;
  --radius-btn: 16px;
  --radius-pill: 999px;
  --radius-input: 14px;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  background-color: var(--color-sky);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  /* fondo crema plano, sin degradado radial */
}

/* Tipografía */
.font-display {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.font-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.font-body {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.font-secondary {
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-ink-mid);
}

.font-caption {
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-muted);
}

.mono {
  font-family: var(--font-mono);
}

.tnum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Layout */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  padding: 0 20px 48px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.app-container.admin-layout {
  max-width: 1100px;
  padding: 0 24px 64px 24px;
}

/* Large title que colapsa al header */
.large-title-wrap {
  padding-top: 8px;
  margin-bottom: 20px;
}
.large-title-wrap h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
}
.large-title-wrap .subtitle {
  font-size: 15px;
  color: var(--color-ink-mid);
  margin-top: 4px;
}

/* Glass header */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-bottom: 1px solid var(--glass-border);
  margin-left: -20px;
  margin-right: -20px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.admin-layout .glass-header {
  margin-left: -24px;
  margin-right: -24px;
  padding: 14px 24px;
}

/* Título colapsado en el header (centrado, 17px 600) */
.header-title-collapsed {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms var(--ease-smooth), transform 200ms var(--ease-smooth);
}
.header-title-collapsed.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Texto rojo simple (links, logout) */
.text-red {
  color: var(--color-red);
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-sans);
}
.text-red:active { opacity: 0.6; }

/* Cards (solo para pase de fidelidad, modales) */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
}

/* ===== Listas agrupadas estilo iOS "inset grouped" ===== */
.section-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  padding: 0 4px;
  margin-bottom: 10px;
  margin-top: 28px;
}
.section-title:first-child { margin-top: 0; }

.grouped-list {
  background: var(--color-surface);
  border-radius: var(--radius-block);
  overflow: hidden;
  margin-bottom: 20px;
  border: none;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  position: relative;
  background: var(--color-surface);
  min-height: 48px;
  cursor: pointer;
  transition: background 120ms ease;
}
.list-row:active { background: var(--color-surface-2); }
.list-row + .list-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 0;
  height: 0.5px;
  background: var(--color-hairline);
}
.list-row.no-divider::before { display: none; }

.list-row-main {
  flex: 1;
  min-width: 0;
}
.list-row-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}
.list-row-sub {
  font-size: 14px;
  color: var(--color-ink-mid);
  margin-top: 2px;
}
.list-row-trail {
  font-size: 15px;
  color: var(--color-ink-mid);
  text-align: right;
  white-space: nowrap;
}

/* Punto de estado (8px) */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.status-dot.activo { background: var(--color-green); }
.status-dot.en_riesgo { background: var(--color-amber); }
.status-dot.dormido { background: var(--color-muted); }
.status-dot.pendiente { background: var(--color-red); }

.status-text {
  font-size: 14px;
  color: var(--color-ink-mid);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background-color 0.2s var(--ease-smooth);
  user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: var(--color-red);
  color: #FFFDF9;
}
.btn-primary:hover { background-color: var(--color-red-dark); }

/* Botón protagonista del cliente: Tinta, no rojo */
.btn-ink {
  width: 100%;
  min-height: 54px;
  font-size: 17px;
  background-color: var(--color-ink);
  color: var(--color-bg);
  border-radius: var(--radius-btn);
}
.btn-ink:active { transform: scale(0.97); }

/* Botón de canje: misma estética que la pill (blanco + rojo + sombra), tamaño del CTA grande */
.btn-canje {
  width: 100%;
  min-height: 54px;
  font-size: 17px;
  font-weight: 700;
  background: #fff;
  color: var(--color-red);
  box-shadow: 0 1px 3px rgba(60,90,110,0.18), 0 8px 22px rgba(234,42,30,0.12);
}
.btn-canje:active { transform: scale(0.97); }

.btn-secondary {
  background: none;
  color: var(--color-red);
  border: none;
  font-weight: 500;
  min-height: 44px;
  padding: 10px 16px;
}
.btn-secondary:active { opacity: 0.6; }

.btn-pill { border-radius: var(--radius-pill); }

/* Inputs */
.input-text {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-text:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(234, 42, 30, 0.12);
}

/* ===== Pase de fidelidad (Apple Wallet) ===== */
.wallet-pass {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  border-radius: 24px;
  background: var(--color-red);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
  transition: transform 200ms var(--ease-smooth);
  margin-bottom: 20px;
}
.wallet-pass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.wallet-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.wallet-pass .pass-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(255,255,255,0.25), transparent 55%);
  pointer-events: none;
  z-index: 3;
  transition: background 100ms ease-out;
}
.pass-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px 0;
}
.pass-logo {
  height: 22px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.pass-logo-fallback {
  font-weight: 700;
  color: var(--color-bg);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.pass-client-name {
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  opacity: 0.9;
}
.pass-stamps {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
}
.pass-stamp {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pass-stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.pass-stamp.empty img { opacity: 0.4; }
.pass-stamp.mascot img { filter: none; width: 86%; height: 86%; opacity: 0.95; }
.pass-stamp-fallback-full {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-bg);
}
.pass-stamp-fallback-empty {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(246,238,229,0.5);
}
.pass-bottom {
  position: relative;
  z-index: 4;
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.92;
}

/* Barra de progreso fina (4px) */
.progress-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--color-surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--color-red);
  border-radius: var(--radius-pill);
  transition: width 800ms var(--ease-smooth);
}

/* ===== Tab bar inferior de vidrio (iOS) ===== */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-top: 1px solid var(--glass-border);
  box-shadow: var(--shadow-tab);
  display: flex;
  padding: 6px 8px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}
.tab-item.active { color: var(--color-red); }
.tab-item svg { width: 24px; height: 24px; stroke-width: 1.8; }
.tab-item:active { transform: scale(0.94); }

/* ===== Bottom sheet de vidrio ===== */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(36, 26, 18, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-smooth);
}
.sheet-overlay.active { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  z-index: 101;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  transition: transform 400ms var(--ease-spring);
}
.sheet.active { transform: translateX(-50%) translateY(0); }
.sheet-handle {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-border);
  margin: 0 auto 16px;
}
.sheet-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.sheet-sub {
  font-size: 14px;
  color: var(--color-ink-mid);
  margin-bottom: 16px;
}

/* ===== Teclado numérico iOS ===== */
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}
.keypad-btn {
  aspect-ratio: 1.6 / 1;
  border-radius: 14px;
  background: var(--color-surface);
  border: none;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: transform 120ms ease, background 100ms;
}
.keypad-btn:active {
  transform: scale(0.94);
  background: var(--color-surface-2);
}
.keypad-btn.muted { font-size: 16px; color: var(--color-muted); font-weight: 500; }

/* PIN display */
.pin-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 28px 0;
}
.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  transition: all 200ms var(--ease-spring);
}
.pin-dot.filled {
  background: var(--color-ink);
  border-color: var(--color-ink);
  transform: scale(1.1);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(36, 26, 18, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-smooth);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--color-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-elevated);
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 450ms var(--ease-spring);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

/* Código de canje (Space Mono, gigante) */
.code-display {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  padding: 20px;
  background: var(--color-surface-2);
  border-radius: 20px;
  margin-bottom: 20px;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}
.toast {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-elevated);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  animation: slideDown 300ms var(--ease-smooth);
  pointer-events: auto;
}
.toast.toast-error { color: var(--color-red-dark); }
.toast.toast-success { color: var(--color-green); }

/* Skeleton shimmer */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface-2) 25%, #E9DECF 50%, var(--color-surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* Toggle Switch iOS */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider-switch {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #E0D5C2;
  transition: .3s;
  border-radius: 28px;
}
.slider-switch:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .3s var(--ease-spring);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input:checked + .slider-switch { background-color: var(--color-green); }
input:checked + .slider-switch:before { transform: translateX(18px); }

/* Stepper iOS (control segmentado) */
.stepper {
  display: inline-flex;
  align-items: center;
  background: var(--color-surface-2);
  border-radius: 10px;
  padding: 2px;
  gap: 2px;
}
.stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-surface);
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  transition: background 120ms;
}
.stepper-btn:active { background: var(--color-surface-2); }
.stepper-value {
  min-width: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
}

/* Botón circular WhatsApp 36px */
.wa-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(31, 175, 84, 0.12);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 120ms ease, background 150ms;
}
.wa-circle:active { transform: scale(0.9); background: rgba(31,175,84,0.2); }
.wa-circle svg { width: 18px; height: 18px; }

/* ===== Admin: franja horizontal de métricas ===== */
.metrics-strip {
  display: flex;
  overflow-x: auto;
  background: var(--color-surface);
  border-radius: var(--radius-block);
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.metrics-strip::-webkit-scrollbar { display: none; }
.metric-cell {
  flex: 1;
  min-width: 96px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.metric-cell + .metric-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 0.5px;
  background: var(--color-hairline);
}
.metric-num {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}
.metric-name {
  font-size: 13px;
  color: var(--color-ink-mid);
  margin-top: 6px;
  letter-spacing: -0.01em;
}

/* Admin grid */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .admin-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .col-span-8 { grid-column: span 8; }
  .col-span-4 { grid-column: span 4; }
  .col-span-6 { grid-column: span 6; }
  .col-span-12 { grid-column: span 12; }
}

/* Swipe actions para promos */
.swipe-row {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}
.swipe-actions-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: stretch;
  z-index: 0;
}
.swipe-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFDF9;
  font-size: 13px;
  font-weight: 600;
  width: 0;
  overflow: hidden;
  transition: width 200ms ease;
  border: none;
  cursor: pointer;
}
.swipe-action.edit { background: var(--color-ink-mid); }
.swipe-action.delete { background: var(--color-red); }
.swipe-content {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  transition: transform 200ms var(--ease-smooth);
  width: 100%;
}
.swipe-row.dragging .swipe-content { transition: none; }
.swipe-row.open .swipe-action { width: 76px; }
.swipe-row.open .swipe-content { transform: translateX(-152px); }

/* Fade out animación */
.fade-out {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.35s ease;
}

/* Animaciones */
@keyframes popSpring {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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