@font-face {
  font-family: "Urban Goath";
  src: url("fonts/Urban-Goath.woff2") format("woff2");
}

@font-face {
  font-family: "Light Pixel-7";
  src: url("fonts/light_pixel-7.ttf") format("truetype");
}

@font-face {
  font-family: "Ticketing";
  src: url("fonts/Ticketing.ttf") format("truetype");
}

@font-face {
  font-family: "Pixel Forge";
  src: url("fonts/PixelForge.otf") format("opentype");
}

@font-face {
  font-family: "Back to 1982";
  src: url("fonts/BackTo1982.ttf") format("truetype");
}

@font-face {
  font-family: "Gummy Candy";
  src: url("fonts/GummyCandyDemoRegular.ttf") format("truetype");
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "ZT Nature";
  src: url("fonts/zt_nature/ZTNature-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}

body{
  font-family: "ZT Nature", "Lucida Console", "Courier New", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.pixel-body {
  font-family: "Ticketing", "Lucida Console", "Courier New", monospace;

}

.about-text {
  max-width: 700px;
  margin: 0 auto;
}

h1 {
  font-family: "Gummy Candy", "Lucida Console", "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
  font-weight: bold;
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #C4A484;
  padding: 0 20px;
  width: 100%;
  height: 88.5px;
  box-sizing: border-box;
}

.navbar-logo {
  height: 95px;
  width: auto;
}

.nav-links {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.15s ease;
  font-family: "Back to 1982", "Lucida Console", "Courier New", monospace;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
#filters {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 3px 0 20px;
  padding: 6px;
  background-color: #f4ede4;
  border: 2.5px solid #C4A484;
  border-radius: 999px;
}

.filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  color: #333;
  background-color: transparent;
  font-family: "Ticketing", "Lucida Console", "Courier New", monospace;
  font-size: 1.2rem;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-pill:hover {
  background-color: rgba(196, 164, 132, 0.35);
}

.filter-pill.active {
  background-color: #C4A484;
  color: #fff;
  transform: scale(1.06);
}

.filter-pill input.category-checkbox {
  accent-color: #C4A484;
}

#menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  font-size: 2 rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.2;
}
.card img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.card {
  cursor: pointer;
}

.card-name {
  font-family: "Ticketing", "Lucida Console", "Courier New", monospace;
  font-size: 1.5rem;
  font-style: normal;
  margin: 8px 0 4px;
}

.card-info-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-price,
.card-batch {
  font-family: "Ticketing", "Lucida Console", "Courier New", monospace;
  font-size: 1.2rem;
  font-style: normal;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  position: relative;
  width: 75%;
  height: 75%;
  background-color: #fff;
  border-radius: 12px;
  padding: 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  text-align: left;
}

.modal-image-wrap {
  position: relative;
  flex: 0 0 45%;
  max-width: 45%;
}

.modal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.modal-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
}

.modal-info-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.modal-info-header h2 {
  margin: 0;
  width: 100%;
}

#modal-name {
  font-family: "Light Pixel-7", "Lucida Console", "Courier New", monospace;
  font-size: 1.8rem;
  font-style: normal;
}

#modal-price,
#modal-batch-size {
  font-family: "Ticketing", "Lucida Console", "Courier New", monospace;
  font-size: 1.25rem;
  font-style: normal;
}

#modal-description {
  font-family: "Ticketing";
  font-size: 1.25rem;
  color: #555;
}

@media (max-width: 700px) {
  .modal {
    flex-direction: column;
    text-align: center;
  }

  .modal-image-wrap {
    flex: none;
    max-width: 100%;
    max-height: 50%;
  }

  .modal-info-header {
    justify-content: center;
  }
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  color: #333;
}

.modal-arrow.hidden {
  display: none;
}

.modal-arrow-prev {
  left: 8px;
}

.modal-arrow-next {
  right: 8px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

#modal-add-btn {
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.order-info {
  text-align: center;
  about-page-text {
    max-width: 700px;
    margin: 0 auto;
}




#order-summary {
  border: 1px solid #333;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
  max-width: 500px;
}

#summary-table {
  width: 100%;
  border-collapse: collapse;
}

#summary-table td {
  padding: 6px 4px;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #a33;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.button-link {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background-color: #C4A484;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.button-link:hover {
  background-color: #b3906d;
}
