/* Page skeleton loading */
.page-skeleton {
  min-height: 50vh;
}

.page-skeleton.is-active {
  display: block;
}

.page-skeleton:not(.is-active) {
  display: none;
}

.page-content:not(.is-ready) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-content.is-ready {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Shimmer primitives */
.sk {
  background: linear-gradient(90deg, #e8e8e8 0%, #f4f4f4 50%, #e8e8e8 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes sk-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.sk-line {
  height: 14px;
  width: 100%;
}

.sk-line-sm {
  height: 10px;
}

.sk-line-lg {
  height: 20px;
}

.sk-title {
  height: 32px;
}

.sk-heading {
  height: 24px;
}

.sk-w-25 {
  width: 25%;
}

.sk-w-40 {
  width: 40%;
}

.sk-w-50 {
  width: 50%;
}

.sk-w-60 {
  width: 60%;
}

.sk-w-70 {
  width: 70%;
}

.sk-w-80 {
  width: 80%;
}

.sk-img {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.sk-img-square {
  aspect-ratio: 1;
}

.sk-img-tall {
  aspect-ratio: 3 / 4;
}

.sk-img-dest {
  aspect-ratio: 100 / 127;
}

.sk-wave {
  width: 72px;
  height: 40px;
  border-radius: 20px;
}

.sk-dest-card {
  position: relative;
  border-radius: 20px;
}

.sk-dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
}

.sk-country-editorial {
  overflow: hidden;
}

.sk-editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 52vw, 620px);
}

.sk-editorial-row--reverse .sk-editorial-panel {
  order: 1;
}

.sk-editorial-row--reverse .sk-editorial-media {
  order: 2;
}

.sk-editorial-panel {
  display: flex;
  align-items: center;
  background: #fff;
}

.sk-editorial-panel--muted {
  background: #f3f3f3;
}

.sk-editorial-inner {
  width: 100%;
  padding: clamp(2.5rem, 6vw, 5rem);
}

.sk-editorial-media {
  min-height: 320px;
}

@media (max-width: 991px) {
  .sk-editorial-row,
  .sk-editorial-row--reverse {
    grid-template-columns: 1fr;
  }

  .sk-editorial-row--reverse .sk-editorial-panel,
  .sk-editorial-row--reverse .sk-editorial-media {
    order: unset;
  }

  .sk-editorial-media {
    min-height: 280px;
    max-height: 420px;
  }
}

.sk-breadcrumb {
  padding: 80px 0 60px;
  background: #f0f0f0;
}

.sk-breadcrumb-banner {
  height: 280px;
  background: #ebebeb;
}

.sk-hero {
  height: 85vh;
  min-height: 520px;
  background: #e5e5e5;
}

.sk-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sk-card-body {
  padding: 20px;
}

.sk-sidebar-box {
  padding: 24px;
  border-radius: 8px;
  background: #f8f8f8;
}

.sk-form-field {
  height: 48px;
  margin-bottom: 16px;
}

.sk-btn {
  height: 48px;
  width: 160px;
  border-radius: 6px;
}

.sk-accordion-row {
  height: 56px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.sk-gap-2 > * + * {
  margin-top: 8px;
}

.sk-gap-3 > * + * {
  margin-top: 12px;
}

.sk-section {
  padding: 80px 0;
}

.sk-section-sm {
  padding: 60px 0;
}

@media (prefers-reduced-motion: reduce) {
  .sk {
    animation: none;
    background: #ececec;
  }
}
