@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  background: url('https://wallpaperbat.com/img/59166-wallpaper-food-eggs-bread-pizza-food-pizza-flour-bread.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: -1;
}

.mt150 { margin-top: 150px; }
a { cursor: pointer; text-decoration: none; }
p { margin: 10px 3px; }
iframe { width: 100%; }

.mt100 { margin-top: 100px; }
.mt50 { margin-top: 50px; }
.center { text-align: center; }
.category-title { text-transform: uppercase; border-bottom: 1px solid #ddd; }

/* Sistema de Grid */
.container {
  margin-left: 300px;
  width: 100%;
  max-width: 92vw;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

[class*="col-"] {
  margin: 10px;
  flex: 1 1 auto;
}

.col-1 { flex: 0 0 calc(8.333% - 20px); }
.col-2 { flex: 0 0 calc(16.666% - 20px); }
.col-3 { flex: 0 0 calc(25% - 20px); }
.col-4 { flex: 0 0 calc(33.333% - 20px); }
.col-5 { flex: 0 0 calc(41.666% - 20px); }
.col-6 { flex: 0 0 calc(50% - 20px); }
.col-7 { flex: 0 0 calc(58.333% - 20px); }
.col-8 { flex: 0 0 calc(66.666% - 20px); }
.col-9 { flex: 0 0 calc(75% - 20px); }
.col-10 { flex: 0 0 calc(83.333% - 20px); }
.col-11 { flex: 0 0 calc(91.666% - 20px); }
.col-12 { flex: 0 0 calc(100% - 20px); }

@media (max-width: 768px) {
  [class*="col-"] {
    flex: 0 0 calc(100% - 20px);
    padding: 10px;
  }
}

/* Estilo do menu */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #b22222; /* Vermelho escuro */
  padding: 10px;
  z-index: 1000;
}

header .categories {
  display: flex;
  padding: 10px 15px;
  border-bottom: 2px solid #ffcc66; /* Dourado */
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}

header .categories::-webkit-scrollbar {
  height: 6px;
}

header .categories::-webkit-scrollbar-thumb {
  background: #228b22; /* Verde escuro */
  border-radius: 3px;
}

header .categories::-webkit-scrollbar-thumb:hover {
  background: #145a14; /* Verde mais escuro */
}

header .category {
  color: white;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  text-align: center;
  flex-shrink: 0;
}

header .category:not(:last-child) {
  border-right: 2px solid #ffcc66;
  margin-right: 15px;
}

header .category:hover {
  background-color: #8b0000; /* Vermelho escuro intenso */
}

header .category.selected {
  background-color: #ffcc66;
  transform: scale(1.1);
}

/* Estilo das colunas de produtos */
.product {

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ffcc66; /* Dourado */
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  background-color: #fffaf0; /* Creme */
  transition: transform 0.3s, opacity 0.3s;
  opacity: 1;
  min-width: 250px;
  width: auto; /* Largura responsiva */
  box-sizing: border-box;


}

.product h3 { margin: 10px 0; }
.product p { margin: 10px 0; }

.product button,
button,
.btn,
a.btn {
  background-color: #228b22; /* Verde escuro */
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.product button:hover,
button:hover,
.btn:hover,
a.btn:hover {
  background-color: #145a14; /* Verde mais escuro */
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.modal-content {
  background-color: #fffaf0; /* Creme */
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 80%;
}

.modal h3 { margin-top: 0; }

.modal .close {
  background-color: #b22222; /* Vermelho escuro */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.modal .close:hover {
  background-color: #8b0000; /* Vermelho escuro intenso */
}

.footer {
  color: #333;
  background-color: #fffaf0; /* Creme */
  font-family: Arial, sans-serif;
}

.ftbg { padding: 20px; }

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-section {
  width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  color: #b22222;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
  cursor: pointer;
}

.footer-section ul li a {
  cursor: pointer;
  color: #228b22;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover { color: #b22222; }
.footer-section ul li a:focus { outline: none; text-decoration: underline; }

.footer-section ul li:hover { color: #ffcc66; }

.logo { width: 80%; }

.header-text { color: #fff; }

/* Preço */
.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b22222;
  margin: 10px 0;
  text-align: center;
}

.price.discount {
  color: #8e8e8e;
  text-decoration: line-through;
}

.price.promotion {
  color: #228b22;
  font-size: 1.8rem;
  font-weight: bold;
}
