/* Liveshop: a live na página dos produtos (chamada e mini player). */

.lm-chamada { position: fixed; z-index: 70; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; width: 330px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 10px; border-radius: 18px; background: #0d0d12; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px -18px rgba(0,0,0,.6); font-family: ui-sans-serif, system-ui, sans-serif; animation: lm-entrar .5s cubic-bezier(.2,.8,.2,1); }
@keyframes lm-entrar { from { transform: translateY(18px); opacity: 0; } }
.lm-chamada .lm-foto { position: relative; width: 62px; height: 62px; border-radius: 14px; flex: none; background: #ff2d46 center/cover; overflow: hidden; }
.lm-chamada .lm-foto::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px #ff2d46; border-radius: 14px; animation: lm-anel 1.6s infinite; }
@keyframes lm-anel { 50% { box-shadow: inset 0 0 0 4px rgba(255,45,70,.4); } }
.lm-chamada .lm-txt { min-width: 0; flex: 1; }
.lm-ao-vivo { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px; border-radius: 6px; background: #ff2d46; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.lm-ao-vivo i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: lm-pulso 1.4s infinite; }
@keyframes lm-pulso { 50% { opacity: .3; } }
.lm-chamada b { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 800; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lm-chamada small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.lm-botao { flex: none; height: 38px; padding: 0 14px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #111; font-size: 13px; font-weight: 800; border: 0; cursor: pointer; text-decoration: none; }
.lm-fechar { position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #24242c; color: #fff; border: 0; cursor: pointer; font-size: 13px; box-shadow: 0 0 0 2px #0d0d12; }

.lm-player { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: 300px; max-width: calc(100vw - 32px); border-radius: 18px; overflow: hidden; background: #000; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.7); font-family: ui-sans-serif, system-ui, sans-serif; animation: lm-entrar .45s cubic-bezier(.2,.8,.2,1); }
.lm-player.grande { width: 420px; }
.lm-video { position: relative; aspect-ratio: 9/14; background: #000; }
.lm-player.paisagem .lm-video { aspect-ratio: 16/10; }
.lm-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-video video.contida { object-fit: contain; }
.lm-video .lm-vazio { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; font-size: 13px; color: rgba(255,255,255,.75); background: radial-gradient(120% 90% at 50% 0%, #3a0a14 0%, #000 70%); }
.lm-topo { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 10px; background: linear-gradient(180deg, rgba(0,0,0,.6), transparent); }
.lm-topo .lm-pessoas { font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.45); }
.lm-topo .lm-acoes { margin-left: auto; display: flex; gap: 6px; }
.lm-topo button, .lm-topo a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; border: 0; cursor: pointer; font-size: 15px; }
.lm-titulo { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; font-size: 13px; font-weight: 800; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.lm-produto { display: flex; align-items: center; gap: 10px; padding: 9px; background: #fff; color: #111; }
.lm-produto img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: #eee; }
.lm-produto .lm-txt { min-width: 0; flex: 1; }
.lm-produto small { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff2d46; }
.lm-produto b { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lm-produto span { font-size: 13px; font-weight: 900; }
.lm-produto .lm-botao { background: #111; color: #fff; }
.lm-aviso { padding: 8px 10px; font-size: 12px; background: #1a1a20; }
@media (max-width: 640px) {
  .lm-chamada { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .lm-player, .lm-player.grande { right: 12px; bottom: 12px; width: 190px; }
  .lm-produto { flex-wrap: wrap; }
  .lm-produto img { width: 38px; height: 38px; }
  .lm-produto .lm-botao { width: 100%; justify-content: center; height: 34px; }
}
