/* ============================================
   PROTOCOLO SUCO METABÓLICO — CSS
   Identidade: Verde-natureza + Dourado
   ============================================ */

:root {
  --verde-escuro: #0d1f0f;
  --verde-deep: #112614;
  --verde-mid: #1a3d1e;
  --verde-vivo: #2d6a35;
  --verde-brilho: #3d8b46;
  --verde-claro: #52b35f;
  --verde-mint: #7fcb85;
  --dourado: #c9a227;
  --dourado-vivo: #e8b82a;
  --dourado-claro: #f5d060;
  --dourado-pale: #fdf0c0;
  --branco: #f4f7f2;
  --branco-off: #e8ede6;
  --cinza-suave: #c8d4c6;
  --texto-principal: #e8ede6;
  --texto-secundario: #a8bca5;
  --texto-muted: #6a8568;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --sombra-card: 0 4px 20px rgba(0,0,0,0.35);
  --sombra-modal: 0 -10px 60px rgba(0,0,0,0.6);

  --font-display: 'Bebas Neue', sans-serif;
  --font-titulo: 'Syne', sans-serif;
  --font-corpo: 'DM Sans', sans-serif;

  --header-h: 64px;
  --bottom-safe: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--verde-escuro);
  color: var(--texto-principal);
  font-family: var(--font-corpo);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ============ SPLASH ============ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-escuro);
  overflow: hidden;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,106,53,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201,162,39,0.15) 0%, transparent 60%);
}

.splash-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(61,139,70,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,162,39,0.06) 0%, transparent 40%);
}

.splash-content {
  position: relative;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.splash-icon {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 0 30px rgba(61,139,70,0.8));
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(61,139,70,0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 40px rgba(82,179,95,0.9)); transform: scale(1.05); }
}

.splash-title {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: 3px;
  color: var(--branco);
}

.splash-title span {
  color: var(--dourado-vivo);
  display: block;
}

.splash-sub {
  font-family: var(--font-corpo);
  font-size: 13px;
  font-weight: 300;
  color: var(--texto-secundario);
  letter-spacing: 0.5px;
  max-width: 220px;
}

.splash-loader {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 24px;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--verde-claro), var(--dourado-vivo));
  border-radius: 99px;
  animation: loadingBar 2.2s ease forwards;
}

@keyframes loadingBar {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* ============ APP PRINCIPAL ============ */
#app {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

#app.show {
  display: block;
  animation: fadeInApp 0.5s ease;
}

@keyframes fadeInApp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ HEADER ============ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(13,31,15,0.98) 0%, rgba(13,31,15,0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61,139,70,0.2);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.app-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4), transparent);
}

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

.header-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(82,179,95,0.7));
}

.header-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--branco);
  line-height: 1;
}

.header-subtitle {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dourado);
  line-height: 1;
}

.header-right { display: flex; gap: 8px; }

.btn-icon {
  position: relative;
  background: rgba(61,139,70,0.15);
  border: 1px solid rgba(61,139,70,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-claro);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover, .btn-icon:active {
  background: rgba(61,139,70,0.3);
  border-color: var(--verde-claro);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dourado-vivo);
  color: var(--verde-escuro);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-titulo);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.badge.show { display: flex; }

/* ============ BUSCA ============ */
.search-section {
  padding: 16px 16px 8px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--texto-muted);
  pointer-events: none;
  flex-shrink: 0;
}

#searchInput {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(61,139,70,0.25);
  border-radius: var(--radius-lg);
  padding: 13px 44px 13px 44px;
  font-family: var(--font-corpo);
  font-size: 14px;
  color: var(--texto-principal);
  outline: none;
  transition: all 0.25s;
}

#searchInput::placeholder { color: var(--texto-muted); }

#searchInput:focus {
  background: rgba(255,255,255,0.09);
  border-color: rgba(82,179,95,0.6);
  box-shadow: 0 0 0 3px rgba(61,139,70,0.12);
}

.btn-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--texto-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color 0.2s;
}
.btn-clear:hover { color: var(--texto-principal); }

/* ============ FILTROS ============ */
.filters-section {
  padding: 8px 0 4px;
}

.filters-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--texto-muted);
  text-transform: uppercase;
  padding: 0 16px;
  margin-bottom: 8px;
}

