/* 
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 */
/* 
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 */
.elementor-9647 .elementor-element.elementor-element-f9e52fc .quantity .qty {
    margin-top: 7px;
    padding-bottom: 12px;
    padding-top: 12px;
}

.widget .yith-ywraq-list-widget-wrapper .raq-info {
    background-color: #429860 !important;
}

a.raq_label span.raq-tip-counter {
    font-weight: bold !important;
}

.widget_ywraq_mini_list_quote ul.yith-ywraq-list {
    padding: 0px;
}

.widget_ywraq_mini_list_quote .yith-ywraq-list-widget-wrapper .yith-ywraq-list-wrapper .yith-ywraq-list-content {
    width: 320px;
    width: 320px;
}

/* === YITH Quote Widget - FULL OVERRIDE === */

/* Reset du conteneur UL */
ul.yith-ywraq-list,
.yith-ywraq-mini-widget-quote ul.yith-ywraq-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Chaque item : GRID 3 colonnes */
li.yith-ywraq-list-item,
.yith-ywraq-mini-widget-quote li.yith-ywraq-list-item,
.widget_ywraq_mini_list_quote li.yith-ywraq-list-item {
    display: grid !important;
    grid-template-columns: 15px 40px 1fr !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
}

/* Bouton X - colonne 1 */
li.yith-ywraq-list-item > a.remove,
li.yith-ywraq-list-item > a.yith-ywraq-item-remove {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    font-size: 16px !important;
    color: #cc0000 !important;
    text-decoration: none !important;
    text-align: center !important;
    float: none !important;
    position: static !important;
}

/* Lien image - colonne 2 */
li.yith-ywraq-list-item > a.yith-ywraq-list-item-info {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 40px !important;
    max-width: 40px !important;
    float: none !important;
    position: static !important;
    display: block !important;
}

/* Image produit */
li.yith-ywraq-list-item > a.yith-ywraq-list-item-info img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Bloc texte - colonne 3 */
li.yith-ywraq-list-item > a.yith-ywraq-list-item-product-info {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #7A7A7A !important;
    text-decoration: none !important;
    float: none !important;
    position: static !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Quantité × prix */
li.yith-ywraq-list-item .quantity {
    display: inline-block !important;
    white-space: nowrap !important;
    margin-top: 4px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* === RESPONSIVE === */
@media screen and (max-width: 480px) {
    li.yith-ywraq-list-item,
    .yith-ywraq-mini-widget-quote li.yith-ywraq-list-item {
        grid-template-columns: 14px 35px 1fr !important;
        gap: 5px !important;
        padding: 8px 0 !important;
    }

    li.yith-ywraq-list-item > a.yith-ywraq-list-item-info,
    li.yith-ywraq-list-item > a.yith-ywraq-list-item-info img {
        width: 35px !important;
        height: 35px !important;
        max-width: 35px !important;
    }

    li.yith-ywraq-list-item > a.yith-ywraq-list-item-product-info {
        font-size: 12px !important;
    }

}

@media screen and (max-width: 360px) {
    li.yith-ywraq-list-item,
    .yith-ywraq-mini-widget-quote li.yith-ywraq-list-item {
        grid-template-columns: 14px 30px 1fr !important;
    }

    li.yith-ywraq-list-item > a.yith-ywraq-list-item-info,
    li.yith-ywraq-list-item > a.yith-ywraq-list-item-info img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
    }

}
