* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    #imagens {
        justify-content: center; /* centraliza no PC */
    }

    #imagens img {
        flex: 0 0 300px; /* tamanho fixo melhor */
    }
}

html, body {
  height: 100%;
}
body{
    background-color: rgb(31, 31, 31);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
}
#header{
    position: relative; /* Necessário para o TL se posicionar em relação a ele */
    display: flex;
    justify-content: center; /* Centraliza a logo */
    align-items: center;
    height: 150px;
    background-color: rgb(20, 20, 20);
    border-radius: 10px;
    box-shadow: 0 2px 8px #f23f21; /*#f23f21;*/
    padding: 0 20px;
}
#logo {
  display: flex;
  align-items: center;
}

#logo a {
  display: flex;
  text-decoration: none;
}
#logo img {
  width: 140px;
}
#tl{
    position: absolute; /* Tira o TL do fluxo normal */
    left: 10px;         /* Alinha ele colado na esquerda */
    list-style: none;
    display: flex;      /* Mudei para flex para alinhar textos se precisar */
    flex-direction: column;
    gap: 5px;           /* Reduzi o gap para textos pequenos */
}
#tl h1{
    color: white;
    font-size: 12px;
    margin: 0;
}
#tl h2{
    color: white;
    font-size: 9px;
    margin: 0;
}
#conteudo{
    padding-top: 40px;
    flex: 1;
}
#conteudo h1{
    color: white;
    text-align: center;
}

#imagens {
    height: 250px;
    display: flex;
    overflow-x: auto;          /* Permite o scroll horizontal */
    scroll-snap-type: x mandatory; /* Faz as imagens "mordem" o centro da tela */
    gap: 10px;                 /* Espaço entre as fotos */
    padding: 10px;
    padding-top: 20px;
}

#imagens img {
    flex: 0 0 80%;             /* Cada imagem ocupa 80% da largura da div */
    max-width: 400px; /* LIMITE no desktop */
    width: 100%;
    border-radius: 12px;       /* Deixa as bordinhas arredondadas (estilo app) */
    scroll-snap-align: center; /* Alinha a imagem no centro ao arrastar */
    object-fit: cover;         /* Garante que a foto não fique esticada */
}

#select-unidade {
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgb(20, 20, 20);
    padding-bottom: 50px;
}

#horarios{
    color: white;
    background-color: rgb(20, 20, 20);
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
}

#select-unidade h1{
    font-size: 25px;
}

label {
    margin-bottom: 8px;
    margin-top: 10px;
}

select {
    appearance: none; /* Remove o estilo padrão do sistema */
    -webkit-appearance: none;
    background-color: rgb(20, 20, 20);
    border: 2px solid #2f1310; /* Cor temática (ex: amarelo lanchonete) */
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px; /* Evita o zoom automático no iPhone */
    cursor: pointer;
    outline: none;
    color: white;
    /* Adicionando uma setinha customizada */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffca28%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}
select:focus {
    border-color: #943e37; /* Muda a cor ao clicar */
}
option{
    text-align: center;
}

button{
    text-transform: uppercase;
    background-color: rgb(20, 20, 20);
    color: rgb(255, 255, 255);
    border: none;
    padding: 13px 30px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 5px;
}

#informacoes{
    display: none;
    color: white;
    padding: 20px;
    background-color: rgb(20, 20, 20);
    margin-top: 10px;
    border-radius: 10px;
}
#informacoes h1{
    font-size: 25px;
}
#informacoes h2{
    padding-top: 10px;
    font-size: 20px;
}
#informacoes iframe{
    width:100%;
    height:200px;
}
#erro{
    padding: 5px;
    color: rgb(255, 0, 0);
    display: none;
}
#lanches{
    padding-top: 30px;
}

#lanches h1{
    color: #f23f21;
}
#lanches h2{
    color: white;
    font-size: 14px;
    padding: 10px;
}
#sobremesas{
    padding-top: 30px;
    box-shadow: 0 2px 8px rgb(20, 20, 20); /*#f23f21;*/
    padding-bottom: 40px;
}
#sobremesas h1{
    color: #f23f21;
}
#sobremesas h2{
    color: white;
    font-size: 14px;
    padding: 10px;
}
#meio{
    padding: 20px;
}
#meio h1{
    font-family: "Lobster", sans-serif;
    color: #f23f21;
    font-size: 35px;
}
#meio #OFC {
    font-family: "Lobster", sans-serif;
    color: #ffffff;
    
}

#rodape {
  background-color: rgb(20, 20, 20);
  color: #ffffff;
  padding: 15px;
  text-align: center;
  width: 100%;
}
#rodape a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}
#rodape a:hover {
    text-decoration: underline;
}

#menu {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

#bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 230px;
  height: 100%;
  background: rgb(20, 20, 20);
  padding: 30px;

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

#bar.ativo {
  transform: translateX(0);
}

#itens {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#itens a {
  color: white;
  text-decoration: none;
  padding-top: 15px;
  text-align: right;
}

#itens a:hover {
  color: gray;
}

#itens h1{
    color: #f23f21;
    text-align: center;
}
#itens #fechar{
    color: white;
    text-align: left;
    padding-top: 0;
    cursor: pointer;
}
#padaria {
    padding: 20px;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    align-items: center;
}
#padaria h1{
    color: #f23f21;
}
#padaria h2{
    color: white;
    font-size: 15px;
    padding: 10px;
    padding-top: 15px;
}
#padaria button{
    margin-top: 20px;
    padding: 15px 35px;
}
#conteudoAplicacao{
    padding: 30px;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    align-items: center;
    flex: 1;
}
#conteudoAplicacao h1{
    color: #f23f21;
}
#conteudoAplicacao h2{
    color: white;
    font-size: 20px;
    padding: 20px;
}
#conteudoPad{
    padding: 30px;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    align-items: center;
    flex: 1;
}
#conteudoPad h1{
    color: #f23f21;
}
#conteudoPad h2{
    color: white;
    font-size: 20px;
    padding: 20px;
}

#tabela {
  width: 100%;
  border-collapse: collapse;
  color: white;
  margin-top: 30px;
}

#tabela th {
  background: #f23f21;
  padding: 3px;
}

#tabela td {
  padding: 10px;
  border: 1px solid rgb(20, 20, 20);
  text-align: center;
}

#imagens::-webkit-scrollbar {
    height: 8px; /* altura da barra horizontal */
}

#imagens::-webkit-scrollbar-track {
    background: rgb(20, 20, 20); /* fundo escuro */
    border-radius: 10px;
}

#imagens::-webkit-scrollbar-thumb {
    background: #f23f21; /* cor principal */
    border-radius: 10px;
}

#imagens::-webkit-scrollbar-thumb:hover {
    background: #ff5a3d; /* leve destaque ao passar o mouse */
}

#imagens {
    scrollbar-width: thin; /* fina */
    scrollbar-color: #f23f21 rgb(20, 20, 20);
}