/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*
button + et - quantité
 */
.single-product .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    border: #000 solid 1px;
    padding: 10px 5px;
}

.single-product .quantity .minus,
.single-product .quantity .plus {
    border: none;
    color: #000;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0!important;
}

.single-product .quantity input.qty {
    width: 50px;
    height: 30px;
    border: none;
    text-align: center;
    padding: 0;
    margin: 0 -1px;
    font-size: 20px;
}

/* Supprimer les flèches dans les champs number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.wishsuite-button{
    background-color: transparent !important;
    padding: 0 !important;
    color: #000000 !important;
}
.wishsuite-button svg{
    margin-top: 2px;
    width: 25px !important;
    height: 25px !important;
}
.wishsuite-button img{
    width: 40px !important;
    height: 40px !important;
}



/* Variation shortcode in loop */

.product-variation-thumbs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-variation-thumb img {
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 25px;
    transition: 0.2s ease;
}

.product-variation-thumb:hover img {
    opacity: 0.8;
}

/**
* Swap image on hover loop product
*/

.wc-img-swap {
    position: relative;
    display: block;
    line-height: 0;
}

/* Les deux images empilées */
.wc-img-swap .wc-main-img,
.wc-img-swap .wc-hover-img {
    display: block;
    width: 100%;
    transition: opacity 0.4s ease;
}

.wc-img-swap .wc-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

/* Au hover : swap */
.wc-img-swap:hover .wc-hover-img {
    opacity: 1;
}