body{margin:0;
    font-family:sans-serif;
    background:#fafafa;
    color:#333}

header{display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 25px;
    background:#5bffd6;
    color:#ebbe2d;
    font-family: 'Times New Roman', sans-serif;
    }

header .logo{font-weight:bold;
    font-size:20px;
    display:flex;
    align-items:center;
    padding: 10px 20px;
    border: 2px solid #ebbe2d;
    border-radius: 5px;
}

header .dot{background:#fff;
    color:#ebbe2d;
    font-weight:bold;
    border-radius:50%;
    padding:6px 6px;
    margin-right:6px}

header nav a{color:#000;
    text-decoration:none;
    margin:0 8px}

.rest-list{display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:16px;
    margin-top:20px}

.rest{display:flex;
    flex-direction:column;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
    color:#000;
    text-decoration:none}

.rest img{width:100%;
    height:120px;
    object-fit:cover}

.rest .meta{padding:8px}

.btn{padding:12px 300px;
    background:#000;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    align-items:center;
  }

.btn:hover{background:#b71c1c;
  align-items:center;}

.item{display:flex;justify-content:space-between;
    border-bottom:1px solid #eee;
    padding:8px 0;
    align-items:center;}

.empty{padding:20px;
    text-align:center;
    color:#777;
    }

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    
  }
  
  .checkout-form input, 
  .checkout-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
  
  }
  
  /* Banner hero *//* Contêiner do banner */
.hero {
    position: relative;        /* necessário para o ::after */
    width: 100%;               /* ocupa toda a largura da tela */
    padding-top: 32.5vh;       /* altura proporcional = 16/9 → 9 ÷ 16 = 0.5625 = 56.25% */
    background-image: url("imagens/banner.png");
    background-position: center;
    background-size: cover;    /* ou 'contain' se quiser toda a imagem visível */
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay semi-transparente */
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Conteúdo centralizado */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .hero {
        padding-top: 75%; /* proporcional diferente para celular se quiser mais alto */
    }
}
  
  .hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
    font-family: 'Times New Roman', sans-serif;
    color:#ebbe2d;
  }
  
  .hero p {
    font-size: 20px;
    font-family: 'Times New Roman', sans-serif;
    color:#ebbe2d;
  }
  
  /* Sessão de produtos */
  .produtos {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .produtos h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Distribuição dos produtos em grid */
  .rest-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Página de produto */
.produto-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .produto-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .produto-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .produto-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .produto-info h2 {
    font-size: 28px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .descricao {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .preco {
    font-size: 20px;
    color: #d60000;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* ===============================
   ESTILO PARA PÁGINA DE PRODUTO
   =============================== */

.produto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 30px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Galeria de imagens */
  .galeria {
    flex: 1;
    min-width: 320px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .imagem-principal {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: 'Times New Roman', sans-serif;
  }
  
  .miniaturas {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .miniaturas img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .miniaturas img:hover {
    transform: scale(1.1);
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Informações do produto */
  .detalhes {
    flex: 1;
    min-width: 300px;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .detalhes h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .preco {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    margin: 15px 0;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .descricao {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #444;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Selects de tamanho e cor */
  .detalhes label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .detalhes select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Times New Roman', sans-serif;
  }
  
  /* Botão */
  .detalhes button {
    margin-top: 25px;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .detalhes button:hover {
    background: #333;
    font-family: 'Times New Roman', sans-serif;
  }
  
  .botao-container {
    width: 100%;
    color: #000;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    font-family: 'Times New Roman', sans-serif; /* centraliza horizontalmente */
}
