﻿/* Ofertas (encartes) */
.rolar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.rolar::-webkit-scrollbar { display: none; }
.rolar > * { flex: none; }
.galeria { display: flex; gap: 12px; padding-top: 2px; padding-bottom: 10px; }
.galeria-item { width: 136px; flex: none; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: transform .15s; }
.galeria-item:active { transform: scale(.96); }
.galeria-item img { width: 136px; height: 170px; object-fit: cover; border-radius: 16px; box-shadow: 0 8px 20px rgba(15,23,42,.18); display: block; }
.galeria-item span { font-weight: 800; font-size: .82rem; text-align: center; }
.galeria.paisagem .galeria-item { width: 220px; }
.galeria.paisagem .galeria-item img { width: 220px; height: 124px; }
.temas { display: flex; gap: 10px; }
.tema {
  position: relative; width: 88px; height: 110px; border-radius: 14px; border: 3px solid transparent; cursor: pointer;
  display: flex; align-items: flex-end; padding: 0; overflow: hidden; box-shadow: 0 4px 12px rgba(15,23,42,.15);
  background-size: cover; background-position: center top; transition: transform .15s;
}
.tema .tema-titulo { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: .95rem; line-height: .95; text-transform: uppercase; }
.tema span.tema-nome { width: 100%; background: rgba(255,255,255,.94); color: var(--texto); font-weight: 800; font-size: .74rem; padding: 3px 0; }
.tema.ativo { border-color: var(--tinta); transform: scale(1.04); }
.formatos { display: flex; gap: 8px; }
.formato {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 8px; min-width: 78px; border-radius: 14px;
  border: 1.5px solid var(--linha); background: var(--card); cursor: pointer; font-weight: 700; font-size: .74rem;
}
.formato i { display: block; border: 2.5px solid currentColor; border-radius: 4px; color: #94a3b8; }
.formato.ativo { border-color: var(--tinta); }
.formato.ativo i { color: var(--tinta); }
.lista-encarte { display: flex; flex-direction: column; gap: 8px; }
.item-encarte { display: flex; align-items: center; gap: 2px; background: var(--card); border: 1px solid var(--linha); border-radius: var(--raio); padding: 2px 4px 2px 0; }
.item-encarte .produto-info { padding: 6px 4px; }
.btn-icone.ligado { color: #f5b409; }
.btn-icone.ligado .ic { fill: #f5b409; }
.miniatura.pequena { width: 36px; height: 36px; }
.marcar .cartao-texto { line-height: 1.2; }
.alerta-texto { color: #8a4b00 !important; }
.salvo { text-align: center; min-height: 1em; }
.barra-saidas {
  position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); z-index: 3;
  display: flex; gap: 8px; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--fundo); border-top: 1px solid var(--linha);
}
.barra-saidas .btn { flex: 1; min-width: 0; padding: 6px 4px; font-size: .78rem; flex-direction: column; gap: 2px; height: auto; min-height: 56px; white-space: nowrap; }

/* Encarte em vídeo */
.barra-progresso { height: 10px; border-radius: 99px; background: var(--linha); overflow: hidden; }
.barra-progresso i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #16B6F2, #F72B60); transition: width .25s; }
.video-gerando { display: flex; justify-content: center; padding: 18px 0 4px; color: var(--tinta); animation: pulsar 1.2s ease-in-out infinite alternate; }
@keyframes pulsar { to { transform: scale(1.12); opacity: .7; } }
.video-pronto { width: 100%; max-height: 52vh; border-radius: 14px; background: #000; display: block; }
