/*
 Theme Name:   Hello Elementor Child
 Description:  Tema Child per personalizzazioni WooCommerce
 Author:       Il tuo nome
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Le tue personalizzazioni CSS andranno qui sotto, se necessarie */


/* ============================================================
   BIKERIX RED REVIVAL - ANTI-TAILWIND DOKAN EDITION
   ============================================================ */

:root {
    /* Sovrascrittura variabili core di Dokan e Tailwind */
    --dokan-primary: #941d1d !important;
    --primary: #941d1d !important;
    --primary-hover: #7a1818 !important;
    --dokan-btn-secondary: #941d1d !important;
    --tw-ring-color: #941d1d !important;
}

/* 1. BOTTONI (Export All, Add New Product, ecc.) */
.dokan-btn-secondary, 
.bg-blue-600, 
.bg-purple-600, 
.hover:bg-blue-700:hover, 
.hover:bg-purple-700:hover,
.dokan-btn-theme,
button.dokan-btn {
    background-color: #941d1d !important;
    border-color: #941d1d !important;
    color: #ffffff !important;
}

/* 2. MENU LATERALE E ICONE ATTIVE (L'icona House e simili) */
[data-active="true"], 
.data-\[active\=true\]\:bg-primary-hover[data-active=true],
.hover\:bg-primary-hover:hover {
    background-color: #941d1d !important;
    color: #ffffff !important;
}

/* 3. LINK E TESTI PRIMARY (#4565202, ecc.) */
.text-primary, 
.hover\:text-primary:hover,
a.font-medium.text-primary,
.vendor-earning bdi {
    color: #941d1d !important;
}

/* 4. TABS (All, Orders, ecc.) */
[data-active="true"]::after,
.group-data-\[variant\=line\]\/tabs-list\:data-active\:border-b-primary[data-active=true] {
    border-bottom-color: #941d1d !important;
}

.group-data-\[variant\=line\]\/tabs-list\:data-active\:text-primary[data-active=true] {
    color: #941d1d !important;
}

/* 5. INTERRUTTORI (Toggle switches) */
.components-form-toggle.is-checked .components-form-toggle__track {
    background-color: #941d1d !important;
    border-color: #941d1d !important;
}

/* 6. ICONE SVG (Lucide e Gridicons) */
svg.lucide, 
svg.gridicon,
.text-primary svg,
.hover\:text-primary:hover svg {
    stroke: currentColor; /* Se usano stroke */
}

.text-primary, .hover\:text-primary:hover {
    color: #941d1d !important;
}

/* 7. POPOVER E MENU ELLIPSIS (I tre puntini) */
.woocommerce-ellipsis-menu__item:hover,
.woocommerce-ellipsis-menu__item:hover svg {
    background-color: #941d1d !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* 8. FIX SICUREZZA (Nascondi Export e Withdraw se necessario) */
a[href*="withdraw"], 
button.dokan-btn-secondary {
    /* Se vuoi nasconderli come prima, decommenta sotto */
    /* display: none !important; */
}