/* Sabores da Chapada - Design System & Modern Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Paleta Clean iFood Light (Padrão Oficial iFood) */
  --primary: #EA1D2C;
  --primary-hover: #D01423;
  --primary-light: rgba(234, 29, 44, 0.08);
  --secondary: #FF6B2B;
  --accent-green: #20BF55;
  --accent-green-light: rgba(32, 191, 85, 0.12);
  
  --bg-main: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F3F5;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-color: #E9ECEF;
  --border-color-hover: #EA1D2C;
  
  --text-main: #1A1D20;
  --text-muted: #495057;
  --text-dim: #6C757D;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 24px rgba(234, 29, 44, 0.25);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
  --bg-main: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F3F5;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-color: #E9ECEF;
  --border-color-hover: #EA1D2C;
  
  --text-main: #1A1D20;
  --text-muted: #495057;
  --text-dim: #6C757D;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-main: #0D1117;
  --bg-card: #161B22;
  --bg-card-hover: #21262D;
  --bg-glass: rgba(22, 27, 34, 0.92);
  --border-color: #30363D;
  --border-color-hover: #8B949E;
  
  --text-main: #F0F6FC;
  --text-muted: #8B949E;
  --text-dim: #6E7681;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Navigation Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main) !important;
  letter-spacing: -0.5px;
}

.brand-rang { color: var(--text-main); }
.brand-gou  { color: #EA1D2C; }

.brand-title span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card-hover);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.navbar-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(255, 107, 43, 0.4));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 8px;
}

/* Location Badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.location-badge svg {
  color: var(--primary);
}

/* Header Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(224, 90, 71, 0.5);
}

.btn-merchant {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(224, 90, 71, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-merchant:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 32px 0 20px 0;
}

.hero-banner {
  background: linear-gradient(135deg, rgba(234, 29, 44, 0.22) 0%, rgba(255, 107, 43, 0.12) 100%), var(--bg-card);
  border: 1px solid rgba(234, 29, 44, 0.3);
  border-radius: 24px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(234, 29, 44, 0.15);
}

.hero-text {
  max-width: 620px;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.hero-title highlight {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Corporate Trust Bar */
.corporate-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px 0;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 22px;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.trust-item span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Search Bar Component */
.search-wrapper {
  position: relative;
  max-width: 540px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 20px 16px 50px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.15);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Promos Carousel */
.promo-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0 8px 0;
  scrollbar-width: none;
}
.promo-slider::-webkit-scrollbar {
  display: none;
}

.promo-card {
  min-width: 320px;
  border-radius: var(--radius-md);
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.promo-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.promo-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.promo-sub {
  font-size: 13px;
  opacity: 0.9;
}

.promo-code-box {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 13px;
}

/* Category Filter Bar */
.categories-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 0;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.category-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.category-chip.active {
  background: linear-gradient(135deg, #EA1D2C 0%, #FF6B2B 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(234, 29, 44, 0.4);
}

.category-chip .icon {
  font-size: 18px;
}

/* Section Controls & Filters */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.filters-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--primary);
}

/* Establishments Grid */
.establishments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Card Component */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #232834;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-image {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 18, 24, 0.85);
  backdrop-filter: blur(8px);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(244, 162, 97, 0.3);
}

.card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-status.closed {
  background: #64748B;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.rating-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(244, 162, 97, 0.15);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.card-description {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-info {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Menu Modal / Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-header {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-info {
  position: relative;
  z-index: 2;
}

.modal-shop-name {
  font-size: 26px;
  font-weight: 800;
  color: white;
}

.modal-shop-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.menu-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 12px 0;
  color: var(--primary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 6px;
}

.menu-item-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.menu-item-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #232834;
}

.menu-item-details {
  flex: 1;
}

.menu-item-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.menu-item-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.btn-add-item {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(224, 90, 71, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-item:hover {
  background: var(--primary);
  color: white;
}

/* Cart Drawer Right Slide */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 250;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-title {
  font-size: 20px;
  font-weight: 800;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

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

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-main);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0 16px 0;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #EA1D2C 0%, #FF6B2B 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(234, 29, 44, 0.35);
  font-family: var(--font-family);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(234, 29, 44, 0.5);
}

/* Footer Section */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 60px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col {
  max-width: 340px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease forwards;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero-banner {
    padding: 24px;
  }
  .hero-title {
    font-size: 26px;
  }
  .establishments-grid {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   MAPA INTERATIVO — Estilos compartilhados
   ══════════════════════════════════════════════ */
.map-section { margin-top: 40px; }

.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  background: #1a1f2e;
}

/* Pin personalizado no mapa */
.map-pin {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 2.5px solid var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(224,90,71,0.4);
  font-size: 17px;
  line-height: 1;
}

.map-pin > * { transform: rotate(45deg); }

/* Popup do mapa */
.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  color: var(--text-main) !important;
  padding: 0 !important;
}
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-tip { background: var(--bg-card) !important; }
.leaflet-popup-close-button { color: var(--text-muted) !important; top: 8px !important; right: 8px !important; }

.map-popup { padding: 12px; }
.map-popup-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: block;
}
.map-popup-body strong {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
}
.map-popup-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.map-open-badge {
  background: rgba(42,157,143,0.2);
  color: var(--accent-green);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}
.map-closed-badge {
  background: rgba(100,116,139,0.2);
  color: #64748B;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}
.map-popup-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-family);
  transition: var(--transition);
}
.map-popup-btn:hover { background: var(--primary-hover); }

/* Botão "Ver no Mapa" nos cards */
.map-link-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}
.map-link-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ══════════════════════════════════════════════
   SISTEMA DE AVALIAÇÕES — Estilos compartilhados
   ══════════════════════════════════════════════ */
.reviews-section { margin-top: 24px; padding-top: 8px; }

.review-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.review-author { font-weight: 700; font-size: 14px; color: var(--text-main); }
.review-stars { color: var(--secondary); font-size: 15px; letter-spacing: 1px; }
.review-date { margin-left: auto; font-size: 12px; color: var(--text-dim); }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Seletor de estrelas no modal de avaliação */
.star-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.star-opt {
  font-size: 34px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
  user-select: none;
}
.star-opt:hover, .star-opt.selected {
  color: var(--secondary);
}

/* ─── Menu Unificado de Conta do Usuário (Estilo iFood) ─── */
.user-account-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: var(--font-family);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-account-btn:hover {
  background: #30363D;
  border-color: #8B949E;
  color: #FFFFFF;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 1000;
  backdrop-filter: blur(12px);
  animation: dropdownFadeIn 0.2s ease forwards;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown-menu.open {
  display: flex;
}

.dropdown-section-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  padding: 8px 12px 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-family);
  width: 100%;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}
