

/* Stile per gli input di testo */
.wp-block-add-to-cart-form input.input-text.qty {
    border-radius: 0px;
    font-family: var(--wp--preset--font-family--primary);
    background-color: var(--wp--preset--color--transparent);
    border: 1px solid var(--wp--custom--color--primary);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--base-content);
}
.wp-block-add-to-cart-form input.input-text.qty:focus {
    outline: 1px solid var(--wp--custom--color--secondary);
}
/* Aggiungere uno stile personalizzato ai controlli delle frecce */
.wp-block-add-to-cart-form input[type=number]::-webkit-inner-spin-button,
.wp-block-add-to-cart-form input[type=number]::-webkit-outer-spin-button {
    opacity: 1;

}
/* impostazioni per blocchi legacy */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
    font-family: var(--wp--preset--font-family--primary);
    
}

.woocommerce form .form-row label {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5;
    margin-bottom: 0;
}
/* FINE impostazioni per blocchi legacy */

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single,
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-block-components-textarea textarea, .wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-blocks-components-select .wc-blocks-components-select__select {
    background-color: var(--wp--preset--color--transparent);
    border-radius: 0px;
    border: 1px solid var(--wp--preset--color--base-4);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--base-content);
    /* 
        width: 100%;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
     */
}


.wc-block-components-form .wc-block-components-text-input input[type=email]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=number]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=password]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=tel]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=text]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=url]:focus,
.wc-block-components-text-input input[type=email]:focus,
.wc-block-components-text-input input[type=number]:focus,
.wc-block-components-text-input input[type=password]:focus,
.wc-block-components-text-input input[type=tel]:focus,
.wc-block-components-text-input input[type=text]:focus,
.wc-block-components-text-input input[type=url]:focus,
.wc-block-components-textarea:focus,
.wc-block-checkout__add-note .wc-block-components-textarea:focus  {
    background-color: inherit;
}   

.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-form .wc-block-components-text-input label, 
.wc-block-components-text-input label {
    font-size: var(--wp--preset--font-size--x-small);
    color: var(--wp--preset--color--base-7);

}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox],
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked,
.wc-block-components-radio-control .wc-block-components-radio-control__input {
    background-color: inherit;

}

.woocommerce.wc-block-catalog-sorting select.orderby {
    background-color: var(--wp--preset--color--transparent);
    border-radius: 0px;
    border: 1px solid var(--wp--preset--color--base-4);
    font-size: var(--wp--preset--font-size--x-small);
    color: var(--wp--preset--color--base-content);
    font-family: var(--wp--preset--font-family--heading);
    text-transform: uppercase;
    padding: var(--wp--preset--spacing--small);

}

