/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Supprime le doublon de fond blanc/gris qui dépasse en haut */
/* 1. On remet le comportement "hover only" (c'est le plus important) */
.widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper {
    display: none !important;                    /* caché par défaut */
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 99999 !important;
    min-width: 300px !important;
    width: auto !important;
    max-width: 380px !important;
}

/* 2. Affiché UNIQUEMENT au hover sur l'icône ou le widget entier */
.widget_ywraq_mini_list_quote:hover .yith-ywraq-list-wrapper,
.widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper.open {  /* au cas où le JS ajoute .open */
    display: block !important;
}

/* 3. Plus de scroll inutile quand il y a peu de produits */
.yith-ywraq-list-wrapper,
.yith-ywraq-list {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

/* 4. Titre "Mon Devis" bien à l'intérieur */
.yith-ywraq-list-content .items-count {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

/* 5. Bouton "Voir mon devis" → on garde exactement le style d'origine (pas de padding forcé) */
.yith-ywraq-list-content .button {
    margin: 10px 0 0 !important;
    padding: 10px 15px !important;   /* valeurs proches de l'original YITH */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 6. Petite correction si ton thème ajoute un fond gris permanent ou un bloc visible */
.yith-ywraq-list-widget-wrapper::before,
.yith-ywraq-list-widget-wrapper::after {
    display: none !important;
}








