/*
Theme Name: CommanderCon Theme
Theme URI: https://commandercon.it
Author: Federico Deserti
Description: Tema custom sviluppato con Tailwind CSS (CDN) per CommanderCon 2026.
Version: 1.0
*/

/* Qui puoi aggiungere CSS personalizzato se Tailwind non bastasse.
   Per ora lasciamo vuoto perché usiamo le classi utility.
*/

/* --- FIX ESTREMO PULSANTE PAGA --- */

/* Selettore a specificità massima per sovrascrivere tutto */
html body .woocommerce a.button.pay,
html body .woocommerce-page a.button.pay,
html body .woocommerce table.shop_table td.woocommerce-orders-table__cell-order-actions a.button.pay,
html body .woocommerce .woocommerce-MyAccount-content a.button.pay {
    background-color: #9333ea !important; /* Il tuo Viola */
    color: #ffffff !important;            /* Bianco puro */
    border: 1px solid #9333ea !important;
    
    /* Reset totale degli stili nativi che potrebbero causare il grigio */
    background-image: none !important;
    background-repeat: repeat-x !important;
    filter: none !important; /* Rimuove gradienti IE vecchi */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    text-shadow: none !important;
    
    /* Stile testo */
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover state */
html body .woocommerce a.button.pay:hover,
html body .woocommerce-page a.button.pay:hover {
    background-color: #a855f7 !important; /* Viola più chiaro */
    color: #ffffff !important;
    border-color: #a855f7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(147, 51, 234, 0.4) !important;
}