/* =========================================================================
   Nelb Branding — Notice WooCommerce brandizzati (front-end)  v1.0.3
   Rende .woocommerce-error / .woocommerce-info / .woocommerce-message
   coerenti col brand Macchedil: box soft, bordo sottile, icona a colore per tipo.
   ========================================================================= */

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  position:relative!important;
  list-style:none!important;
  margin:0 0 18px!important;
  padding:16px 20px 16px 54px!important;
  background:#F5F7F7!important;
  border:1px solid #EDEDED!important;
  border-top:1px solid #EDEDED!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-family:'Gudea','Helvetica Neue',Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.5!important;
  color:#212121!important;
}
.woocommerce-message li,.woocommerce-info li,.woocommerce-error li{list-style:none;margin:0;padding:0;}

/* icona a colore per tipo (sostituisce il font-icon nativo WooCommerce) */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{
  content:""!important;
  position:absolute!important;
  left:18px!important;top:16px!important;
  width:24px!important;height:24px!important;
  margin:0!important;
  border-radius:50%!important;
  display:flex!important;align-items:center;justify-content:center;
  font-family:'Libre Franklin','Helvetica Neue',Arial,sans-serif!important;
  font-weight:800!important;font-size:14px!important;line-height:1!important;
  color:#FFFFFF!important;text-indent:0!important;
}
.woocommerce-error::before{content:"!"!important;background:#DC2626!important;}
.woocommerce-info::before{content:"i"!important;background:#FE3F12!important;}
.woocommerce-message::before{content:"\2713"!important;background:#16A34A!important;}

/* link dentro i notice → arancio brand (es. "Ritorna al negozio") */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button){color:#FE3F12!important;font-weight:700;text-decoration:none;}
.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-error a:not(.button):hover{text-decoration:underline;}

/* eventuale bottone nel notice (es. "Visualizza carrello") → pillola brand */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button{
  float:right;margin:-2px 0 0 12px;
  background:#FE3F12!important;color:#fff!important;border:none!important;border-radius:8px!important;
  font-family:'Libre Franklin','Helvetica Neue',Arial,sans-serif!important;font-weight:800!important;
  font-size:12px!important;letter-spacing:.03em;text-transform:uppercase;
  padding:9px 16px!important;line-height:1.2!important;text-decoration:none;box-shadow:none!important;min-height:0!important;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover{background:#E5380F!important;color:#fff!important;}
