/**
 * Estilos para os botões de quantidade do WooCommerce
 * Versão limpa e padrão para Alpha Futevolei
 *
 * @package Alpha_Futevolei
 */

/* Container de quantidade */
.quantity {
    position: relative;
    margin-right: 15px;
    display: inline-flex;
    height: 40px;
    border: none;
    vertical-align: middle;
}

/* Estilos comuns para botões */
.quantity .minus,
.quantity .plus {
    display: inline-block;
    padding: 0;
    width: 35px;
    height: 40px;
    background-color: #f2f2f2;
    border: 1px solid #d3ced2;
    color: #515151;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s;
}

/* Botão de menos */
.quantity .minus {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

/* Botão de mais */
.quantity .plus {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

/* Estados de hover */
.quantity .minus:hover,
.quantity .plus:hover {
    background-color: #e6e6e6;
}

/* Input de quantidade */
.quantity .qty {
    width: 50px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid #d3ced2;
    background-color: #fff;
    color: #515151;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    border-radius: 0;
}

/* Remover setas do input */
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* Específico para páginas de produtos */
.woocommerce div.product form.cart .quantity {
    float: left;
    margin-right: 15px;
}

/* Ajustes para variações */
.woocommerce .variations_form .quantity {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Ajustes para telas pequenas */
@media (max-width: 768px) {
    .quantity .minus,
    .quantity .plus,
    .quantity .qty {
        height: 36px;
    }
    
    .quantity .qty {
        width: 40px;
    }
}

/* Ajustes para botões padrão do WooCommerce */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    margin-left: 5px;
}
