.alot-pancake-product-button {
  align-items: center;
  background: #00a651;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 1 0 100%;
  font: inherit;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  margin: 10px 0 14px;
  min-height: 48px;
  order: 99;
  padding: 11px 18px;
  text-align: center;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

.alot-pancake-product-button:hover,
.alot-pancake-product-button:focus-visible {
  background: #008f46;
  box-shadow: 0 6px 16px rgba(0, 143, 70, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.alot-pancake-product-button:focus-visible {
  outline: 3px solid rgba(0, 166, 81, 0.28);
  outline-offset: 2px;
}

.alot-pancake-button-icon {
  font-size: 18px;
  line-height: 1;
}

.alot-pancake-product-button[aria-busy="true"],
.alot-pancake-product-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.alot-pancake-product-button[hidden] {
  display: none !important;
}

body.alot-popup-is-open {
  overflow: hidden;
}

.alot-pancake-popup {
  align-items: center;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 999999;
}

.alot-pancake-popup[hidden] {
  display: none !important;
}

.alot-pancake-popup__dialog {
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.35));
  max-height: calc(100vh - 48px);
  max-width: min(680px, calc(100vw - 48px));
  position: relative;
  transform: translateY(10px) scale(0.98);
}

.alot-pancake-popup.is-visible .alot-pancake-popup__dialog {
  animation: alot-popup-arrive 220ms ease-out forwards;
}

.alot-pancake-popup__link {
  border-radius: 16px;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.alot-pancake-popup__image {
  display: block;
  height: auto;
  max-height: calc(100vh - 48px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.alot-pancake-popup__close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 2px;
  position: absolute;
  right: -14px;
  top: -14px;
  transition: transform 150ms ease, background-color 150ms ease;
  width: 42px;
  z-index: 2;
}

.alot-pancake-popup__close:hover,
.alot-pancake-popup__close:focus-visible {
  background: #f3f4f6;
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
  transform: scale(1.06);
}

@keyframes alot-popup-arrive {
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .alot-pancake-popup {
    padding: 18px;
  }

  .alot-pancake-popup__dialog {
    max-height: calc(100vh - 36px);
    max-width: calc(100vw - 36px);
  }

  .alot-pancake-popup__image {
    max-height: calc(100vh - 36px);
  }

  .alot-pancake-popup__close {
    height: 38px;
    right: -9px;
    top: -9px;
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alot-pancake-product-button,
  .alot-pancake-popup__close {
    transition: none;
  }

  .alot-pancake-popup.is-visible .alot-pancake-popup__dialog {
    animation: none;
    transform: none;
  }
}
