body {
    font-family: Arial, sans-serif;
    margin: 10px;
    text-align: center;
    background-color: #e2cdba;
}

.progress {
    width: 100%;
    margin-bottom: 5px;
}

/* Ajustar o progresso percentual */
#progress-percent {
    font-size: 1rem;
    color: white;     /* Mudando para uma cor visível */
    font-weight: bold;
}

#prev, #next {
    background: transparent;    /* sem cor de fundo */
    border: none;   /* sem borda */
    outline: none;  /* sem outline ao focar */
    box-shadow: none;   /* sem sombra */
    width: 80px;
    height: 80px;
    font-size: 3.5rem;
    cursor: pointer;
}

#prod-img {
    margin: 0 auto;
    width: auto;
    min-height: 35vh;
    max-height: 50vh;   /* ajusta conforme queira */
}

#img-placeholder {
    display: none;
    font-size: 2rem;
    color: #666;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
    vertical-align: middle;
}

button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.product {
    padding: 20px;
    margin-top: auto;
}

.product-info {
    margin-bottom: 10px;
}

.product-info #prod-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.product-info #prod-code {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}


.quantity-section input {
    text-align: center;
    height: 50px;
    width: 150px;
    border-radius: 10px;
    vertical-align: middle;
    font-size: 2rem;
    -appearance: textfield;
}


/* Remove botões de spinner em navegadores WebKit/Chrome/Safari/Edge */
.quantity-section input::-webkit-outer-spin-button,
.quantity-section input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#int-zero, #frac-zero {
    font-weight: bold;
    margin-left: 30px;
}


.error {
    border: 2px solid red;
}



/* Barra de ferramentas oculta */
.toolbar-container {
  position: fixed;
  bottom: -60px; /* Inicialmente oculta abaixo da tela */
  left: 0;
  right: 0;
  background-color: rgba(240, 240, 240, 0.95);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  transition: bottom 0.3s;
  z-index: 1000;
}

#toolbar-toggle {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 30px;
  background-color: rgba(240, 240, 240, 0.95);
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.toggle-arrow {
  line-height: 30px;
  font-size: 14px;
  color: #555;
  transition: transform 0.3s;
}

#toolbar-content {
  padding: 15px;
  text-align: center;
}

/* Classe para quando a barra está visível */
.toolbar-visible {
  bottom: 0;
}

/* Rotação da seta quando a barra está visível */
.toolbar-visible .toggle-arrow {
  transform: rotate(180deg);
}

/* Espaço para os botões na barra */
#toolbar-content button {
  margin: 0 10px;
}