/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.7
	Stable tag: 3.4.7
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/* Galerie produit : image principale + miniatures dessous */
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    display: block !important;
}

.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__wrapper {
    width: 100% !important;
}

.elementor-widget-woocommerce-product-images .flex-control-nav.flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin-top: 15px !important;
    padding: 0 !important;
}

.elementor-widget-woocommerce-product-images .flex-control-nav.flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    list-style: none !important;
}

.elementor-widget-woocommerce-product-images .flex-control-nav.flex-control-thumbs img {
    width: 100% !important;
    height: 90px !important;
    object-fit: cover !important;
}
add_filter( 'ywraq_default_form_fields', 'afs_add_phone_yith_quote_form' );

add_filter( 'ywraq_default_form_fields', 'afs_add_phone_yith_quote_form' );

add_filter( 'ywraq_form_fields', 'afs_add_phone_yith_quote_form' );

function afs_add_phone_yith_quote_form( $fields ) {

    $fields['phone'] = array(
        'type'        => 'text',
        'label'       => 'Téléphone',
        'placeholder' => 'Votre numéro de téléphone',
        'required'    => true,
        'class'       => array( 'form-row-wide' ),
        'priority'    => 30,
    );

    return $fields;
}