/* Order-ready alert banner (all customer layout pages) */
@keyframes pw-order-ready-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

@keyframes pw-order-ready-slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.pw-order-ready-unlock-banner {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 10050;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: min(94vw, 440px);
  padding: 12px 14px 12px 12px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.22), 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: "Lato", sans-serif;
  text-align: left;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pw-order-ready-unlock-banner.show {
  display: flex;
  animation: pw-order-ready-slide-up 0.35s ease;
}

.pw-order-ready-unlock-banner:hover {
  box-shadow: 0 12px 36px rgba(102, 126, 234, 0.32), 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%) translateY(-2px);
}

.pw-order-ready-unlock-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.45);
  animation: pw-order-ready-pulse 2s infinite;
}

.pw-order-ready-unlock-body {
  flex: 1;
  min-width: 0;
}

.pw-order-ready-unlock-title {
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667eea;
  line-height: 1.2;
}

.pw-order-ready-unlock-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 600;
  color: #374151;
}

.pw-order-ready-unlock-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-order-ready-unlock-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.5);
}

.pw-order-ready-unlock-btn:active {
  transform: scale(0.97);
}

.hidden-audio {
  display: none;
}

@media (max-width: 480px) {
  .pw-order-ready-unlock-banner {
    flex-wrap: wrap;
    justify-content: center;
    bottom: 88px;
    padding: 12px;
    border-radius: 20px;
  }

  .pw-order-ready-unlock-body {
    flex: 1 1 100%;
    text-align: center;
  }

  .pw-order-ready-unlock-btn {
    width: 100%;
  }
}
