/* =====================================================================
   OASIS — A PÁGINA DA LOJA, redesenhada (1.03.107)
   assets/vf/loja.css · pages/verEstabelecimento.php

   O topo (capa, identidade, situação, nota), a fila de ações (Seguir,
   Mensagem pelo OASIS, WhatsApp, Como chegar, Compartilhar e PROMOVER
   EVENTO), os números da casa, o programa de promoters e as Action Lives
   que vão acontecer ali. Prefixo `lj-`. Cores pelo tema (--t-*).
   ===================================================================== */

.lj { background: var(--t-sup, #fff); border-radius: 0 0 24px 24px; overflow: hidden; position: relative; }
@media (min-width: 900px) { .lj { border-radius: 24px; margin-top: 4px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); border: 1px solid var(--t-linha, #EEF1F6); } }
.lj * { box-sizing: border-box; }

/* Capa */
.lj-capa { position: relative; height: 230px; background: linear-gradient(130deg, var(--lj-cor, #2563EB), color-mix(in srgb, var(--lj-cor, #2563EB) 55%, #0F172A)); overflow: hidden; }
.lj-capa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lj-capa--logo > img { filter: blur(26px) saturate(1.3); transform: scale(1.25); opacity: .85; }
.lj-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .42) 100%); pointer-events: none; }
.lj-capa__acoes { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.lj-capa__acoes > div { display: flex; gap: 8px; }
.lj-capa__bt { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; font-size: 1.1rem; cursor: pointer; text-decoration: none; background: rgba(15, 23, 42, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s; }
.lj-capa__bt:hover { background: rgba(15, 23, 42, .5); color: #fff; }
@media (max-width: 600px) { .lj-capa { height: 180px; } }

/* Identidade */
.lj-id { display: flex; gap: 18px; align-items: flex-start; padding: 0 22px; margin-top: -56px; position: relative; z-index: 3; }
.lj-logo { position: relative; width: 116px; height: 116px; border-radius: 30px; flex: 0 0 auto; background: var(--lj-cor, #2563EB); color: #fff; display: grid; place-items: center; font-size: 2.1rem; font-weight: 900; border: 5px solid var(--t-sup, #fff); box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .55); }
.lj-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; display: block; }
.lj-logo__ok { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--t-cor, #2563EB); color: #fff; border: 3px solid var(--t-sup, #fff); font-size: .85rem; }
.lj-id__txt { flex: 1; min-width: 0; padding-top: 66px; display: flex; flex-direction: column; gap: 6px; }
.lj-id__txt h1 { margin: 0; font-size: 1.7rem; font-weight: 900; letter-spacing: -.6px; line-height: 1.15; color: var(--t-tx, #0F172A); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.lj-id__txt h1 i { color: var(--t-cor, #2563EB); font-size: 1.25rem; }
.lj-meta { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; color: var(--t-tx3, #64748B); font-size: .9rem; font-weight: 600; }
.lj-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.lj-meta .lj-dot { color: var(--t-tx4, #CBD5E1); }
.lj-meta #loja-dist { color: var(--t-cor-tx, #2563EB); font-weight: 800; }
.lj-meta2 { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.lj-status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.lj-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lj-status--aberto { background: #E7F7EE; color: #15803D; }
.lj-status--fechado { background: #FDECEC; color: #B91C1C; }
.lj-status--nada { background: var(--t-sup3, #F1F5F9); color: var(--t-tx3, #64748B); }
.lj-status--aberto::before { box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); animation: ljPulso 2s infinite; }
@keyframes ljPulso { 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } }
.lj-nota { display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; color: var(--t-tx2, #334155); font-size: .85rem; font-weight: 700; }
.lj-nota:hover { color: var(--t-cor-tx, #2563EB); }
@media (max-width: 600px) {
  .lj-id { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: -48px; padding: 0 16px; }
  .lj-id__txt { padding-top: 0; }
  .lj-logo { width: 96px; height: 96px; border-radius: 26px; }
  .lj-logo img { border-radius: 21px; }
  .lj-id__txt h1 { font-size: 1.4rem; }
}

/* Ações */
.lj-acoes { display: flex; gap: 8px; padding: 18px 22px 0; flex-wrap: wrap; align-items: center; }
.lj-bt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 13px; border: 1.5px solid var(--t-linha2, #D9DFE8); background: var(--t-sup, #fff); color: var(--t-tx, #0F172A); font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.lj-bt:hover { background: var(--t-sup3, #F3F5F9); color: var(--t-tx, #0F172A); }
.lj-bt:active { transform: scale(.97); }
.lj-bt i { font-size: 1.1rem; }
.lj-bt--azul { background: var(--t-cor, #2563EB); border-color: var(--t-cor, #2563EB); color: #fff; }
.lj-bt--azul:hover { background: color-mix(in srgb, var(--t-cor, #2563EB) 88%, #000); color: #fff; }
.lj-bt--azul.seguindo { background: var(--t-sup, #fff); color: var(--t-tx2, #334155); border-color: var(--t-linha2, #D9DFE8); }
.lj-bt--ic { width: 44px; padding: 0; }
.lj-bt--zap { color: #15803D; }
.lj-bt--promo { border: 0; color: #fff; background: linear-gradient(120deg, #6D28D9 0%, #DB2777 55%, #F97316 100%); box-shadow: 0 12px 26px -14px rgba(219, 39, 119, .9); padding: 0 18px; position: relative; overflow: hidden; }
.lj-bt--promo:hover { color: #fff; background: linear-gradient(120deg, #6D28D9 0%, #DB2777 55%, #F97316 100%); filter: brightness(1.07); }
.lj-bt--promo::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: ljBrilho 3.5s infinite; }
@keyframes ljBrilho { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.lj-acoes__esp { flex: 1; }
@media (prefers-reduced-motion: reduce) { .lj-bt--promo::after, .lj-status--aberto::before { animation: none; } }
@media (max-width: 600px) {
  .lj-acoes { padding: 16px 16px 0; display: grid; grid-template-columns: 1fr 1fr; }
  .lj-acoes .lj-bt { width: 100%; }
  .lj-acoes .lj-bt--promo { grid-column: 1 / -1; order: -1; height: 50px; font-size: .98rem; }
  .lj-acoes__icones { grid-column: 1 / -1; display: flex; gap: 8px; }
  .lj-acoes__icones .lj-bt { flex: 1; }
  .lj-acoes__esp { display: none; }
}
.lj-acoes__icones { display: flex; gap: 8px; }

/* Números */
.lj-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 18px 22px 22px; border: 1px solid var(--t-linha, #EEF2F7); border-radius: 18px; overflow: hidden; background: var(--t-sup2, #F8FAFC); }
.lj-num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 8px; text-align: center; min-width: 0; border-left: 1px solid var(--t-linha, #EEF2F7); text-decoration: none !important; color: inherit; }
.lj-num:first-child { border-left: 0; }
a.lj-num:hover { background: var(--t-sup, #fff); }
.lj-num b { display: block; font-size: 1.25rem; font-weight: 900; color: var(--t-tx, #0F172A); letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lj-num small { display: block; font-size: .74rem; font-weight: 700; color: var(--t-tx3, #64748B); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lj-num--al b { background: linear-gradient(120deg, #6D28D9, #DB2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) {
  .lj-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px; }
  .lj-num:nth-child(4) { border-left: 0; }
  .lj-num:nth-child(n+4) { border-top: 1px solid var(--t-linha, #EEF2F7); }
}

/* O programa de promoters */
.lj-promo { position: relative; overflow: hidden; margin: 16px 16px 6px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #4C1D95 0%, #9D174D 55%, #C2410C 100%); display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 22px 24px; align-items: center; }
.lj-promo::before { content: ""; position: absolute; right: -80px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 65%); pointer-events: none; }
.lj-promo > * { position: relative; }
.lj-promo small { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 900; letter-spacing: .9px; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 5px 10px; border-radius: 999px; }
.lj-promo h2 { margin: 10px 0 6px; font-size: 1.45rem; font-weight: 900; letter-spacing: -.4px; line-height: 1.2; color: #fff; }
.lj-promo p { margin: 0 0 12px; font-size: .92rem; line-height: 1.55; opacity: .95; max-width: 520px; }
.lj-promo ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: row; gap: 7px; flex-wrap: wrap; }
.lj-promo li { width: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .8rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, .18); }
.lj-promo__acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.lj-promo .lj-bt { border: 0; background: #fff; color: #6D28D9; }
.lj-promo .lj-bt:hover { background: #F5F3FF; color: #6D28D9; }
.lj-promo .lj-bt--vidro { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.lj-promo .lj-bt--vidro:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.lj-promo__arte { display: grid; gap: 8px; justify-items: center; text-align: center; min-width: 150px; }
.lj-promo__raio { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 2.6rem; }
.lj-promo__raio i { font-size: 2.6rem; line-height: 1; }
.lj-promo__arte b { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.lj-promo__arte span { font-size: .78rem; opacity: .9; font-weight: 700; }
@media (max-width: 640px) { .lj-promo { grid-template-columns: 1fr; padding: 20px; } .lj-promo__arte { display: none; } .lj-promo h2 { font-size: 1.25rem; } }
.lj-dono { margin: 16px 16px 6px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, #DB2777 40%, transparent); background: color-mix(in srgb, #DB2777 5%, var(--t-sup, #fff)); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: var(--t-tx2, #334155); }
.lj-dono b { color: var(--t-tx, #0F172A); }
.lj-dono a { margin-left: auto; font-weight: 800; color: #DB2777; text-decoration: none; }

/* As Action Lives que vão acontecer na casa */
.lj-als { margin: 20px 0 4px; }
.lj-als__lista { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.lj-als__lista::-webkit-scrollbar { display: none; }
.lj-al { flex: 0 0 280px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--t-sup, #fff); border: 1px solid var(--t-linha, #E5E7EB); text-decoration: none !important; color: inherit; transition: box-shadow .15s, border-color .15s; min-width: 0; }
.lj-al:hover { border-color: color-mix(in srgb, #DB2777 35%, transparent); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .5); }
.lj-al__data { flex: 0 0 auto; width: 54px; height: 60px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(150deg, #6D28D9, #DB2777); line-height: 1.05; }
.lj-al__data b { font-size: 1.35rem; font-weight: 900; }
.lj-al__data small { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.lj-al__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lj-al__txt b { display: block; font-size: .92rem; font-weight: 800; color: var(--t-tx, #0F172A); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lj-al__txt small { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--t-tx3, #64748B); white-space: nowrap; overflow: hidden; min-width: 0; }
.lj-al__txt small span { display: block; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lj-al__txt small .oa-avatar { flex: 0 0 auto; }
.lj-al__txt em { font-style: normal; font-size: .74rem; font-weight: 800; color: #DB2777; }

/* Avaliações sem destaques: a caixa fica no fluxo normal */
.lj-sec-titulo { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; margin: 0 0 12px; }
.lj-sec-titulo h3 { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--t-tx, #0F172A); }

/* Escuro */
html[data-modo="escuro"] .lj-status--aberto { background: #12301F; color: #4ADE80; }
html[data-modo="escuro"] .lj-status--fechado { background: #3A1518; color: #FCA5A5; }
html[data-modo="escuro"] .lj-bt--zap { color: #4ADE80; }
html[data-modo="escuro"] .lj-promo .lj-bt { background: #fff; color: #6D28D9; }
