/*
 * CSS WOOCOMMERCE ULTRA-AGRESSIF - DERNIÈRE CHANCE
 * Sélecteurs ultra-spécifiques pour FORCER les styles
 * Suppression TOTALE des icônes avec priorité MAXIMALE
 */

/* ========================================
   VARIABLES CSS MODERNES
======================================== */
:root {
    --sos-orange: #FF6B35;
    --sos-blue: #1E3A8A;
    --sos-yellow: #FCD34D;
    --sos-gray: #6B7280;
    --sos-light: #F8FAFC;
    --sos-dark: #1F2937;
    --modern-shadow: 0 8px 32px rgba(0,0,0,0.06);
    --gradient-primary: linear-gradient(135deg, #FF6B35, #EF4444);
    --gradient-hover: linear-gradient(135deg, #E55A2B, #DC2626);
}

/* ========================================
   SUPPRESSION TOTALE DES ICÔNES - PRIORITÉ MAXIMALE
======================================== */

/* PSEUDO-ÉLÉMENTS - DESTRUCTION COMPLÈTE */
html body.woocommerce .button::before,
html body.woocommerce-page .button::before,
html body.woocommerce .add_to_cart_button::before,
html body.woocommerce-page .add_to_cart_button::before,
html body.woocommerce .single_add_to_cart_button::before,
html body.woocommerce-page .single_add_to_cart_button::before,
html body.woocommerce .ast-on-card-button::before,
html body.woocommerce-page .ast-on-card-button::before,
html body.woocommerce .ast-select-options-trigger::before,
html body.woocommerce-page .ast-select-options-trigger::before,
html body.woocommerce ul.products li.product .button::before,
html body.woocommerce-page ul.products li.product .button::before,
html body.woocommerce ul.products li.product a.add_to_cart_button::before,
html body.woocommerce-page ul.products li.product a.add_to_cart_button::before,
html body.woocommerce .products .product .button::before,
html body.woocommerce-page .products .product .button::before,
html body.woocommerce .products .product a.add_to_cart_button::before,
html body.woocommerce-page .products .product a.add_to_cart_button::before,
html body.woocommerce .button::after,
html body.woocommerce-page .button::after,
html body.woocommerce .add_to_cart_button::after,
html body.woocommerce-page .add_to_cart_button::after,
html body.woocommerce .single_add_to_cart_button::after,
html body.woocommerce-page .single_add_to_cart_button::after,
html body.woocommerce .ast-on-card-button::after,
html body.woocommerce-page .ast-on-card-button::after,
html body.woocommerce .ast-select-options-trigger::after,
html body.woocommerce-page .ast-select-options-trigger::after,
html body.woocommerce ul.products li.product .button::after,
html body.woocommerce-page ul.products li.product .button::after,
html body.woocommerce ul.products li.product a.add_to_cart_button::after,
html body.woocommerce-page ul.products li.product a.add_to_cart_button::after,
html body.woocommerce .products .product .button::after,
html body.woocommerce-page .products .product .button::after,
html body.woocommerce .products .product a.add_to_cart_button::after,
html body.woocommerce-page .products .product a.add_to_cart_button::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -1 !important;
    font-family: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ICÔNES DANS LES BOUTONS - DESTRUCTION COMPLÈTE */
html body.woocommerce .button .fa,
html body.woocommerce .button .fas,
html body.woocommerce .button .far,
html body.woocommerce .button .fab,
html body.woocommerce .button i,
html body.woocommerce .button svg,
html body.woocommerce .button [class*="icon"],
html body.woocommerce .button [data-icon],
html body.woocommerce .add_to_cart_button .fa,
html body.woocommerce .add_to_cart_button .fas,
html body.woocommerce .add_to_cart_button .far,
html body.woocommerce .add_to_cart_button .fab,
html body.woocommerce .add_to_cart_button i,
html body.woocommerce .add_to_cart_button svg,
html body.woocommerce .add_to_cart_button [class*="icon"],
html body.woocommerce .add_to_cart_button [data-icon],
html body.woocommerce .single_add_to_cart_button .fa,
html body.woocommerce .single_add_to_cart_button .fas,
html body.woocommerce .single_add_to_cart_button .far,
html body.woocommerce .single_add_to_cart_button .fab,
html body.woocommerce .single_add_to_cart_button i,
html body.woocommerce .single_add_to_cart_button svg,
html body.woocommerce .single_add_to_cart_button [class*="icon"],
html body.woocommerce .single_add_to_cart_button [data-icon],
html body.woocommerce .ast-on-card-button .fa,
html body.woocommerce .ast-on-card-button .fas,
html body.woocommerce .ast-on-card-button .far,
html body.woocommerce .ast-on-card-button .fab,
html body.woocommerce .ast-on-card-button i,
html body.woocommerce .ast-on-card-button svg,
html body.woocommerce .ast-on-card-button [class*="icon"],
html body.woocommerce .ast-on-card-button [data-icon],
html body.woocommerce .ast-select-options-trigger .fa,
html body.woocommerce .ast-select-options-trigger .fas,
html body.woocommerce .ast-select-options-trigger .far,
html body.woocommerce .ast-select-options-trigger .fab,
html body.woocommerce .ast-select-options-trigger i,
html body.woocommerce .ast-select-options-trigger svg,
html body.woocommerce .ast-select-options-trigger [class*="icon"],
html body.woocommerce .ast-select-options-trigger [data-icon] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -1 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    text-indent: -9999px !important;
    color: transparent !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ICÔNES SPÉCIFIQUES ASTRA */
html body.woocommerce .ast-icon,
html body.woocommerce .ast-icon.icon-bag,
html body.woocommerce .ast-icon svg,
html body.woocommerce .ahfb-svg-iconset,
html body.woocommerce .ahfb-svg-iconset .ast-icon,
html body.woocommerce .ahfb-svg-iconset .ast-icon svg,
html body.woocommerce .ahfb-svg-iconset svg,
html body.woocommerce [class*="ast-icon"],
html body.woocommerce [class*="ahfb-svg"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -1 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* ========================================
   BOUTONS ULTRA-MODERNES - SÉLECTEURS ULTRA-SPÉCIFIQUES
======================================== */

/* BOUTONS BOUTIQUE - PRIORITÉ MAXIMALE */
html body.woocommerce ul.products li.product .button,
html body.woocommerce-page ul.products li.product .button,
html body.woocommerce ul.products li.product a.add_to_cart_button,
html body.woocommerce-page ul.products li.product a.add_to_cart_button,
html body.woocommerce ul.products li.product .ajax_add_to_cart,
html body.woocommerce-page ul.products li.product .ajax_add_to_cart,
html body.woocommerce .products .product .button,
html body.woocommerce-page .products .product .button,
html body.woocommerce .products .product a.add_to_cart_button,
html body.woocommerce-page .products .product a.add_to_cart_button,
html body.woocommerce .products .product .ajax_add_to_cart,
html body.woocommerce-page .products .product .ajax_add_to_cart,
html body.woocommerce .ast-on-card-button,
html body.woocommerce-page .ast-on-card-button,
html body.woocommerce .ast-select-options-trigger,
html body.woocommerce-page .ast-select-options-trigger,
html body.woocommerce a.ast-on-card-button,
html body.woocommerce-page a.ast-on-card-button,
html body.woocommerce a.ast-select-options-trigger,
html body.woocommerce-page a.ast-select-options-trigger {
    /* RESET COMPLET - DESTRUCTION TOTALE */
    all: unset !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    
    /* NOUVEAU DESIGN ULTRA-MODERNE */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    
    /* COULEURS MODERNES */
    background: var(--gradient-primary) !important;
    background-image: var(--gradient-primary) !important;
    color: white !important;
    
    /* DIMENSIONS ET ESPACEMENT */
    padding: 16px 32px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    
    /* TYPOGRAPHIE MODERNE */
    font-family: 'Montserrat', 'Arial', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    
    /* SUPPRESSION BORDURES ET CONTOURS */
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
    
    /* CURSEUR ET INTERACTIONS */
    cursor: pointer !important;
    user-select: none !important;
    
    /* TRANSITIONS MODERNES */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* DIMENSIONS RESPONSIVES */
    width: 100% !important;
    max-width: 200px !important;
    min-width: 120px !important;
    min-height: 48px !important;
    height: auto !important;
    
    /* SUPPRESSION TOTALE DES ICÔNES */
    background-image: var(--gradient-primary) !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    
    /* POSITIONNEMENT */
    position: relative !important;
    z-index: 1 !important;
    
    /* FLEXBOX MODERNE */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
}

/* EFFET HOVER ULTRA-MODERNE */
html body.woocommerce ul.products li.product .button:hover,
html body.woocommerce ul.products li.product a.add_to_cart_button:hover,
html body.woocommerce ul.products li.product .ajax_add_to_cart:hover,
html body.woocommerce .products .product .button:hover,
html body.woocommerce .products .product a.add_to_cart_button:hover,
html body.woocommerce .products .product .ajax_add_to_cart:hover,
html body.woocommerce .ast-on-card-button:hover,
html body.woocommerce .ast-select-options-trigger:hover,
html body.woocommerce a.ast-on-card-button:hover,
html body.woocommerce a.ast-select-options-trigger:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4) !important;
    background: var(--gradient-hover) !important;
    background-image: var(--gradient-hover) !important;
    color: white !important;
    text-decoration: none !important;
}

/* BOUTON SINGLE PRODUCT */
html body.woocommerce .single_add_to_cart_button,
html body.woocommerce-page .single_add_to_cart_button,
html body.woocommerce form.cart .button,
html body.woocommerce-page form.cart .button,
html body.woocommerce div.product form.cart .button,
html body.woocommerce-page div.product form.cart .button {
    /* RESET COMPLET */
    all: unset !important;
    box-sizing: border-box !important;
    
    /* DESIGN PREMIUM */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    background: var(--gradient-primary) !important;
    color: white !important;
    
    padding: 18px 36px !important;
    border-radius: 14px !important;
    
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3) !important;
    
    width: 100% !important;
    max-width: 300px !important;
    min-height: 56px !important;
    
    /* SUPPRESSION ICÔNES */
    background-image: var(--gradient-primary) !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
}

