
#pc-shop .pc-skeleton {
  position: relative;
  overflow: hidden;
  background: #ececec;
  border-radius: 10px;
}

#pc-shop .pc-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: pc-skeleton-shimmer 1.2s infinite;
}

@keyframes pc-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

#pc-shop .pc-skeleton-card {
  pointer-events: none;
}

#pc-shop .pc-skeleton-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
}

#pc-shop .pc-skeleton-title {
  height: 18px;
  width: 85%;
  margin: 12px 0 8px;
}

#pc-shop .pc-skeleton-category {
  height: 14px;
  width: 55%;
  margin-bottom: 10px;
}

#pc-shop .pc-skeleton-price {
  height: 18px;
  width: 65%;
  margin-bottom: 12px;
}

#pc-shop .pc-skeleton-button {
  height: 42px;
  width: 100%;
  border-radius: 12px;
}

#pc-shop .pc-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #777;
  font-size: 16px;
}

@media (max-width: 768px) {
  #pc-shop .pc-skeleton-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    padding: 0 0 8px;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid var(--pc-text-faint);
  }

  #pc-shop .pc-skeleton-card .pc-skeleton-image {
    flex: 0 0 30%;
    width: 30%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  #pc-shop .pc-skeleton-card .card-lower {
    flex: 1;
    padding: 5px 10px 5px 5px;
    gap: 0;
  }

  #pc-shop .pc-skeleton-card .pc-skeleton-title {
    height: 15px;
    width: 90%;
    margin: 4px 0 8px;
  }
  #pc-shop .pc-skeleton-card .pc-skeleton-category {
    height: 12px;
    width: 40%;
    margin-bottom: 14px;
  }
  #pc-shop .pc-skeleton-card .pc-skeleton-price {
    height: 15px;
    width: 50%;
    margin-bottom: 0;
  }
  #pc-shop .pc-skeleton-card .pc-skeleton-button {
    display: none;
  }
}
