/* =============================================
   RESTAURANT HERO
   ============================================= */

.tff-hero-restaurant {
  padding-block: var(--space-6) var(--space-8);
  background: linear-gradient(180deg, var(--color-bg-2) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.tff-hero-restaurant-top {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  margin-top: var(--space-4);
}

@media (max-width: 767px) {
  .tff-hero-restaurant-top { flex-direction: column; align-items: center; text-align: center; }
}

.tff-hero-restaurant-logo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.tff-hero-restaurant-logo img { width: 100%; height: 100%; object-fit: cover; }
.tff-hero-emoji { font-size: 44px; }

.tff-hero-restaurant-info h1 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.tff-hero-restaurant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.tff-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--color-bg-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-2);
}

.tff-chip-badge {
  background: var(--brand-color, var(--color-primary));
  color: #fff;
}

.tff-vibe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tff-vibe-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-2);
}

.tff-hero-restaurant-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.tff-restaurant-intro,
.tff-restaurant-verdict {
  padding-block: var(--space-6);
  max-width: 780px;
  line-height: 1.7;
  color: var(--color-text-2);
}
.tff-restaurant-verdict h2 { color: var(--color-text); margin-bottom: var(--space-3); }

/* =============================================
   STICKY SIDEBAR + PANELS
   ============================================= */

.tff-restaurant-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-6) var(--space-12);
}

@media (max-width: 900px) {
  .tff-restaurant-layout { grid-template-columns: 1fr; }
}

.tff-side-tabs {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
}

@media (max-width: 900px) {
  .tff-side-tabs {
    position: sticky;
    top: var(--header-height);
    flex-direction: row;
    overflow-x: auto;
    z-index: 85;
    scrollbar-width: none;
    border-radius: 0;
    margin-inline: calc(var(--container-pad) * -1);
    padding-inline: var(--container-pad);
  }
  .tff-side-tabs::-webkit-scrollbar { display: none; }
}

.tff-side-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tff-side-tab:hover,
.tff-side-tab.active {
  background: var(--color-bg-3);
  color: var(--brand-color, var(--color-primary));
}

.tff-panels {
  min-width: 0;
}

.tff-panel {
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}
.tff-panel:last-child { border-bottom: none; }

.tff-panel h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.tff-verified-note {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-bottom: var(--space-4);
}

.tff-quick-facts {
  color: var(--color-text-2);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
