/* =========================================================
   Snackbar / Toasts
   ========================================================= */
#bf-snackbar-host{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 760px){
  #bf-snackbar-host{
    left: auto;
    right: 22px;
    bottom: 22px;
    width: min(520px, calc(100vw - 44px));
  }
}

.bf-snackbar{
  pointer-events: auto;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease;
}

.bf-snackbar.is-open{
  opacity: 1;
  transform: translateY(0);
}

.bf-snackbar__title{
  font-weight: 600;
  margin: 0 0 6px 0;
  font-size: 15px;
  line-height: 1.2;
}

.bf-snackbar__body{
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.bf-snackbar__body .woocommerce-error,
.bf-snackbar__body .woocommerce-message,
.bf-snackbar__body .woocommerce-info{
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bf-snackbar__body ul{
  margin: 0;
  padding-left: 18px;
}

.bf-snackbar__header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.bf-snackbar__close{
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #111 !important;
}

.bf-snackbar__close:hover{
  background: rgba(0,0,0,.06);
  color: #111 !important;
}

.bf-snackbar__close:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

.bf-snackbar__close-ico{
  width: 18px;
  height: 18px;
  display: block;
}

.bf-snackbar__close svg,
.bf-snackbar__close:hover svg{
  stroke: currentColor !important;
  fill: none !important;
}

@media (prefers-reduced-motion: reduce){
  .bf-snackbar{
    transition: none;
  }
}

html.bf-snackbar-enabled .woocommerce-error,
html.bf-snackbar-enabled .woocommerce-message,
html.bf-snackbar-enabled .woocommerce-info {
  display: none !important;
}