/* Sixtini Site (plugin): janela com iframe e lista de cidades da busca de lojas. Visual do layout v2. */
.sx-janela, .sx-cidades__lista { --sxs-preto: #272727; --sxs-cinza: #5B5B5B; --sxs-linha: #EBEBEB; --sxs-fundo: #F6F6F6; font-family: "Gotham", "gotham", sans-serif; }

/* Janela */
html.sx-janela-aberta { overflow: hidden; }
.sx-janela { width: min(1200px, calc(100vw - 48px)); height: min(860px, calc(100dvh - 48px)); max-width: none; max-height: none; margin: auto;
  padding: 0; border: 0; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.sx-janela[open] { display: flex; flex-direction: column; animation: sxs-entra .25s ease; }
.sx-janela::backdrop { background: rgba(20, 20, 20, .55); backdrop-filter: blur(3px); }
.sx-janela__barra { flex: none; display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--sxs-linha); }
.sx-janela__titulo { flex: 1; min-width: 0; font-weight: 500; font-size: 17px; color: var(--sxs-preto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-janela__aba { font-size: 14px; color: var(--sxs-preto); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sx-janela__fechar { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sxs-fundo); color: var(--sxs-preto);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.sx-janela__fechar:hover { background: var(--sxs-preto); color: #fff; }
.sx-janela__corpo { position: relative; flex: 1; min-height: 0; background: var(--sxs-fundo); }
.sx-janela__corpo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .3s; }
.sx-janela.is-pronta .sx-janela__corpo iframe { opacity: 1; }
.sx-janela__carregando { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--sxs-cinza); }
@keyframes sxs-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .sx-janela { width: 100vw; height: 100dvh; border-radius: 0; }
  .sx-janela__aba { display: none; }
  .sx-janela__barra { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sx-janela[open] { animation: none; } }

/* Cidades */
.sx-cidades { position: relative; }
.sx-cidades__lista { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: 320px; overflow-y: auto; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid var(--sxs-linha); border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.sx-cidades__lista[hidden] { display: none; }
.sx-cidades__lista li { padding: 11px 16px; border-radius: 12px; font-size: 16px; color: var(--sxs-preto); cursor: pointer; }
.sx-cidades__lista li:hover, .sx-cidades__lista li.is-ativa { background: var(--sxs-fundo); }
.sx-cidades__lista li.is-vazia { color: var(--sxs-cinza); cursor: default; background: none; }