.filters-scroll {
  display: flex;
  gap: 8px;
  padding: 4px 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters-scroll::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(61,139,70,0.2);
  border-radius: 99px;
  padding: 7px 14px;
  font-family: var(--font-corpo);
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-secundario);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.chip:hover {
  background: rgba(61,139,70,0.15);
  border-color: rgba(61,139,70,0.4);
  color: var(--verde-mint);
}

.chip.active {
  background: linear-gradient(135deg, var(--verde-vivo), var(--verde-brilho));
  border-color: var(--verde-claro);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(45,106,53,0.4);
}

/* ============ HERO SECTION ============ */
.hero-section {
  padding: 12px 0 8px;
}

.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dourado);
  text-transform: uppercase;
  padding: 0 16px;
  margin-bottom: 12px;
}

.hero-scroll {
  display: flex;
  gap: 12px;
  padding: 4px 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-scroll::-webkit-scrollbar { display: none; }

.hero-card {
  flex-shrink: 0;
  width: 200px;
  height: 230px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover { transform: translateY(-4px) scale(1.02); }

.hero-card:active { transform: scale(0.97); }

.hero-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s;
}
.hero-card:hover .hero-card-bg { transform: scale(1.05); }

.hero-detox .hero-card-bg {
  background: linear-gradient(160deg, #1a4d1e 0%, #0d2d10 50%, #061808 100%);
}
.hero-detox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(82,179,95,0.3), transparent 60%);
}

.hero-energia .hero-card-bg {
  background: linear-gradient(160deg, #2d3d10 0%, #1a2508 50%, #0d1503 100%);
}
.hero-energia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232,184,42,0.3), transparent 60%);
}

.hero-imune .hero-card-bg {
  background: linear-gradient(160deg, #0d2d3a 0%, #071a24 50%, #030d13 100%);
}
.hero-imune::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(42,183,232,0.25), transparent 60%);
}

.hero-beleza .hero-card-bg {
  background: linear-gradient(160deg, #3a1a2d 0%, #240714 50%, #13030b 100%);
}
.hero-beleza::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232,42,130,0.25), transparent 60%);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dourado);
  border: 1px solid rgba(201,162,39,0.4);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 1px;
  color: white;
  flex: 1;
}

.hero-card p {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 7px 14px;
  font-family: var(--font-titulo);
  font-size: 12px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.hero-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* ============ RESULTS BAR ============ */
.results-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 12px;
  font-size: 12px;
  color: var(--texto-muted);
  font-weight: 500;
}

#resultsCount { color: var(--dourado); font-weight: 700; }
.results-divider { color: rgba(255,255,255,0.15); }

/* ============ GRID DE RECEITAS ============ */
.recipes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 120px;
}

