/* ==== Banner base ==== */
.restaurante-hero {
  position: relative;
  height: 600px !important;                
  overflow: hidden;
  border: 1px solid var(--rest-borda);       
  background: var(--rest-fundo);
}

.restaurante-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(6px) brightness(0.55);
  transform: scale(1.06);      
}

.restaurante-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);   /* camada extra de escurecimento */
  pointer-events: none;
}

/* ==== Card sobreposto ao banner ==== */
.restaurante-card-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 56px;                 
  z-index: 2;
  background: var(--rest-sombra);
  border: 1px solid var(--rest-borda);
  box-shadow: var(--rest-sombra);
  border-radius: var(--rest-radius);
  padding: 16px;
}

.restaurante-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.restaurante-nome {
  background-color: var(--rest-sombra);
  font-family: var(--font-destaque);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  color: var(--rest-branco);
  margin: 0;
}

.restaurante-minimo {
  color: var(--rest-branco);
  font-family: var(--font-texto);
  margin-bottom: 0;
  margin-top: 60px;
}

.restaurante-sobre {
  color: var(--rest-branco);
  font-family: var(--font-texto);
  text-align: justify;
  margin: 0;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 6; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.restaurante-sobre-title {
  font-family: var(--font-destaque);
  color: var(--rest-branco);
  margin-bottom: 10px !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.restaurante-avaliacao-wrapper {
  display: flex;

}

.restaurante-avaliacao {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-items: center;
  font-weight: 600;
  color: var(--rest-primaria);
  margin-top: -10px;
  margin-bottom: 20px;
}

.restaurante-estrela {
  font-size: 1.2rem;
  color: #FFD700;
  margin-right: 5px;
}

.restaurante-nota {
  font-size: 1rem;
  color: var(--rest-hover);
}

/* ==== Badge Aberto/Fechado ==== */
.restaurante-badge {
  display: inline-block;
  font-family: var(--font-destaque);
  font-size: .875rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.restaurante-badge.is-open {
  background: var(--rest-destaque);   /* verde */
  color: var(--rest-branco);
}

.restaurante-badge.is-closed {
  background: var(--rest-erro);       /* vermelho */
  color: var(--rest-branco);
}

/* ==== Ajustes responsivos ==== */
@media (min-width: 768px) {
  .restaurante-hero { height: 320px; }
  .restaurante-card-overlay {
    left: 32px;
    right: auto;
    max-width: 760px;                 /* card mais compacto no desktop */
  }
}

/* 🧱 Container principal do restaurante */
.restaurante-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100vh !important;
  overflow: visible !important;

}

/* 🍽️ Layout principal do cardápio */
.restaurante-cardapio-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

/* 🧾 Seção de categoria */
.restaurante-categoria {
  margin-bottom: 3rem;
  z-index: 10;
}

/* 🧾 Título da categoria */
.restaurante-categoria-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-destaque, 'Poppins', sans-serif);
  color: var(--rest-texto, #333);
  margin-bottom: 1rem;
}

/* 📋 Lista de produtos */
.restaurante-lista-produtos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 🍔 Produto individual */
.restaurante-produto {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--rest-fundo);
  border: 1px solid var(--rest-borda, #ddd);
  border-radius: var(--rest-radius, 8px);
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

/* 🖼️ Imagem do produto */
.restaurante-produto-imagem {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.restaurante-produto-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-color: var(--rest-secundaria, #f0f0f0);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rest-texto, #666);
  flex-shrink: 0;
}

/* 🧾 Informações do produto */
.restaurante-produto-info {
  flex: 1;
}

.restaurante-produto-nome {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--rest-texto, #222);
}

.restaurante-produto-descricao {
  font-size: 0.9rem;
  color: var(--rest-subtexto, #777);
  margin-bottom: 0.25rem;
}

.restaurante-produto-preco {
  font-weight: 600;
  color: var(--rest-primaria);
}

/* ➕ Botão de adicionar */
.restaurante-btn-adicionar {
  background-color: var(--rest-primaria);
  color: var(--rest-branco, #fff);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: var(--rest-radius, 6px);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-destaque, 'Poppins', sans-serif);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.restaurante-btn-adicionar:hover {
  transform: scale(1.03);
}

.restaurante-btn-adicionar i {
  font-size: 1.2rem;
  color: var(--rest-branco);
  line-height: 1;
}

/* 🎁 Estilo especial para combos */
.restaurante-combo {
  background-color: var(--rest-fundo);
  border-left: 4px solid var(--rest-primaria);
}