/* cart-toast styles start */
/* cart-toast.php: Add-to-Cart Toast */
.wt-toast {
  position: fixed;
  top: 164px;
  right: 18px;
  z-index: 99999;
  width: 360px;
  max-width: calc(100vw - 36px);
  background: #f5f5f2e9;
  color: #2d2a2d;
  border: none;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(45, 42, 45, 0.16);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.wt-toast.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wt-toast__header {
  padding: 16px 0px 6px 88px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
}

.wt-toast__list {
  display: flex;
  flex-direction: column;
}

.wt-toast__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
  padding: 2px 24px 16px;
  text-decoration: none;
  color: #2d2a2d;
  cursor: pointer;
  animation: wtFadeIn 0.2s ease;
}

@keyframes wtFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wt-toast__img {
  width: 40px;
  min-width: 40px;
  height: 64px;
  border-radius: 6px;
  background: #f5efe9;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-toast__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.wt-toast__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 0;
}

.wt-toast__name {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wt-toast__qty {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.2;
}

.wt-toast__footer {
  padding: 0 24px 16px;
}
.wt-toast__progress {
  height: 2px;
  background: rgba(45, 42, 45, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.wt-toast__progress-bar {
  height: 100%;
  background: #8d2630;
  border-radius: 2px;
  width: 100%;
  transform-origin: left;
  transition: none;
}
.wt-toast__progress-bar.is-running {
  transition: transform linear;
}

@media (max-width: 767px) {
  .wt-toast {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: none;
  }
}

/* cart-toast styles end */
