html,
body {
  height: 100%;
  margin: 0;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 32px 16px;
}

.error-page__card {
  max-width: 620px;
  padding: 40px;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.error-page__code {
  color: #2f6ae6;
  font-size: 54px;
  font-weight: 900;
}

.error-page__link {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #2f6ae6;
  color: #fff;
  text-decoration: none;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  color: #6f6f6f;
  font-size: 14px;
}

.seo-breadcrumbs a {
  color: inherit;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
}

.cart-toast {
  position: fixed;
  top: 104px;
  left: 50%;
  z-index: 11000;
  width: max-content;
  max-width: min(520px, calc(100vw - 32px));
  padding: 18px 24px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: #972f29;
  color: #fff;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .32), 0 0 0 9999px rgba(0, 0, 0, .10);
  opacity: 0;
  transform: translate(-50%, -14px) scale(.96);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.cart-toast::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  color: #972f29;
  font-size: 20px;
  font-weight: 900;
  vertical-align: middle;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.cart-toast.is-error {
  background: #1f1f1f;
}

.cart-toast.is-error::before {
  content: "!";
}

@media (max-width: 560px) {
  .cart-toast {
    top: 92px;
    left: 50%;
    width: calc(100vw - 24px);
    max-width: none;
    padding: 16px 14px;
    font-size: 17px;
  }
}
