/* ============================================================
   PROVITTO – WooCommerce notices jako toast
   ============================================================ */

.woocommerce-notices-wrapper {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 99999;
  width: 360px;
}

/* ── Společné styly pro všechny typy ── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 1rem 1.2rem;
  margin: 0 0 0.6rem !important;
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  color: #333;
  list-style: none;

  animation: pvSlideIn 0.3s ease forwards;
}
.woocommerce-message::before {
  display: none;
}
/* ── Barvy dle typu ── */
.woocommerce-notices-wrapper .woocommerce-message {border-left: 3px solid #e46193;}
.woocommerce-notices-wrapper .woocommerce-error   { border-left: 3px solid #e74c3c; }
.woocommerce-notices-wrapper .woocommerce-info    { border-left: 3px solid #3498db; }

/* ── Error je <ul> – schovat odrážky ── */
.woocommerce-notices-wrapper .woocommerce-error {
  padding-left: 1.2rem;
}
.woocommerce-notices-wrapper .woocommerce-error li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

/* ── Tlačítko (Zobrazit košík) ── */
.woocommerce-notices-wrapper a.button {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: #fff !important;
  background: #e56f99 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 15px !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 0.2s !important;
}
.woocommerce-notices-wrapper a.button:hover {
  background: #444 !important;
}

/* ── Vjezdová animace ── */
@keyframes pvSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Responsive ── */
@media (max-width: 575px) {
  .woocommerce-notices-wrapper {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem;
  }
}