/* STL Forge Events — WooCommerce Product Event Context Card v0.1.7.2 */
.stlf-product-event-card{
  --stlf-pe-purple:#6241ed;
  --stlf-pe-orange:#ff7a35;
  --stlf-pe-green:#9bf26d;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  box-sizing:border-box;
  margin:22px 0 8px;
  padding:20px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  color:#f8f4fa;
  background:
    radial-gradient(circle at 92% 5%,rgba(98,65,237,.16),transparent 38%),
    radial-gradient(circle at 6% 94%,rgba(255,112,48,.09),transparent 38%),
    linear-gradient(145deg,#100b14 0%,#0d0a10 58%,#0b090d 100%);
  box-shadow:0 18px 45px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025);
  font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.stlf-product-event-card::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 0 38%,rgba(255,255,255,.025) 48%,transparent 58%);
  transform:translateX(-65%);transition:transform .9s cubic-bezier(.2,.7,.2,1);
}
.stlf-product-event-card:hover::before{transform:translateX(65%)}
.stlf-product-event-glow{
  position:absolute;z-index:-1;width:240px;height:240px;right:-100px;top:-125px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,119,52,.17),rgba(98,65,237,.08) 42%,transparent 70%);
  filter:blur(8px);pointer-events:none;
}
.stlf-product-event-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.stlf-product-event-kicker{display:inline-flex;align-items:center;gap:7px;font-size:9px;line-height:1;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#c9bdce}
.stlf-product-event-kicker i{display:block;width:7px;height:7px;border-radius:50%;background:var(--stlf-pe-green);box-shadow:0 0 0 4px rgba(155,242,109,.08),0 0 15px rgba(155,242,109,.35)}
.stlf-product-event-ended .stlf-product-event-kicker i{background:#b5a8bd;box-shadow:none}
.stlf-product-event-upcoming .stlf-product-event-kicker i{background:#d9bbff;box-shadow:0 0 14px rgba(176,121,255,.32)}
.stlf-product-event-time{font-size:10px;font-weight:700;color:#ffab7a;white-space:nowrap}
.stlf-product-event-ended .stlf-product-event-time{color:#b8abbc}
.stlf-product-event-brand{display:flex;align-items:center;justify-content:center;min-height:72px;margin:0 0 9px;padding:2px 18px 5px;box-sizing:border-box;overflow:visible;text-align:center}
.product .stlf-product-event-card .stlf-product-event-brand img{display:block!important;width:76%!important;max-width:360px!important;height:auto!important;max-height:none!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;margin:0 auto!important;object-fit:contain!important;object-position:center center!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28))}
.stlf-product-event-brand>strong{font-size:24px;line-height:1.08;font-weight:850;letter-spacing:-.025em;color:#fff}
.stlf-product-event-copy{border-top:1px solid rgba(255,255,255,.055);padding-top:13px}
.stlf-product-event-eyebrow{display:block;margin-bottom:7px;font-size:9px;font-weight:850;letter-spacing:.11em;text-transform:uppercase;color:#a892ff}
.stlf-product-event-copy p{margin:0!important;color:#c9c0cc!important;font-size:12px!important;line-height:1.7!important}
.stlf-product-event-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}
.stlf-product-event-stats>span{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.025)}
.stlf-product-event-stats b{font-size:12px;line-height:1.2;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stlf-product-event-stats small{font-size:9px;line-height:1.35;color:#897f8d}
.stlf-product-event-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:stretch}
.stlf-product-event-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:10px;text-decoration:none!important;font-size:10px;font-weight:800;line-height:1.1;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.stlf-product-event-primary{gap:9px;color:#fff!important;background:linear-gradient(110deg,var(--stlf-pe-purple),#8d3ee8 55%,var(--stlf-pe-orange));box-shadow:0 10px 26px rgba(98,65,237,.16)}
.stlf-product-event-primary:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(98,65,237,.23)}
.stlf-product-event-primary b{font-size:14px;font-weight:500}
.stlf-product-event-secondary{color:#d5cbd9!important;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)}
.stlf-product-event-secondary:hover{transform:translateY(-1px);border-color:rgba(166,133,255,.28);background:rgba(98,65,237,.07)}
.stlf-product-event-community{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding-top:11px;border-top:1px solid rgba(255,255,255,.055);color:#b9adbF!important;text-decoration:none!important;font-size:9.5px;font-weight:650}
.stlf-product-event-community:hover{color:#fff!important}
.stlf-product-event-community b{color:#ff9b61;font-size:12px}
@media(max-width:767px){
  .stlf-product-event-card{padding:17px;border-radius:15px;margin-top:18px}
  .stlf-product-event-top{align-items:flex-start;flex-direction:column;gap:7px}
  .stlf-product-event-brand{min-height:64px;padding-inline:10px}
  .product .stlf-product-event-card .stlf-product-event-brand img{width:80%!important;max-width:320px!important}
  .stlf-product-event-actions{grid-template-columns:1fr}
  .stlf-product-event-actions a{min-height:43px}
}
@media(prefers-reduced-motion:reduce){
  .stlf-product-event-card::before,.stlf-product-event-actions a{transition:none!important}
}
