/* "Added to your cart" confirmation card. */
.ath-toast {
  position: fixed;
  z-index: 99995;
  top: 12px;
  right: 12px;
  left: 12px;
  width: auto;
  padding: 16px 16px 14px;
  background: var(--ath-white);
  border: 1px solid var(--ath-line);
  border-radius: 6px;
  box-shadow: var(--ath-shadow);
  transform: translateY(-14px);
  opacity: 0;
  transition: transform var(--ath-dur) var(--ath-ease), opacity var(--ath-dur) var(--ath-ease);
}
.ath-toast[hidden] {
  display: none;
}
.ath-toast.is-visible {
  transform: none;
  opacity: 1;
}
@media (min-width: 640px) {
  .ath-toast {
    left: auto;
    top: 96px;
    right: 24px;
    width: 380px;
  }
}
.ath-toast__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ath-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.ath-toast__head {
  margin: 0 0 10px;
  padding-left: 26px;
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ath-olive-dark);
}
.ath-toast__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ath-olive);
}
.ath-toast__head::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ath-toast__body {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ath-toast__body img {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
}
.ath-toast__body strong {
  display: block;
  font-family: var(--ath-font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--ath-ink);
}
.ath-toast__body span {
  display: block;
  margin-top: 3px;
  font-size: var(--ath-text-xs);
  color: var(--ath-muted);
}
.ath-toast__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
body.ath a.ath-toast__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ath-ink);
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
body.ath a.ath-toast__btn--ghost {
  color: var(--ath-ink);
  background: transparent;
}
body.ath a.ath-toast__btn--ghost:hover {
  background: var(--ath-ink);
  color: #fff;
}
body.ath a.ath-toast__btn--solid {
  border-color: var(--ath-olive);
  background: var(--ath-olive);
  color: #fff;
}
body.ath a.ath-toast__btn--solid:hover {
  background: var(--ath-olive-dark);
  border-color: var(--ath-olive-dark);
}

.ath-cart-count.is-bump {
  animation: ath-bump 600ms var(--ath-ease);
}
@keyframes ath-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ath-toast {
    transition: none;
  }
  .ath-cart-count.is-bump {
    animation: none;
  }
}
