body{margin:0;font-family:Arial;background:#f8fafc;color:#111}

header{text-align:center;padding:20px}

.categorias{
  display:flex;
  gap:8px;
  padding:10px;
  overflow-x:auto;
}

.categorias button{
  background:#111;
  color:#fff;
  border:none;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
}

.categorias button:hover{
background:#d1d5db;
}
.container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
padding:15px;
}

.titulo{
  grid-column: 1 / -1;
  margin-top: 25px;
}

.card{
background:#ffffff;
color:#111;
box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.card p:not(.desc){
  color:#22c55e;
  font-weight:bold;
}

.card button{
background:#ef4444;
border:none;
padding:10px;
margin-bottom:10px;
color:white;
border-radius:8px;
font-weight:bold;
cursor:pointer;
transition:0.2s;
}

.card button:hover{
background:#dc2626;
}

/* BOTÃO CARRINHO */
.carrinho{
  bottom:15px;
  right:15px;
  padding:12px;
}

#qtd{
background:red;
padding:3px 8px;
border-radius:50%;
margin-left:5px;
}

/* CARRINHO BOX */
.carrinho-box {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 350px; /* AUMENTA A LARGURA */
    max-height: 80vh; /* limita altura */

    background: #fff;
    border-radius: 15px;
    padding: 15px;

    box-shadow: 0 0 20px rgba(0,0,0,0.2);

    overflow-y: auto; /* SCROLL automático */
    z-index: 999;
}

.tipo-entrega{
display:flex;
gap:10px;
margin-bottom:10px;
}

.tipo-entrega button{
flex:1;
padding:8px;
border:none;
border-radius:10px;
background:#1f2937;
color:white;
}

.tipo-entrega button.active{
background:#22c55e;
}

.resumo{margin-top:10px}

.finalizar {
    width: 100%;
    padding: 12px;
    margin-top: 10px;

    background: #00a884;
    color: white;
    border: none;
    border-radius: 10px;

    font-size: 16px;
    cursor: pointer;
}


/* IMAGENS DOS COMBOS MAIORES */
.card.combos img{
  height:260px; /* aumenta o espaço */
  object-fit:contain; /* mostra a imagem inteira sem cortar */
  background:#000; /* opcional, fundo pra não ficar estranho */
}

/* INGREDIENTES / DESCRIÇÃO */
.desc{
  font-size:13px;
  color:#000; /* preto */
  margin:5px 10px;
  line-height:1.4;
}

.desc{
  text-transform: uppercase;
}

.input{
width:100%;
padding:10px;
margin-top:8px;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
}

/* IMAGENS DOS COMBOS MAIORES */
.card.combos img{
  height:260px;
  object-fit:contain;
  background:#000;
}

/* INGREDIENTES / DESCRIÇÃO */
.desc{
  font-size:13px;
  color:#000;
  margin:5px 10px;
  line-height:1.4;
}

.topo {
  position: relative;
}

