.elpcc-wrap { position: relative; }

/* Filtros */
.elpcc-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.elpcc-chip {
  appearance: none; border: 1px solid #e3e3e3; background: #fff; color: #111;
  padding: .4rem .75rem; border-radius: 999px; cursor: pointer; font-size: .9rem;
}
.elpcc-chip:hover { background: #f7f7f7; }
.elpcc-chip.is-active { background: #111; color: #fff; border-color: #111; }

/* Card do curso */
.elpcc-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); text-decoration: none; color: inherit; }
.elpcc-media { aspect-ratio: 16/9; background: #f3f4f6; overflow: hidden; }
.elpcc-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.elpcc-thumb.placeholder { background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6); height: 100%; }
.elpcc-body { padding: .9rem 1rem; }
.elpcc-title { font-size: 1rem; line-height: 1.3; margin: 0 0 .4rem; }
.elpcc-cats { font-size: .85rem; color: #6b7280; }

/* Loading */
.elpcc-loading { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.6); z-index: 2; }
.elpcc-loading.is-active { display: flex; }
.elpcc-loading::after { content: ''; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #111; border-right-color: transparent; animation: elpccspin .8s linear infinite; }
@keyframes elpccspin { to { transform: rotate(360deg); } }

/* Ajustes Splide */
.elpcc-splide .splide__slide { padding: 0; }
 
.elpcc-buy { margin-top: .6rem; }
.elpcc-buy .lp-button, .elpcc-buy a.button, .elpcc-buy button {
display: inline-block; padding: .4rem .9rem; border-radius: 6px;
background: #111; color: #fff; text-decoration: none; border: 0;
}
.elpcc-buy .lp-button:hover, .elpcc-buy a.button:hover, .elpcc-buy button:hover { background: #333; }

