/* 
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 */

/* --- UNIFORMARE COLORI ICONE E LINK NEI MESSAGGI --- */

/* 1. Cambia il colore di tutte le icone (i simboli a sinistra) */
.woocommerce-info::before, 
.woocommerce-message::before, 
.woocommerce-error::before {
    color: #DB2827 !important; /* Inserisci qui il tuo COLORE */
}

/* 2. Cambia il colore della linea di bordo superiore (spesso azzurra o rosa) */
.woocommerce-info, 
.woocommerce-message, 
.woocommerce-error {
    border-top-color: #DB2827 !important; /* Inserisci qui il tuo COLORE */
}

/* 3. Cambia il colore dei link e dei bottoni "Ritorna allo shop" o "Visualizza" */
.woocommerce-info a, 
.woocommerce-message a, 
.woocommerce-error a,
.woocommerce-info a.button,
.woocommerce-message a.button {
    color: #232323 !important; /* Inserisci qui il tuo NERO per i link */
    text-decoration: none !important;
}

/* 4. Colore del testo principale del messaggio */
.woocommerce-info, 
.woocommerce-message, 
.woocommerce-error {
    color: #232323 !important; /* Inserisci qui il tuo NERO */
}

/* 4. Colore del bottone */
.wc-backward {
	color: #ffffff !important; /* Inserisci qui il tuo BIANCO */
	background-color: #232323 !important; /* Sfondo bottone SCURO */
}

/* Forza il link 'Visualizza carrello' ad andare sempre sotto il pulsante */
.added_to_cart.wc-forward {
    display: block !important; /* Lo trasforma in un elemento che occupa tutta la riga */
    text-align: center;      /* Lo centra rispetto al prodotto */
    margin-top: 10px;        /* Aggiunge un po' di spazio dal pulsante */
    width: 100%;             /* Si assicura che prenda tutto lo spazio disponibile */
}

/* Opzionale: se vuoi che sia centrato bene anche su mobile */
@media (max-width: 768px) {
    .added_to_cart.wc-forward {
        margin-left: auto;
        margin-right: auto;
    }
}