/* Without JS, the original confirmation stays in normal document flow. */
body.single-product .woocommerce-message:has(.vz-cart-confirmation) {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  z-index: auto !important;
}
body.single-product .vz-cart-toast {
  position: fixed; z-index: 99999; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 20px;
  max-width: min(720px, calc(100vw - 48px)); box-sizing: border-box;
  padding: 14px 16px 14px 20px; border: 1px solid #bfa588;
  border-radius: 12px; background: #334549; color: #f6eee0;
  box-shadow: 0 8px 28px #0004;
  font: 400 14px/1.5 "Decimal Mono Pro", monospace;
}
body.single-product .vz-cart-toast[hidden] { display: none; }
.vz-cart-toast .vz-toast-message > span { display: block; }
body.single-product .vz-cart-toast .vz-toast-link {
  color: #f6eee0; text-decoration: underline; text-underline-offset: 4px;
  white-space: nowrap; flex-shrink: 0;
}
body.single-product .vz-cart-toast .vz-toast-close {
  display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; color: #f6eee0;
  font: 400 28px/1 sans-serif; cursor: pointer;
}
body.single-product .vz-cart-toast :is(a, button):focus-visible {
  outline: 2px solid #f6eee0; outline-offset: 3px;
}
@media (max-width: 600px) {
  body.single-product .vz-cart-toast {
    left: 12px; right: 12px; bottom: 90px; max-width: none;
    gap: 8px 14px; padding: 16px; flex-wrap: wrap;
  }
  body.single-product .vz-cart-toast .vz-toast-message { flex: 1 1 100%; padding-right: 36px; }
  body.single-product .vz-cart-toast .vz-toast-close { position: absolute; top: 8px; right: 8px; }
  body.single-product .vz-cart-toast .vz-toast-link { padding: 8px 0; }
}
