/* Demo polish: skeletons + consistent shell + image fade-in */

html,
body.guest-app {
  background: #f4f6fa !important;
}

@keyframes guest-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.guest-skel {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #e8ecf2 0%, #f4f6fa 45%, #e8ecf2 90%);
  background-size: 200% 100%;
  animation: guest-skel-shimmer 1.1s ease-in-out infinite;
}

.guest-skel--card {
  height: 112px;
  margin: 0 0 12px;
  border-radius: 14px;
}

.guest-skel--line {
  height: 14px;
  margin: 8px 0;
  max-width: 72%;
}

.guest-skel--line-sm {
  height: 12px;
  max-width: 48%;
}

.guest-skel--seat-row {
  height: 52px;
  margin: 10px 0;
  border-radius: 12px;
}

.guest-skel--block {
  height: 160px;
  margin: 12px 0;
  border-radius: 14px;
}

.guest-skel-stack {
  padding: 12px 16px 24px;
}

.price-summary[aria-busy="true"] {
  position: relative;
}

.price-summary[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(244, 246, 250, 0.15) 0%,
    rgba(244, 246, 250, 0.75) 50%,
    rgba(244, 246, 250, 0.15) 100%
  );
  background-size: 200% 100%;
  animation: guest-skel-shimmer 1.1s ease-in-out infinite;
  pointer-events: none;
}

img.guest-img-fade {
  opacity: 0;
  transition: opacity 0.28s ease;
  background: #e8ecf2;
}

img.guest-img-fade.is-loaded {
  opacity: 1;
}

/* Full-screen soft veil while navigating between steps */
.guest-nav-veil {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: max(28vh, 120px);
  background: rgba(244, 246, 250, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: all;
}

.guest-nav-veil[hidden] {
  display: none !important;
}

.guest-nav-veil__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1a3a8f;
  color: #fff;
  font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, sans-serif;
  box-shadow: 0 8px 24px rgba(26, 58, 143, 0.28);
}

.guest-nav-veil__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a84c;
  animation: guest-nav-pulse 0.9s ease-in-out infinite;
}

@keyframes guest-nav-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

body.guest-app--beach.is-loading-detail .beach-gallery,
body.guest-app--beach.is-loading-detail .gallery-main,
body.guest-app--beach.is-loading-detail .bcard-hero {
  position: relative;
}

body.guest-app--beach.is-loading-detail .gallery-main::after,
body.guest-app--beach.is-loading-detail .bcard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e8ecf2 0%, #f4f6fa 45%, #e8ecf2 90%);
  background-size: 200% 100%;
  animation: guest-skel-shimmer 1.1s ease-in-out infinite;
  pointer-events: none;
}