html body.woocommerce .single_add_to_cart_button:hover,
html body.woocommerce form.cart .button:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4) !important;
    background: var(--gradient-hover) !important;
    color: white !important;
}

/* ========================================
   GRILLE PRODUITS ULTRA-MODERNE
======================================== */

/* CONTENEUR PRODUITS */
html body.woocommerce ul.products,
html body.woocommerce .products,
html body.woocommerce-page ul.products,
html body.woocommerce-page .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
}

/* CARTES PRODUITS ULTRA-MODERNES */
html body.woocommerce ul.products li.product,
html body.woocommerce .products .product,
html body.woocommerce-page ul.products li.product,
html body.woocommerce-page .products .product {
    /* RESET COMPLET */
    all: unset !important;
    box-sizing: border-box !important;
    
    /* NOUVEAU DESIGN */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    
    /* STYLE MODERNE */
    background: white !important;
    border-radius: 20px !important;
    box-shadow: var(--modern-shadow) !important;
    padding: 2rem !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    
    /* ANIMATIONS */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* DIMENSIONS */
    text-align: center !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 450px !important;
    
    /* POSITIONNEMENT */
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    
    /* FLEXBOX */
    flex-shrink: 0 !important;
    flex-grow: 1 !important;
    flex-basis: auto !important;
}

