/* ALALA App — Estilos base comunes */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #D4705A;
  --brand-dark: #B85C48;
  --brand-light: #F8EAE5;
  --purple: #2D1F5E;
  --purple-light: #C8B4F5;
  --fg: #111111;
  --fg-2: #555555;
  --fg-3: #666666;
  --border: #E8E8E8;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --r: 16px;
  --r-lg: 24px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px 4px 0;
  min-height: 44px;
}
.back-btn svg { width: 18px; height: 18px; }

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 100;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .65rem;
  color: var(--fg-3);
  font-weight: 600;
  padding: 6px 4px;
  min-height: 44px;
  justify-content: center;
}
.bottom-nav a.active { color: var(--brand); }
.bottom-nav svg { width: 22px; height: 22px; }
