/* AC Infinite Scroll — skeleton loaders */

@keyframes ac-is-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ac-is-skeleton {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
}

.ac-is-sk-img {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(110deg, #eef1f5 8%, #f7f9fc 18%, #eef1f5 33%);
  background-size: 200% 100%;
  animation: ac-is-shimmer 1.6s linear infinite;
  flex-shrink: 0;
}

.ac-is-sk-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ac-is-sk-line {
  height: 12px;
  border-radius: 4px;
  background:
    linear-gradient(110deg, #eef1f5 8%, #f7f9fc 18%, #eef1f5 33%);
  background-size: 200% 100%;
  animation: ac-is-shimmer 1.6s linear infinite;
}

.ac-is-sk-line.short { width: 55%; }

@media (max-width: 480px) {
  .ac-is-sk-img { aspect-ratio: 3 / 4; }
}

.ac-is-sentinel {
  width: 100%;
  height: 1px;
  margin: 1.4rem 0 0;
}

/* ── Botón "Cargar más productos" ─────────────────────────── */
.ac-loadmore-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 2.4rem 0 0.5rem;
}

.ac-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 15px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  background: #1a2a4a;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 42, 74, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ac-loadmore-btn:hover {
  background: #0d1a2e;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26, 42, 74, 0.30);
}

.ac-loadmore-btn:active { transform: translateY(0); }

.ac-loadmore-btn:disabled,
.ac-loadmore-btn.is-loading {
  cursor: default;
  opacity: 0.85;
  transform: none;
  box-shadow: 0 6px 18px rgba(26, 42, 74, 0.18);
}

.ac-loadmore-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ac-is-spin 0.7s linear infinite;
}

.ac-loadmore-btn.is-loading .ac-loadmore-spinner { display: inline-block; }

@keyframes ac-is-spin { to { transform: rotate(360deg); } }

.ac-loadmore-status {
  margin: 0;
  min-height: 1em;
  font-size: 13.5px;
  color: #b23b3b;
  text-align: center;
}

@media (max-width: 480px) {
  .ac-loadmore-btn { min-width: 0; width: 100%; }
}
