html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

#palco {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

#wrap {
  position: relative;
  flex: 0 0 auto;
}

.box {
  width: 1304px;
  height: 720px;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  background: url(https://qualeamusica.net/fondue/imagens/fundo.png) no-repeat;
}

/* Distância da loja */
.dist {
  position: absolute;
  left: 1083px;
  top: 16px;
  width: 170px;
  height: 50px;
  padding-top: 9px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
  z-index: 300;
}
.dist b {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #d8c7a8;
  line-height: 16px;
}
.dist span {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #ffd45a;
  line-height: 20px;
}

/* Slots da bandeja */
.slot {
  position: absolute;
  width: 140px;
  height: 120px;
  z-index: 10;
}

/* Combinação (rodapé com frutas escolhidas) */
.combo {
  position: absolute;
  left: 40px;
  top: 447px;
  width: 419px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 40;
}

.cell {
  position: relative;
  width: 78px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell img {
  width: 70px;
  height: 63px;
  object-fit: contain;
}

/* Botão remover (X) */
.x {
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  cursor: pointer;
  padding: 0;
}

/* Contador */
.contador {
  position: absolute;
  left: 277px;
  top: 414px;
  width: 70px;
  height: 30px;
  font-size: 21px;
  font-weight: 700;
  line-height: 30px;
  color: #fff;
  z-index: 85;
}

/* Botões de seleção */
.btn {
  position: absolute;
  z-index: 50;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s;
}
.btn:active {
  transform: scale(0.95);
}
.btn img {
  width: 125px;
  height: 95px;
  object-fit: contain;
  display: block;
}

/* Total */
.total {
  position: absolute;
  left: 740px;
  top: 650px;
  width: 419px;
  height: 55px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 55px;
  z-index: 100;
}

/* Confirmar pedido */
#confirmar {
  left: 40px;
  top: 523px;
  z-index: 100;
}
#confirmar img {
  width: 417px;
  height: 54px;
}

/* Modal */
#modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 0 24px;
}
#modal .cx {
  max-width: 360px;
  background: #2b1a10;
  border: 2px solid #ffd45a;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
}
#modal pre {
  white-space: pre-wrap;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #ffd45a;
  font-family: Arial, sans-serif;
  margin: 0;
}
#modal button {
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  background: #ffd45a;
  color: #2b1a10;
  cursor: pointer;
}