/* EFFET HOVER CARTES */
html body.woocommerce ul.products li.product:hover,
html body.woocommerce .products .product:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--sos-orange) !important;
}

/* IMAGES PRODUITS MODERNES */
html body.woocommerce ul.products li.product img,
html body.woocommerce .products .product img,
html body.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
html body.woocommerce .products .product .attachment-woocommerce_thumbnail {
    border-radius: 15px !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    outline: none !important;
}

html body.woocommerce ul.products li.product:hover img,
html body.woocommerce .products .product:hover img {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* TITRES PRODUITS MODERNES */
html body.woocommerce ul.products li.product h2,
html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce .products .product h2,
html body.woocommerce .products .product .woocommerce-loop-product__title,
html body.woocommerce ul.products li.product h3,
html body.woocommerce .products .product h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--sos-dark) !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    letter-spacing: -0.02em !important;
}

html body.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
html body.woocommerce .products .product .woocommerce-loop-product__title:hover {
    color: var(--sos-orange) !important;
    text-decoration: none !important;
}

/* PRIX PRODUITS MODERNES */
html body.woocommerce ul.products li.product .price,
html body.woocommerce .products .product .price,
html body.woocommerce ul.products li.product .woocommerce-Price-amount,
html body.woocommerce .products .product .woocommerce-Price-amount {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--sos-orange) !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    display: block !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* ÉTOILES MODERNES */
html body.woocommerce ul.products li.product .star-rating,
html body.woocommerce .products .product .star-rating {
    margin: 0 auto 1rem auto !important;
    color: var(--sos-yellow) !important;
    font-size: 1.1rem !important;
}