/* ============ CARD DE RECEITA ============ */
.receita-card {
  background: var(--verde-deep);
  border: 1px solid rgba(61,139,70,0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  animation: cardIn 0.4s ease backwards;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.receita-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--verde-claro), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.receita-card:hover::before { opacity: 1; }

.receita-card:hover {
  transform: translateY(-3px);
  border-color: rgba(82,179,95,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  background: rgba(17,38,20,0.95);
}

.receita-card:active { transform: scale(0.97); }

.card-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.card-nome {
  font-family: var(--font-titulo);
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-principal);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-finalidade {
  font-size: 11px;
  color: var(--verde-mint);
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-utensilio {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--texto-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 7px;
  border-radius: 4px;
}

.card-fav-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--texto-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
}
.card-fav-btn:hover { transform: scale(1.2); }
.card-fav-btn.favoritado { color: #e05; }

.card-dose {
  font-size: 10px;
  color: var(--dourado);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
}

/* ============ MODAL DE RECEITA ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  backdrop-filter: blur(4px);
  animation: fadeOverlay 0.25s ease;
}

@keyframes fadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  background: var(--verde-deep);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 300;
  overflow: hidden;
  border-top: 1px solid rgba(61,139,70,0.3);
  animation: slideUpModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

@keyframes slideUpModal {
  from { transform: translateX(-50%) translateY(100%); }
  to { transform: translateX(-50%) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(61,139,70,0.15);
  flex-shrink: 0;
}

.modal-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--verde-claro);
  font-family: var(--font-corpo);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 99px;
  transition: background 0.2s;
}
.modal-back:hover { background: rgba(61,139,70,0.15); }

.modal-fav {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  color: var(--texto-muted);
  padding: 4px 8px;
}
.modal-fav:hover { transform: scale(1.2); }
.modal-fav.favoritado { color: #e05; }

.modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 0 0 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(61,139,70,0.3) transparent;
}

.modal-hero {
  padding: 24px 24px 20px;
  position: relative;
  background: linear-gradient(180deg, rgba(45,106,53,0.15) 0%, transparent 100%);
}

.modal-emoji { font-size: 48px; display: block; margin-bottom: 12px; }

.modal-nome {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--branco);
  margin-bottom: 8px;
}

.modal-finalidade {
  font-size: 14px;
  color: var(--verde-mint);
  font-weight: 500;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.modal-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}
.badge-sistema {
  background: rgba(61,139,70,0.2);
  border: 1px solid rgba(82,179,95,0.3);
  color: var(--verde-mint);
}
.badge-utensilio {
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--dourado);
}

.modal-section {
  padding: 0 24px;
  margin-top: 20px;
}

.modal-section-title {
  font-family: var(--font-titulo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,162,39,0.2);
}

.ingredientes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ingredientes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--texto-principal);
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(82,179,95,0.4);
  line-height: 1.4;
}

.ingredientes-list li::before {
  content: '🌿';
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.preparo-box {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  color: var(--texto-principal);
  line-height: 1.6;
  border: 1px solid rgba(61,139,70,0.15);
}

.dose-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.dose-icon { font-size: 24px; }

.dose-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--dourado-claro);
}

.dose-label { font-size: 11px; color: var(--texto-muted); margin-bottom: 2px; }

.elementos-box {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--texto-secundario);
  line-height: 1.6;
  border: 1px solid rgba(255,255,255,0.06);
  font-style: italic;
}

.obs-box {
  background: rgba(232,184,42,0.07);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--dourado-pale);
  border-left: 3px solid var(--dourado);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}

/* ============ PAINEL FAVORITOS ============ */
.panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  background: var(--verde-deep);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 300;
  overflow: hidden;
  border-top: 1px solid rgba(61,139,70,0.3);
  animation: slideUpModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(61,139,70,0.15);
  flex-shrink: 0;
}

.panel-header h2 {
  font-family: var(--font-titulo);
  font-size: 18px;
  font-weight: 800;
  color: var(--branco);
}

.panel-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: var(--texto-secundario);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.panel-close:hover { background: rgba(255,255,255,0.12); }

.panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 16px;
}

.empty-state-panel {
  text-align: center;
  padding: 40px 20px;
  color: var(--texto-muted);
  font-size: 14px;
  line-height: 1.6;
}

.empty-state-panel div { font-size: 40px; margin-bottom: 12px; }

/* ============ ESTADO VAZIO ============ */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--texto-muted);
}

.empty-icon { font-size: 48px; margin-bottom: 16px; }

.empty-state h3 {
  font-family: var(--font-titulo);
  font-size: 18px;
  font-weight: 700;
  color: var(--texto-secundario);
  margin-bottom: 8px;
}

.empty-state p { font-size: 14px; margin-bottom: 20px; }

.btn-reset {
  background: linear-gradient(135deg, var(--verde-vivo), var(--verde-brilho));
  border: none;
  border-radius: 99px;
  padding: 12px 24px;
  font-family: var(--font-titulo);
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(45,106,53,0.4);
}
.btn-reset:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,106,53,0.5); }

/* ============ MINI CARD FAVORITO ============ */
.fav-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  border: 1px solid rgba(61,139,70,0.15);
  transition: all 0.2s;
}

.fav-mini-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(82,179,95,0.3);
}

.fav-mini-emoji { font-size: 28px; flex-shrink: 0; }

.fav-mini-info { flex: 1; overflow: hidden; }

.fav-mini-nome {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--texto-principal);
}

.fav-mini-final {
  font-size: 11px;
  color: var(--verde-mint);
}

.fav-mini-remove {
  background: none;
  border: none;
  color: #e05;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.fav-mini-remove:hover { transform: scale(1.2); }

/* ============ SCROLLBAR CUSTOMIZADA ============ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(61,139,70,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(61,139,70,0.5); }

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 360px) {
  .recipes-grid { grid-template-columns: 1fr; }
  .hero-card { width: 175px; height: 210px; }
}

@media (min-width: 480px) {
  body { background: #060f07; }
  #app { box-shadow: 0 0 80px rgba(0,0,0,0.8); }
}
