.lazy-placeholder {
  position: relative;
  overflow: hidden;
}

.lazy-placeholder__surface {
  background: #f7f8fb;
  border: 1px solid #e8ecf3;
  border-radius: 16px;
}

.lazy-placeholder__line {
  height: 12px;
  border-radius: 999px;
  background: #e6ebf3;
}

.lazy-placeholder__line--lg {
  height: 16px;
}

.lazy-placeholder__line--sm {
  height: 10px;
}

.lazy-placeholder__line--w90 {
  width: 90%;
}

.lazy-placeholder__line--w80 {
  width: 80%;
}

.lazy-placeholder__line--w70 {
  width: 70%;
}

.lazy-placeholder__line--w55 {
  width: 55%;
}

.lazy-placeholder__line--w45 {
  width: 45%;
}

.lazy-placeholder__line--w35 {
  width: 35%;
}

.lazy-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: lazy-placeholder-shimmer 1.4s infinite;
}

.booking-loader {
  padding: 14px;
}

.booking-loader__surface {
  padding: 16px;
}

.booking-loader__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.booking-loader__calendar {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #edf1f7;
  background: #ffffff;
}

.booking-loader__weekdays,
.booking-loader__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.booking-loader__weekdays {
  margin-bottom: 10px;
}

.booking-loader__weekdays .lazy-placeholder__line {
  justify-self: center;
}

.booking-loader__days .lazy-placeholder__line {
  width: 100%;
  height: 32px;
  border-radius: 8px;
}

.booking-loader__hint {
  margin: 12px 4px 0;
  color: #6a7bad;
  font-size: 13px;
}

.similar-products-loader {
  margin-top: 20px;
  margin-bottom: 10px;
}

.similar-products-loader__header {
  margin-bottom: 14px;
}

.similar-products-loader__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.similar-products-loader__card {
  padding: 12px;
}

.similar-products-loader__image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: #dde5f0;
  margin-bottom: 12px;
}

.similar-products-loader__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lazy-placeholder--error {
  border: 1px solid #f1d4d4;
  background: #fff8f8;
  border-radius: 12px;
  padding: 12px;
  color: #9a4b4b;
  font-size: 14px;
}

@media (min-width: 768px) {
  .similar-products-loader__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .similar-products-loader__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lazy-placeholder::after {
    animation: none;
  }
}

@keyframes lazy-placeholder-shimmer {
  100% {
    transform: translateX(100%);
  }
}
