/* Smooth fade-in page transition (full CSS) */
body {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
body.loaded {
  opacity: 1;
}

/* Loader overlay with CSS spinner (styles repeated here for completeness) */
#smoothloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skeleton-box {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Product fade-in (same as inline) */
.products li.product {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.products li.product.visible {
    opacity: 1;
    transform: translateY(0);
}
