* {
    box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');


/* ================ 📦 ESTILO DOS CAMPOS DE QUANTIDADE (CAIXA / UNIDADE) ================ */
.quantidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    max-width: 350px; /* Um pouco maior para caber bem os dois campos */
}

.qtd-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 10px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

/* Muda a cor da borda quando o input dentro do card focar */
.qtd-card:focus-within {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.qtd-card img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-bottom: 8px;
}

.qtd-card label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 8px;
}

.qtd-card:focus-within label {
    color: #1e40af; /* Destaca o texto quando o campo está focado */
}

/* ⬜ O estilo do input em si */
.qtd-input {
    width: 80px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    outline: none;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    color: #0f172a;
}

.qtd-input:focus {
    border-color: #3b82f6;
}

/* Oculta as setinhas (spinners) padrão dos inputs number em alguns navegadores (opcional, deixa mais limpo) */
.qtd-input::-webkit-outer-spin-button,
.qtd-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qtd-input[type=number] {
    -moz-appearance: textfield;
}