/* Shared by the initial HTML and React route fallbacks; no JS or image needed. */
.page-skeleton {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  background: #f9f9ff;
  overflow: hidden;
}
.page-skeleton, .page-skeleton * { box-sizing: border-box; }
.page-skeleton__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-skeleton__block {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e9f0;
}
.page-skeleton__block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, #ffffff80 45%, transparent 75%);
  transform: translateX(-100%);
  animation: page-skeleton-shimmer 1.8s ease-in-out infinite;
}
.page-skeleton__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  padding: 0 max(24px, calc((100% - 1232px) / 2));
  background: #fff;
  border-bottom: 1px solid #edf0f5;
}
.page-skeleton__brand { width: 112px; height: 32px; }
.page-skeleton__nav { width: min(50%, 420px); height: 20px; }
.page-skeleton__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  padding: 32px 24px;
  background: #eef1f7;
}
.page-skeleton--home .page-skeleton__hero { height: clamp(560px, 37.5vw, 720px); min-height: 560px; }
.page-skeleton__headline { width: min(80%, 560px); height: 24px; }
.page-skeleton__subtitle { width: min(60%, 360px); height: 16px; }
.page-skeleton__search { width: min(100%, 1024px); height: 128px; margin-top: 8px; }
.page-skeleton__content { max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.page-skeleton__section-title { width: min(65%, 280px); height: 32px; margin-bottom: 20px; }
.page-skeleton__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.page-skeleton__card { min-width: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.page-skeleton__image { height: 208px; border-radius: 0; }
.page-skeleton__details { display: grid; gap: 14px; padding: 16px; }
.page-skeleton__line { height: 18px; width: 90%; }
.page-skeleton__line--short { height: 14px; width: 70%; }
.page-skeleton__price { height: 20px; width: 40%; margin-top: 4px; }
@keyframes page-skeleton-shimmer { to { transform: translateX(100%); } }
@media (min-width: 769px) and (max-width: 1100px) {
  .page-skeleton__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .page-skeleton__header { padding: 0 16px; }
  .page-skeleton__hero { padding: 24px 16px; }
  .page-skeleton--home .page-skeleton__hero { height: clamp(500px, 72vw, 560px); min-height: 500px; }
  .page-skeleton__search { height: 244px; }
  .page-skeleton__content { padding: 24px 16px; }
  .page-skeleton__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-skeleton__block::after { animation: none; display: none; }
}
