/* Popup centrale compatto */
.tks-cart-mini-popup{
  padding:18px 18px 16px;
  border-radius:12px;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
}

/* Nascondi titolo e icone default di SweetAlert2 nel nostro popup */
.tks-cart-mini-popup .swal2-title{ display:none !important; }
.tks-cart-mini-popup .swal2-icon{ display:none !important; }

/* Contenuto custom */
.tks-cart-mini{
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
  gap:8px;
  padding-top:4px;
}

/* Icona carrello senza cerchio */
.tks-cart-mini-icon{
  width:38px;
  height:38px;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2M7.17 14h9.93c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.67-.11-1.48-.88-1.48H6.21L5.27 2H2v2h2l3.6 7.59L6.25 13c-.41.74.12 1.66.92 1.66z"/></svg>') center/contain no-repeat;
          mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2M7.17 14h9.93c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.67-.11-1.48-.88-1.48H6.21L5.27 2H2v2h2l3.6 7.59L6.25 13c-.41.74.12 1.66.92 1.66z"/></svg>') center/contain no-repeat;
  background:var(--e-global-color-primary,#2271b1);
}

.tks-cart-mini-title{
  font-weight:600;
  line-height:1.2;
  margin-top:4px;
}

.tks-cart-mini-text{
  font-size:.95rem;
  color:#444;
}

/* Azioni */
.swal2-actions{
  margin-top:12px !important;
  gap:10px !important;
}

/* Aggiungi = primario Elementor (deny) */
.tks-btn-deny.swal2-styled{
  background:var(--e-global-color-primary,#2271b1) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:.55rem 1rem !important;
  line-height:1 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.08) !important;
}
.tks-btn-deny.swal2-styled:hover{
  filter:brightness(1.05) !important;
}

/* Sostituisci = sfondo secondary + testo color text (confirm) */
.tks-btn-confirm.swal2-styled{
  background:var(--e-global-color-secondary,#f2f2f2) !important;
  color:#fff !important;
  border:1px solid #e6e6e6 !important;
  border-radius:999px !important;
  padding:.55rem 1rem !important;
  line-height:1 !important;
}

/* Focus pulito */
.swal2-styled:focus{
  box-shadow:none !important;
  outline:none !important;
}