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

/* Disattiva il "Visualizza carrello" di Woocommerce quando aggiungi un prodotto */
a.added_to_cart.wc-forward {
  display:none !important;
}

/* GENERAL */
.section-padding-xs {
  padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}
.section-padding-sm {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.section-padding-md {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}
.section-padding-lg {
  padding-top: clamp(5rem, 8vw, 10rem);
  padding-bottom: clamp(5rem, 8vw, 10rem);
}

/* Pagina prodotto */
.ticket-features{
  list-style:none;
  padding:0;
  margin:0 0 1.75rem 0;
  display:flex;
  flex-direction:column;
  gap:0.65rem;
}

.ticket-features li{
  display:flex;
  align-items:flex-start;
  gap:0.65rem;
  font-family:'Manrope', sans-serif;
  font-size:1rem;
  line-height:1.4;
  color:#ffffff;
}

.ticket-features li.disabled{
  color:rgba(255,255,255,0.7);
  opacity:0.55;
}

.icon-check, .icon-x{
  flex-shrink:0;
  width:20px;
  height:20px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:0.05rem;
}

.icon-check{
  background:rgba(46,230,166,0.15);
  color:#2ee6a6;
}

.icon-x{
  background:rgba(255,84,112,0.12);
  color:#ff5470;
}

.icon-check svg, .icon-x svg{
  width:11px;
  height:11px;
}

/* =========================================================
   BITCARE FORUM — NOTIFICHE WOOCOMMERCE
   Successo / Errore / Info — stile glass coerente col sito
   ========================================================= */

/* ===== Contenitore base per tutti e tre i tipi ===== */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info{
  display:flex !important;
  align-items:flex-start;
  gap:0.75rem;
  list-style:none !important;
  background:rgba(255,255,255,0.04) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-radius:12px !important;
  padding:1rem 1.25rem !important;
  margin:0 0 1.5rem 0 !important;
  font-family:'Manrope', sans-serif !important;
  font-size:0.9rem !important;
  line-height:1.5;
}

/* Icona — generata via ::before, diversa per ogni tipo */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before{
  content:'';
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  flex-shrink:0;
  width:22px;
  height:22px;
  margin-top:0.1rem;
  border-radius:50%;
  background-size:12px 12px;
  background-repeat:no-repeat;
  background-position:center;
}

/* ===== Successo (verde) ===== */
.woocommerce-message{
  border:1px solid #2ee6a6 !important;
  color:#8ff5c4 !important;
}
.woocommerce-message::before{
  background-color:rgba(46,230,166,0.15);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee6a6' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* ===== Errore (rosso) ===== */
.woocommerce-error{
  border:1px solid #ff5470 !important;
  color:#ffb4c2 !important;
}
.woocommerce-error::before{
  background-color:rgba(255,84,112,0.15);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5470' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.woocommerce-error ul,
.woocommerce-error li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.woocommerce-error li + li{
  margin-top:0.35rem !important;
}

/* ===== Info (arancio) ===== */
.woocommerce-info{
  border:1px solid #ff730f !important;
  color:#ffcda3 !important;
}
.woocommerce-info::before{
  background-color:rgba(255,115,15,0.15);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff730f' stroke-width='3'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
}

/* ===== Link "Visualizza carrello" dentro il messaggio di successo ===== */
.woocommerce-message a.button.wc-forward{
  margin-left:auto;
  flex-shrink:0;
  font-family:'Manrope', sans-serif !important;
  font-weight:700 !important;
  font-size:0.8rem !important;
  color:#050D22 !important;
  background-color:#2ee6a6 !important;
  border:none !important;
  border-radius:6px !important;
  padding:0.4rem 0.9rem !important;
  text-decoration:none !important;
  transition:background-color 0.25s ease;
}
.woocommerce-message a.button.wc-forward:hover{
  background-color:#22c98e !important;
}

/* ===== Link dentro il messaggio di errore (es. "accedi") ===== */
.woocommerce-error a{
  color:#ff5470 !important;
  text-decoration:underline;
}

/* ===== Contenitore che avvolge le notifiche (già presente in Cart/Checkout) ===== */
.woocommerce-notices-wrapper:empty{
  display:none !important;
}

/* Nasconde la card MioPoke dalla pagina prododtto per i prodotti MioPoke e il Biglietto Academy */
body.single-product.postid-3487  .elementor-widget.elementor-widget-html a.addon-card,
body.single-product.postid-3484  .elementor-widget.elementor-widget-html a.addon-card {
	display: none !important;
}