/* Remove setinhas do input number (Chrome, Edge, Safari, Opera) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove setinhas no Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Ajuste visual dos botões e input */
.input-group .form-control {
    height: 42px;
    font-size: 1.1rem;
}

.btn-quantidade {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Botão de favorito (coração) --- */
.btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Ícone do coração */
.btn-favorito i {
    color: #d32f2f;
    font-size: 1.5rem;
    line-height: 0;
}

/* Efeito hover no botão de favorito */
.btn-favorito:hover {
    background-color: #ffe4e4;
    transform: scale(1.1);
}

.img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.preco-container {
    display: flex;
    align-items: flex-start;
}

.preco-promocional {
    font-size: 2rem;
    color: var(--cor-preco);
}

.preco-original {
    font-size: 1.2rem;
    color: #777;
    text-decoration: line-through;
    opacity: 0.8;
    display: flex;
    align-items: start;
}

.preco-badge {
    background-color: #ffe58f;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
}