.capa {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.logo-box {
  position: absolute;
  top: 200px; /* controla a altura */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 15px;
}

.info-topo {
  text-align: center;
  margin-top: 80px;
}

.info-topo h1 {
  margin: 10px 0 5px;
}

.info-topo p {
  color: #555;
  font-size: 14px;
}

.endereco a {
  color: #00aaff;
  text-decoration: none;
}

.endereco a:hover {
  text-decoration: underline;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  background: #fff;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}


/* ===== INFOS (Entrega, Retirada, etc) ===== */
.infos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 15px;
}

.info {
  width: 30%;
  margin: 10px 0;
  font-size: 13px;
}

/* ===== STATUS ===== */
.status {
  margin-top: 10px;
  color: #d4ac0d;
  font-size: 13px;
  font-weight: bold;
}

.info-geral {
    display: flex;
    flex-direction: column;
    align-items: center; /* ISSO CENTRALIZA TUDO */
}

/* padrão das linhas */
.linha {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

/* entrega e retirada */
.linha2 div {
    text-align: center;
}

/* horários, info, pagamento */
.linha3 div {
    cursor: pointer;
}

/* última linha */
.linha4 {
    margin-top: 15px;
    font-weight: bold;
    color: green;
}


.pagamento {
  font-family: Arial;
  padding: 20px;
}

.bloco {
  margin-bottom: 20px;
}

.cartoes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cartao {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  padding: 8px 12px;
  border-radius: 8px;
}

.cartao img {
  width: 40px;
  height: auto;
}

/* BOTÕES */
.linha2 {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.linha2 button {
  flex: 1;
  background: #111;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.linha2 button:hover {
  background: #e50914;
  transform: scale(1.05);
}

/* CAIXAS DE CONTEÚDO */
.conteudo {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 15px;
  margin-top: 10px;
  border-radius: 12px;
  animation: aparecer 0.3s ease;
}

/* ANIMAÇÃO */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tela{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:#fff;
z-index:2000;

transform:translateX(100%);
transition:0.3s;
}

.tela.ativa{
transform:translateX(0);
}

.tela-topo{
display:flex;
align-items:center;
gap:10px;
padding:15px;
background:#e50914;
color:white;
}

.tela-topo button{
background:none;
border:none;
color:white;
font-size:18px;
cursor:pointer;
}

.tela-conteudo{
padding:20px;
color:#111;
}

.insta{
display:inline-block;
background:#E1306C;
color:white;
padding:10px 15px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
margin-top:10px;
}

.insta:hover{
background:#c72c5c;
}


/* TITULO */
.extras-box h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

/* ITENS */
.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2b2b2b;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #fff;
}

/* BOTÕES + E - */
.extra-item button {
    background: #ff3c3c;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* QUANTIDADE */
.extra-item span {
    margin: 0 10px;
    font-weight: bold;
}

/* BOTÕES FINAL */
.extras-box button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* CONFIRMAR */
.extras-box button:first-of-type {
    background: #00c853;
    color: white;
}

/* CANCELAR */
.extras-box button:last-of-type {
    background: #444;
    color: white;
}

#overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    z-index: 998;
}

.img-extra{
  width: 100%;
  max-height: 150px;
  object-fit: contain; /* 🔥 ESSENCIAL */
  background: #000; /* opcional */
  border-radius: 10px;
  margin-bottom: 10px;
}


.extras-box{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    width: 90%;
    max-width: 350px;

    background: #1e1e1e;
    border-radius: 15px;
    padding: 20px;
    z-index: 999;

    box-shadow: 0 0 30px rgba(0,0,0,0.6);

    opacity: 0;
    transition: 0.25s;
}
/* ANIMAÇÃO */
@keyframes subir {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.extras-box.ativo{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.titulo{
  grid-column: 1 / -1;
  clear: both;
}

.online{
  background: #00c853;
  color: white;
  font-weight: bold;
}

.carrinho-box h2 {
    margin-bottom: 10px;
}

.carrinho-box ul {
    margin: 10px 0;
    padding: 0;
}

.carrinho-box li {
    margin-bottom: 8px;
    font-size: 14px;
}

.fechar-carrinho{
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}


.ler-mais{
    background: none;
    border: none;
    color: #ffcc00;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.acoes{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  gap:10px;
}


.desc{
  font-size:13px;
  color:#000;
  line-height:1.4;
  text-transform: uppercase;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 🔥 menor no celular fica melhor */
  -webkit-box-orient: vertical;
}

.desc.expandido{
  -webkit-line-clamp: unset;
  display: block;
}

.ler-mais{
  font-weight:bold;
  color:#ffcc00;
  cursor:pointer;
  display:block;
  margin-top:5px;
}

@media (max-width: 768px){
  .desc{
    -webkit-line-clamp: 3;
  }
}

/* ===== MOBILE AJUSTES ===== */
@media (max-width: 480px){

  .container{
    grid-template-columns: 1fr;
    padding:10px;
  }

  .carrinho-box{
    width: 95%;
    right: 2.5%;
    bottom: 10px;
  }

  .logo-box{
    top: 180px;
  }

  .logo{
    width:80px;
    height:80px;
  }

  .capa{
    height:180px;
  }

  .categorias{
    padding:8px;
  }

  .categorias button{
    font-size:11px;
    padding:5px 10px;
  }

  .card img{
    height:150px;
  }

}

/* ===== BOTÃO CARRINHO FIXO MOBILE ===== */
.carrinho{
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #22c55e;
  padding: 14px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999; /* 🔥 GARANTE QUE FICA NA FRENTE */
}

/* MOBILE */
@media (max-width: 480px){
  .carrinho{
    bottom: 15px;
    right: 15px;
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px){

  .container{
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .card img{
    height: 100px; /* menor */
    object-fit: contain; /* mostra imagem inteira */
    background: #000; /* opcional pra não ficar feio */
  }

  .card h2{
    font-size: 14px;
  }

  .card p{
    font-size: 12px;
  }

  .card button{
    font-size: 12px;
    padding: 6px;
  }

}

@media (max-width: 768px){

  .container{
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .card img{
    height: 100px; /* menor */
    object-fit: cover; /* mostra imagem inteira */
    background: #000; /* opcional pra não ficar feio */
  }

  .card h2{
    font-size: 14px;
  }

  .card p{
    font-size: 12px;
  }

  .card button{
    font-size: 12px;
    padding: 6px;
  }

}