@font-face {
  font-family: "TAN-NIMBUS";
  src: url("../fonts/TAN-NIMBUS.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #4c1f0a;
  font-family: "Cinzel";
  color: #f6eadf;
}

a {
  text-decoration: none;
  color: inherit;
}

.conteudo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 26px 4vw 40px;
  width: 100%;
  max-width: 1200px;
}

.card {
  min-height: 330px;
  background: #f5e9db;
  color: #3e241a;
  border: 3.5px solid #5c3535c8;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card[hidden] {
  display: none;
}

.card h3 {
  font-family: "Cinzel";
}

.card h2 {
  font-family: "Cinzel";
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  margin-bottom: 22px;
  border-bottom: 3px solid #c97b5a;
  width: 100%;
  text-align: center;
  padding-bottom: 10px;
}

.ilustra {
  width: 150px;
  height: 180px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ilustra-bebidas {
  background-image: url("../logs/gatos/bebida.png");
}

.ilustra-salgados {
  background-image: url("../logs/gatos/salgados.png");
}

.ilustra-doces {
  background-image: url("../logs/gatos/doce.png");
}

.ilustra-paes {
  background-image: url("../logs/gatos/paes.png");
}
.categorias {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 4vw 38px;
  width: 100%;
  max-width: 1200px;
}

.categorias article {
  background: rgba(111, 8, 8, 0.404);
  border: 1px solid rgba(255, 255, 255, 0.392);
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 120px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.categorias article:hover {
  background: rgba(119, 90, 90, 0.423);
  transform: translateY(-3px);
}

.categorias h3 {
  font-family: "Cinzel Decorative";
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.divider {
  border-top: 1px solid #262626;
}

.divider-dashed {
  border-top: 1px dashed #333;
  margin-top: 48px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
}

.brand-name {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: "Cinzel Decorative";
}

.bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  color: #737373;
  font-size: 14px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.socials a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.socials a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .conteudo,
  .categorias {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .conteudo,
  .categorias {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 280px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
}

.ver-mais-produtos {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #6b4423;
}

.link-ver-mais {
  padding: 1rem;
  color: #3d2817;
  font-family: "Cinzel Decorative", serif;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: pre-line;
}

.product-card {
  cursor: pointer;
}

.busca-aviso {
  color: #f5d6c6;
  text-align: center;
  padding: 10px;
  font-family: Quicksand, sans-serif;
}

.footer-cafeteria {
  margin-top: auto;
}

.pagina-cardapio {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: transparent;
}

#grainient-background,
.grainient-container--background {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(73deg, #631f08 0%, #ffffff 33.333%, #631f08 66.667%, #ffffff 100%);
  background-size: 200% 200%;
  animation: kfa-grainient-fallback 22s ease-in-out infinite alternate;
}

.grainient-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#grainient-background::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

@keyframes kfa-grainient-fallback {
  from { background-position: 0% 0%; }
  to { background-position: 100% 70%; }
}

@media (max-width: 700px) {
  #grainient-background,
  .grainient-container--background {
    height: 100dvh;
    animation-duration: 30s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #grainient-background,
  .grainient-container--background {
    animation: none;
  }
}
