/* Skeleton Product Grid - Standalone CSS */
.skeleton-product-grid {
  width: 100%;
  padding: 20px 0;
}

/* Override any loading spinner animations only for skeleton elements */
.skeleton-product-grid .skeleton-item * {
  animation-name: skeleton-pulse !important;
  transform: none !important;
  border: none !important;
}

/* Remove any spinning animations from skeleton elements */
.skeleton-product-grid .skeleton-item,
.skeleton-product-grid .skeleton-item * {
  animation: skeleton-pulse 1.5s ease-in-out infinite !important;
}

/* Protect loading spinners from skeleton overrides */
.skeleton-product-grid .loading-spinner {
  animation: spin 1s linear infinite !important;
  transform: none !important;
  border: 3px solid #e5e7eb !important;
  border-top: 3px solid #fb7701 !important;
  border-radius: 50% !important;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18%, 1fr));
  gap: 20px;
}

.skeleton-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 280px;
  width: 100%;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skeleton-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-icons {
  display: flex;
  gap: 4px;
}

.skeleton-icon {
  width: 16px;
  height: 16px;
  background: #ddd;
  border-radius: 2px;
}

.skeleton-icon.dress {
  background: #ccc;
}

.skeleton-icon.shoe {
  background: #bbb;
}

.skeleton-icon.bag {
  background: #aaa;
}

.skeleton-logo-text {
  font-size: 12px;
  font-weight: bold;
  color: #999;
  letter-spacing: 1px;
}

.skeleton-content {
  padding: 12px;
}

.skeleton-text {
  height: 12px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
  animation: skeleton-pulse 1.5s ease-in-out infinite !important;
  /* Ensure no spinning animation */
  transform: none !important;
  animation-name: skeleton-pulse !important;
}

.skeleton-text-1 {
  width: 80%;
}

.skeleton-text-2 {
  width: 60%;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.01);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }
  
  .skeleton-item {
    height: 220px;
  }
  
  .skeleton-image {
    height: 150px;
  }
  
  .skeleton-content {
    padding: 10px;
  }
  
  .skeleton-text {
    height: 10px;
    margin-bottom: 6px;
  }
}
