/* =========================================================
   BARNIA — MENU PORÇÕES & DRINKS (RESPONSIVO REAL MOBILE)
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

@font-face {
  font-family: 'Veneer';
  src: url('fonts/Veneer.woff2') format('woff2'),
	   url('fonts/Veneer.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --amber: #ffb03a;
  --green: #41d68c;
  --line: #2a3540;
  --panel1: #1b232c;
  --panel2: #11161c;
  --text: #f3f7fa;
  --muted: #93a4b1;
  --display: 'Veneer', 'Anton', 'Bebas Neue', 'Arial Narrow', sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: var(--display); 
  background-color: #0a0e12;
  background-image: linear-gradient(rgba(7, 10, 13, 0.28), rgba(7, 10, 13, 0.28)),
  url('../images/cardapio_bg.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  
  
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version (Chrome, Edge, Opera, Firefox) */
  
}

.app {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* HEADER MOBILE */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 22, 28, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  margin-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 176, 58, 0.15);
  border: 2px solid rgba(255, 176, 58, 0.6);
  flex-shrink: 0;
}

.logo img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
}

.venue {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.venue h2 {
  font-size: 1.5rem;
  
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.venue p {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.live-badge {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(65, 214, 140, 0.12);
  border: 1px solid rgba(65, 214, 140, 0.4);
  padding: 4px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  /*font-family: Arial, sans-serif;*/
  font-weight: bold;
  flex-shrink: 0;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 214, 140, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(65, 214, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 214, 140, 0); }
}

/* TITULO MENU */
.menu-title {
  text-align: center;
  margin-bottom: 12px;
}

.menu-title h1 {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
}

.menu-title h1 span {
  color: var(--amber);
}

.menu-title p {
  margin-top: 2px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* FILTROS */
nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
nav::-webkit-scrollbar {
  display: none;
}

.filter {
  border: 1px solid rgba(255, 176, 58, 0.45);
  background: rgba(17, 22, 28, 0.85);
  color: #dfe8ee;
  
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter.active {
  color: #07220f;
  
  background: linear-gradient(180deg, #5ce8a2, #2fbf76);
  border-color: #41d68c;
  width: 80%;
  
  /*font-weight: bold;*/
}

/* GRID */
main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* CARDS */
.card {
  position: relative; /* Ancoragem para o número no canto superior do card */
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(17, 22, 28, 0.3);
  border: 2px solid rgba(120, 135, 150, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.photo {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #110b05;
  display: none;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.65rem;
  font-family: Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.badge.hot {
  background: linear-gradient(180deg, #5ce8a2, #2fbf76);
  color: #07220f;
  border: none;
}

/* NUMERAÇÃO VINCULADA À BORDA DO CARD */
.item-number {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 1.5rem;
  font-family: var(--display);
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(10, 14, 18, 0.9);
  border: 1px solid rgba(255, 176, 58, 0.6);
  color: var(--text);
  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
/*
.info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
*/

.info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0; /* LIBERA O FLEXBOX PARA QUEBRAR O TEXTO INTERNO */
}

.name {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: yellow;
  letter-spacing: 0.02em;
  
  /* ESPAÇO PARA O NÚMERO #01 NÃO FICAR EM CIMA DO TEXTO */
  padding-right: 65px; 
  
  /* QUEBRA DE LINHA */
  display: block;
  width: 100%;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  
}

.description {
  font-family: Arial, sans-serif;
  font-size: 1.0rem;
  line-height: 1.3;
  color: #b9c6d0;
}

.ingredients {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
  color: #7f919e;
  margin-top: 2px;
}

/* PREÇO */
.price-row {
  margin-top: 8px;
  padding-top: 8px;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.price {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--amber);
}

.unit {
  font-family: Arial, sans-serif;
  color: #7f919e;
  font-size: 0.7rem;
}

footer {
  text-align: center;
  color: #73828e;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 20px 10px 10px;
}

footer b {
  color: #aebcc6;
}

/* RESPONSIVIDADE TELAS MAIORES */
@media (min-width: 600px) {
  .app { max-width: 1100px; padding: 20px; }
  main { grid-template-columns: repeat(2, 1fr); }
  nav { justify-content: center; }
  .photo { height: 200px; }
}

@media (min-width: 900px) {
  main { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  main { grid-template-columns: repeat(4, 1fr); }
}


	/* =========================================================
   CARDS DE LATAS (LAYOUT HORIZONTAL COM IMAGEM À ESQUERDA)
   ========================================================= */

/* =========================================================
   CARDS DE LATAS (LAYOUT HORIZONTAL COM FUNDO CLARO TOTAL)
   ========================================================= */

/* Container Principal do Card de Lata */
.card.card-can {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Estica a imagem para ocupar 100% da altura */
  min-height: 110px;
  padding: 0 10px 0 0;  /* Remove padding do topo/base/esquerda para colar a foto na borda */
  gap: 12px;
  overflow: hidden;      /* Garante que o fundo claro respeite o border-radius do card */
}

/* Área da Foto com Fundo Claro Preenchendo a Borda */
.card-can .photo-can {
  width: 90px;                       /* Largura proporcional */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;                         /* Zera margens externas */
  padding: 8px 4px;                  /* Espaço para a lata respirar */
  background: #d8e0e6;               /* Cinza/branco claro para destacar a lata */
  border-radius: 11px 0 0 11px;      /* Acompanha a curvatura interna da borda do card */
}

/* Imagem da Lata */
.card-can .photo-can img {
  width: 100%;
  height: 80%;
  object-fit: contain;               /* Mantém a lata inteira sem distorcer */
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
}

/* Coluna de Informações (Título, Descrição e Preço) */
.card-can .info-can {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  min-width: 0;
  height: 100%;
  padding-top: 10px;                 /* Dá o respiro interno superior */
  padding-bottom: 10px;              /* Dá o respiro interno inferior */
  padding-right: 0;                  /* Libera a largura total para o preço encostar à direita */
}

/* Título e Descrição (Com margem de segurança para o número #01) */
.card-can .name,
.card-can .description {
  padding-right: 55px;               /* Evita que o texto colida com o botão #01 */
}

/* Título / Nome da Cerveja */
.card-can .name {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 400;
  color: yellow;
  letter-spacing: 0.02em;
  display: block;
  width: 100%;
  margin-bottom: 4px;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Descrição */
.card-can .description {
  font-family: Arial, sans-serif;
  font-size: 1.0rem;
  line-height: 1.25;
  color: #b9c6d0;
}

/* Linha do Preço (Colada no canto inferior direito) */
.card-can .price-row {
  margin-top: auto;                  /* Empurra a linha para a base da caixa */
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  width: 100%;
  padding-right: 0;
}

/* Preço */
.card-can .price {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--amber);
  text-align: right;
}

.card-can .price-per-100ml {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1;
  color: #b9c6d0;              /* Mesma cor da classe .description */
  margin-left: 6px;            /* Espaço entre o preço principal e o texto */
  align-self: flex-end;        /* Alinha perfeitamente com a base do preço */
  padding-bottom: 2px;         /* Ajuste fino visual de alinhamento */
  white-space: nowrap;         /* Impede que o texto quebre de linha */
}


.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version (Chrome, Edge, Opera, Firefox) */
}

.promo-ribbon {
  position: absolute !important;
  top: 10px;
  left: -40px;
  width: 125px;
  text-align: center;
  transform: rotate(-45deg);
  /*background: #ff416c;*/
  background: yellow;
  /* color: #ffffff; */
  color: black;
  font-size: 0.8vw; 
  /* font-weight: bold; */
  letter-spacing: 0.05em;
  padding: 0.4em 0;
  z-index: 20 !important;
  text-transform: uppercase;
}