/* BADGES PROMO MODERNES */
html body.woocommerce ul.products li.product .onsale,
html body.woocommerce .products .product .onsale {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    z-index: 2 !important;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3) !important;
    border: none !important;
    text-decoration: none !important;
}

/* ========================================
   RESPONSIVE ULTRA-MODERNE
======================================== */

/* TABLET */
@media (max-width: 768px) {
    html body.woocommerce ul.products,
    html body.woocommerce .products {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    html body.woocommerce ul.products li.product,
    html body.woocommerce .products .product {
        padding: 1.5rem !important;
        min-height: 400px !important;
    }
    
    html body.woocommerce ul.products li.product .button,
    html body.woocommerce ul.products li.product a.add_to_cart_button,
    html body.woocommerce .products .product .button,
    html body.woocommerce .products .product a.add_to_cart_button,
    html body.woocommerce .ast-on-card-button,
    html body.woocommerce .ast-select-options-trigger {
        max-width: 100% !important;
        padding: 14px 24px !important;
        font-size: 13px !important;
        min-height: 44px !important;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    html body.woocommerce ul.products,
    html body.woocommerce .products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 15px 0 !important;
    }
    
    html body.woocommerce ul.products li.product,
    html body.woocommerce .products .product {
        padding: 1.25rem !important;
        min-height: 380px !important;
        border-radius: 16px !important;
    }
    
    html body.woocommerce ul.products li.product img,
    html body.woocommerce .products .product img {
        height: 180px !important;
        border-radius: 12px !important;
    }
    
    html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce .products .product .woocommerce-loop-product__title {
        font-size: 1.1rem !important;
    }
    
    html body.woocommerce ul.products li.product .price,
    html body.woocommerce .products .product .price {
        font-size: 1.2rem !important;
    }
    
    html body.woocommerce ul.products li.product .button,
    html body.woocommerce ul.products li.product a.add_to_cart_button,
    html body.woocommerce .products .product .button,
    html body.woocommerce .products .product a.add_to_cart_button,
    html body.woocommerce .ast-on-card-button,
    html body.woocommerce .ast-select-options-trigger {
        padding: 12px 20px !important;
        font-size: 12px !important;
        min-height: 40px !important;
        border-radius: 10px !important;
    }
    
    html body.woocommerce .single_add_to_cart_button,
    html body.woocommerce form.cart .button {
        padding: 16px 28px !important;
        font-size: 14px !important;
        min-height: 48px !important;
        max-width: 100% !important;
    }
}

/* ========================================
   FORCER LA PRIORITÉ MAXIMALE - SÉLECTEURS NUCLÉAIRES
======================================== */

/* SÉLECTEURS ULTRA-SPÉCIFIQUES POUR FORCER LES STYLES */
html body.woocommerce.woocommerce-page ul.products li.product .button,
html body.woocommerce.woocommerce-page ul.products li.product a.add_to_cart_button,
html body.woocommerce.woocommerce-page .products .product .button,
html body.woocommerce.woocommerce-page .products .product a.add_to_cart_button,
html body.woocommerce.woocommerce-page .ast-on-card-button,
html body.woocommerce.woocommerce-page .ast-select-options-trigger {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
    cursor: pointer !important;
    width: 100% !important;
    max-width: 200px !important;
    min-height: 48px !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    background-image: var(--gradient-primary) !important;
}

/* SUPPRESSION FINALE DES ICÔNES AVEC PRIORITÉ NUCLÉAIRE */
html body.woocommerce.woocommerce-page .button::before,
html body.woocommerce.woocommerce-page .button::after,
html body.woocommerce.woocommerce-page .add_to_cart_button::before,
html body.woocommerce.woocommerce-page .add_to_cart_button::after,
html body.woocommerce.woocommerce-page .ast-on-card-button::before,
html body.woocommerce.woocommerce-page .ast-on-card-button::after,
html body.woocommerce.woocommerce-page .ast-select-options-trigger::before,
html body.woocommerce.woocommerce-page .ast-select-options-trigger::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -1 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/*
 * FIN DU CSS ULTRA-AGRESSIF
 * SUPPRESSION TOTALE DES ICÔNES GARANTIE
 * DESIGN ULTRA-MODERNE APPLIQUÉ
 */
