/* Vestiário Nzah — everything is scoped under .nzv so the section can drop into any page. */

.nzv {
  --nzv-fundo: #060607;
  --nzv-vermelho: #e30c0d;
  --nzv-vermelho-escuro: #c40b0c;
  --nzv-borda-controle: rgba(243, 241, 236, 0.4);
  --nzv-giz: #f3f1ec;
  --nzv-cinza: #a3a3a8;
  --nzv-linha: rgba(243, 241, 236, 0.16);
  --nzv-display: 'Big Shoulders Display', 'Big Shoulders', Impact, 'Arial Narrow', sans-serif;
  --nzv-texto: 'Big Shoulders Text', 'Big Shoulders', 'Arial Narrow', sans-serif;
  --nzv-margem: clamp(16px, 3vw, 44px);
  --nzv-letreiro: 44px;
  --nzv-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nzv-ease-gaveta: cubic-bezier(0.32, 0.72, 0, 1);

  position: relative;
  isolation: isolate;
  container: nzv / size;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--nzv-fundo);
  color: var(--nzv-giz);
  font-family: var(--nzv-texto);
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
  outline: none;
}
.nzv *,
.nzv *::before,
.nzv *::after {
  box-sizing: border-box;
}
.nzv:focus-visible {
  box-shadow: inset 0 0 0 2px var(--nzv-vermelho);
}
.nzv button,
.nzv a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nzv button:focus-visible,
.nzv a:focus-visible {
  outline: 2px solid var(--nzv-vermelho);
  outline-offset: 2px;
}

/* ---------- stage ---------- */

.nzv-palco {
  position: absolute;
  inset: 0;
}
.nzv-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
}

/* ---------- header ---------- */

.nzv-topo {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: clamp(12px, 2.4cqh, 26px) var(--nzv-margem) 28px;
  background: linear-gradient(var(--nzv-fundo) 0%, rgba(6, 6, 7, 0.82) 55%, rgba(6, 6, 7, 0));
  pointer-events: none;
}
.nzv-topo > * {
  pointer-events: auto;
}
.nzv-titulo {
  justify-self: start;
}
.nzv-h {
  margin: 0;
  font-family: var(--nzv-display);
  font-weight: 800;
  font-size: clamp(24px, 2.3cqw, 32px);
  line-height: 1;
  letter-spacing: 0.01em;
}
.nzv-sub {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--nzv-cinza);
}
.nzv-logo {
  display: block;
  width: clamp(58px, 6cqw, 84px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.65));
}
.nzv-filtros {
  position: relative;
  justify-self: end;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.6);
  border: 1px solid var(--nzv-linha);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nzv-filtro {
  appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  color: var(--nzv-cinza);
  font: 600 16px/1 var(--nzv-texto);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.25s, transform 160ms ease-out;
}
.nzv-filtro:hover {
  color: var(--nzv-giz);
}
.nzv-filtro {
  position: relative;
  z-index: 1;
}
.nzv-filtro[hidden],
.nzv-rotulo[hidden] {
  display: none;
}
.nzv-filtro[aria-pressed='true'] {
  color: #000;
}
.nzv-filtros-marca {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 0);
  height: var(--h, 0);
  border-radius: 999px;
  background: var(--nzv-giz);
  transform: translate(var(--x, 0), var(--y, 0));
  transition: transform 320ms var(--nzv-ease-out), width 320ms var(--nzv-ease-out);
  pointer-events: none;
}
.nzv-filtros-marca.nzv-sem-transicao {
  transition: none;
}
.nzv-n {
  font-size: 0.72em;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

/* ---------- labels riding on the rack ---------- */

.nzv-rotulos,
.nzv-legenda {
  transition: opacity 0.35s ease;
}
.nzv[data-estado='detalhe'] .nzv-rotulos,
.nzv[data-estado='detalhe'] .nzv-legenda {
  opacity: 0;
}
.nzv-rotulos {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.nzv-rotulo {
  position: absolute;
  left: 0;
  top: 0;
  translate: 0 -100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  will-change: transform;
  transition: opacity 0.3s;
}
.nzv-rotulo-nome {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--nzv-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: rgba(243, 241, 236, 0.86);
  white-space: nowrap;
}
.nzv-chave {
  display: block;
  width: 100%;
  height: 7px;
  border: 1px solid rgba(243, 241, 236, 0.3);
  border-bottom: 0;
}
.nzv-rotulo.nzv-apagado {
  opacity: 0.22;
}
.nzv-legenda {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.nzv-legenda-in {
  transform: translateX(-50%);
  width: max-content;
  max-width: 80cqw;
  text-align: center;
}
.nzv-legenda-time {
  margin: 0;
  font-family: var(--nzv-display);
  font-weight: 800;
  font-size: clamp(26px, 2.5cqw, 36px);
  line-height: 1;
}
.nzv-legenda-edicao {
  margin: 6px 0 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: var(--nzv-cinza);
}
.nzv-legenda-preco {
  color: var(--nzv-giz);
  font-weight: 700;
}
.nzv-legenda-esgotada {
  color: var(--nzv-giz);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: var(--nzv-vermelho);
  text-decoration-thickness: 2px;
}
.nzv-legenda-in {
  transition: opacity 150ms var(--nzv-ease-out);
}
.nzv-legenda-in.nzv-mudando {
  opacity: 0.55;
  transition-duration: 0ms;
}

/* ---------- footer + ticker ---------- */

.nzv-rodape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--nzv-letreiro);
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 var(--nzv-margem) 14px;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nzv-rodape > * {
  pointer-events: auto;
}
.nzv-som {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--nzv-linha);
  background: rgba(20, 20, 22, 0.6);
  color: var(--nzv-giz);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nzv-som svg {
  width: 20px;
  height: 20px;
}
.nzv-som[aria-pressed='false'] .nzv-onda,
.nzv-som[aria-pressed='true'] .nzv-mudo {
  display: none;
}
.nzv-dica {
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--nzv-cinza);
  pointer-events: none;
}
.nzv-dica-curta {
  display: none;
}
.nzv-alternar {
  font: 600 15px/1 var(--nzv-texto);
  color: var(--nzv-giz);
  background: rgba(20, 20, 22, 0.6);
  border: 1px solid var(--nzv-linha);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
}
.nzv-alternar,
.nzv-som {
  transition: border-color 0.2s, transform 160ms ease-out;
}
.nzv-alternar:hover,
.nzv-som:hover {
  border-color: rgba(243, 241, 236, 0.4);
}

.nzv-letreiro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--nzv-letreiro);
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--nzv-vermelho);
  color: #000;
  cursor: pointer;
}
.nzv-letreiro[aria-pressed='true'] .nzv-letreiro-trilho {
  animation-play-state: paused;
}
.nzv-letreiro:focus-visible {
  outline-offset: -4px;
  outline-color: #000;
}
.nzv-letreiro-trilho {
  display: flex;
  width: max-content;
  animation: nzv-letreiro 42s linear infinite;
}
.nzv-letreiro-trilho > span {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}
.nzv-letreiro span {
  font-family: var(--nzv-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-9deg);
}
.nzv-letreiro b {
  font-size: 8px;
}
@keyframes nzv-letreiro {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- product sheet ---------- */

.nzv-ficha {
  --nzv-tinta: #808080;
  --nzv-tinta-2: #808080;
  position: absolute;
  z-index: 4;
  top: 50%;
  right: var(--nzv-margem);
  width: clamp(310px, 28cqw, 400px);
  max-height: calc(100% - 210px);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translate(28px, -50%);
  transition: opacity 200ms var(--nzv-ease-out), transform 400ms var(--nzv-ease-out), visibility 0s linear 400ms;
}
.nzv-ficha.nzv-aberta {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition-delay: 120ms, 120ms, 0s;
}
.nzv-ficha-vidro {
  width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--nzv-tinta) 24%, transparent) 0%, transparent 58%),
    radial-gradient(120% 60% at 100% 100%, color-mix(in srgb, var(--nzv-tinta-2) 18%, transparent), transparent 70%),
    rgba(14, 14, 16, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.nzv-ficha-conteudo {
  transition: opacity 140ms var(--nzv-ease-out), filter 140ms var(--nzv-ease-out), transform 140ms var(--nzv-ease-out);
}
.nzv-ficha.nzv-trocando .nzv-ficha-conteudo {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(5px);
}
.nzv-ficha-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.nzv-tag {
  font: 600 14px/1 var(--nzv-texto);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
}
.nzv-tag-selo {
  border-color: rgba(243, 241, 236, 0.6);
  background: rgba(243, 241, 236, 0.12);
}
.nzv-ficha.nzv-aberta .nzv-ficha-conteudo > * {
  animation: nzv-linha 220ms var(--nzv-ease-out) both;
  animation-delay: calc(var(--i, 0) * 45ms + 120ms);
}
@keyframes nzv-linha {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.nzv-tag-esgotada {
  border-color: var(--nzv-vermelho);
  background: rgba(227, 12, 13, 0.18);
}
.nzv-cta.nzv-cta-aviso {
  background: transparent;
  border: 1px solid var(--nzv-borda-controle);
  box-shadow: none;
}
.nzv-cta.nzv-cta-aviso:hover {
  background: rgba(243, 241, 236, 0.08);
  box-shadow: none;
}
.nzv-contador {
  margin-left: auto;
  font-size: 14px;
  color: rgba(243, 241, 236, 0.78);
  font-variant-numeric: tabular-nums;
}
.nzv-fechar,
.nzv-passos button {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--nzv-linha);
  background: rgba(0, 0, 0, 0.28);
  color: var(--nzv-giz);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 160ms ease-out;
}
.nzv-fechar:hover,
.nzv-passos button:hover {
  border-color: rgba(243, 241, 236, 0.45);
  background: rgba(0, 0, 0, 0.45);
}
.nzv-fechar svg,
.nzv-passos svg {
  width: 18px;
  height: 18px;
}
.nzv-ficha-time {
  margin: 0;
  font-family: var(--nzv-display);
  font-weight: 900;
  font-size: clamp(36px, 3.4cqw, 50px);
  line-height: 0.95;
  outline: none;
  text-wrap: balance;
}
.nzv-ficha-edicao {
  margin: 6px 0 0;
  font-family: var(--nzv-display);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.1;
  color: rgba(243, 241, 236, 0.82);
}
.nzv-cores {
  display: flex;
  gap: 6px;
  margin: 14px 0 0;
}
.nzv-cores i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.nzv-ficha-desc {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(243, 241, 236, 0.86);
  max-width: 40ch;
}
.nzv-specs {
  margin: 16px 0 0;
  display: grid;
  gap: 7px;
}
.nzv-specs div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
}
.nzv-specs div::before {
  content: '';
  order: 2;
  border-bottom: 1px dotted rgba(243, 241, 236, 0.28);
  transform: translateY(-4px);
}
.nzv-specs dt {
  order: 1;
  color: var(--nzv-cinza);
}
.nzv-specs dd {
  order: 3;
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.nzv-tamanhos {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.nzv-tamanhos legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--nzv-cinza);
}
.nzv-tamanhos-op {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nzv-tamanhos label {
  position: relative;
}
.nzv-tamanhos input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.nzv-tamanhos span {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 42px;
  padding: 0 10px;
  border-radius: 11px;
  border: 1px solid var(--nzv-borda-controle);
  background: rgba(0, 0, 0, 0.2);
  font: 700 18px/1 var(--nzv-display);
  letter-spacing: 0.03em;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 160ms ease-out;
}
.nzv-tamanhos label:hover span {
  border-color: rgba(243, 241, 236, 0.45);
}
.nzv-tamanhos input:checked + span {
  background: var(--nzv-giz);
  border-color: var(--nzv-giz);
  color: #000;
}
.nzv-tamanhos input:focus-visible + span {
  outline: 2px solid var(--nzv-vermelho);
  outline-offset: 2px;
}
.nzv-tamanhos .nzv-esgotado span {
  color: rgba(243, 241, 236, 0.3);
  text-decoration: line-through;
}
.nzv-tamanhos .nzv-ultima span {
  position: relative;
}
.nzv-tamanhos .nzv-ultima span::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nzv-vermelho);
}
.nzv-nota {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--nzv-cinza);
}
.nzv-medidas {
  margin-top: 14px;
  font-size: 15px;
}
.nzv-medidas summary {
  cursor: pointer;
  color: var(--nzv-giz);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
}
.nzv-medidas table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.nzv-medidas caption {
  text-align: left;
  color: var(--nzv-cinza);
  font-size: 14px;
  padding-bottom: 6px;
}
.nzv-medidas th,
.nzv-medidas td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--nzv-linha);
  text-align: left;
  font-weight: 400;
}
.nzv-medidas thead th {
  color: var(--nzv-cinza);
  font-weight: 600;
}
.nzv-medidas tbody th {
  font-weight: 700;
}
.nzv-preco-bloco {
  display: grid;
  gap: 4px;
}
.nzv-pagamento {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
  color: var(--nzv-cinza);
}
.nzv-loja {
  display: inline-block;
  margin-top: 12px;
  color: var(--nzv-giz);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Price and order button stay in reach while the rest of the sheet scrolls (all layouts). */
.nzv-compra {
  position: sticky;
  bottom: -18px; /* sticky respects the scroller's 18px bottom padding: cover it so nothing peeks below */
  z-index: 1;
  margin: 20px -22px 0;
  padding: 14px 22px 16px;
  background: rgba(16, 16, 18, 0.97);
  border-top: 1px solid var(--nzv-linha);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 10px 14px;
}
.nzv-compra .nzv-cta {
  grid-column: 1 / -1;
  width: 100%;
}
.nzv-preco {
  margin: 0;
  font-family: var(--nzv-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nzv-preco.nzv-consulta {
  font-size: 19px;
  font-weight: 600;
  color: rgba(243, 241, 236, 0.85);
}
.nzv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--nzv-vermelho);
  color: #fff;
  font: 700 17px/1 var(--nzv-texto);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(227, 12, 13, 0.32);
  transition: background-color 0.15s, transform 160ms ease-out, box-shadow 0.15s;
}
.nzv-cta:hover {
  background: var(--nzv-vermelho-escuro);
  box-shadow: 0 16px 30px rgba(227, 12, 13, 0.42);
}
button.nzv-cta {
  border: 0;
  cursor: pointer;
}
.nzv-cta.nzv-cta-ok,
.nzv-cta.nzv-cta-ok:hover {
  background: var(--nzv-giz);
  color: #121212;
  box-shadow: none;
}
.nzv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 2px 0 0;
}
.nzv-links .nzv-loja {
  margin-top: 10px;
}
.nzv-favoritar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nzv-giz);
  font: 600 16px/1.2 var(--nzv-texto);
  cursor: pointer;
}
.nzv-favoritar svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s var(--nzv-ease-out);
}
.nzv-favoritar[aria-pressed='true'] svg path {
  fill: var(--nzv-vermelho);
  stroke: var(--nzv-vermelho);
}
.nzv-favoritar:active svg {
  transform: scale(0.85);
}
.nzv-erro-tamanho:empty {
  display: none;
}
.nzv-erro-tamanho {
  margin: 8px 0 0;
  color: #ff8a8a;
  font-size: 14px;
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .nzv-cta:hover {
    transform: translateY(-1px);
  }
}
.nzv-cta:active,
.nzv-filtro:active,
.nzv-tamanhos label:active span,
.nzv-fechar:active,
.nzv-passos button:active,
.nzv-alternar:active,
.nzv-som:active {
  transform: scale(0.97);
}
.nzv-ficha-pe {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nzv-voltar {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--nzv-cinza);
  font: 600 15px/1 var(--nzv-texto);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.nzv-voltar:hover {
  color: var(--nzv-giz);
}
.nzv-passos {
  display: flex;
  gap: 6px;
}

/* ---------- list view ---------- */

.nzv-grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 150px var(--nzv-margem) calc(var(--nzv-letreiro) + 90px);
  background: var(--nzv-fundo);
}
.nzv-grade[hidden] {
  display: none;
}
.nzv-grade:not([hidden]) {
  animation: nzv-lista-entra 200ms var(--nzv-ease-out);
}
@keyframes nzv-lista-entra {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes nzv-lista-fade {
  from {
    opacity: 0;
  }
}
.nzv-grade-itens {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.nzv-cartao {
  --nzv-tinta: #777;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nzv-cartao-foto {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--nzv-tinta) 26%, #19191c), #0b0b0d 72%);
}
.nzv-cartao-foto img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5));
}
.nzv-cartao h3 {
  text-wrap: balance;
  margin: 14px 4px 0;
  font-family: var(--nzv-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}
.nzv-cartao-edicao {
  margin: 4px 4px 0;
  font-size: 16px;
  color: var(--nzv-cinza);
}
.nzv-cartao-info {
  margin: 10px 4px 0;
  font-size: 15px;
  color: rgba(243, 241, 236, 0.75);
  letter-spacing: 0.04em;
}
.nzv-cartao-info strong {
  color: var(--nzv-giz);
  letter-spacing: 0;
}
.nzv-cartao-acoes {
  margin: auto 4px 0;
  padding-top: 14px;
  display: flex;
  gap: 8px;
}
.nzv-cartao-acoes > * {
  flex: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font: 700 15px/1 var(--nzv-texto);
  text-decoration: none;
  cursor: pointer;
}
.nzv-cartao-acoes button {
  border: 1px solid var(--nzv-borda-controle);
  background: transparent;
  color: var(--nzv-giz);
  transition: background-color 0.15s;
}
.nzv-cartao-acoes button:hover {
  background: rgba(243, 241, 236, 0.08);
}
.nzv-cartao-acoes a {
  background: var(--nzv-vermelho);
  color: #fff;
  transition: background-color 0.15s;
}
.nzv-cartao-acoes a:hover {
  background: var(--nzv-vermelho-escuro);
}
.nzv-vazio {
  grid-column: 1 / -1;
  margin: 40px 0;
  text-align: center;
  color: var(--nzv-cinza);
}

.nzv[data-modo='lista'] .nzv-dica,
.nzv[data-modo='lista'] .nzv-som {
  visibility: hidden;
}
.nzv[data-modo='lista'] .nzv-rotulos,
.nzv[data-modo='lista'] .nzv-legenda {
  display: none;
}
.nzv[data-modo='lista'] .nzv-rodape {
  padding-top: 40px;
  background: linear-gradient(rgba(6, 6, 7, 0), var(--nzv-fundo) 55%);
}

/* ---------- loading, toast, screen-reader list ---------- */

.nzv-erro {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 17px;
  color: var(--nzv-cinza);
}

.nzv-carregando {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--nzv-fundo);
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.nzv-carregando.nzv-pronto {
  opacity: 0;
  visibility: hidden;
}
.nzv-carregando-barra {
  width: 180px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(243, 241, 236, 0.12);
}
.nzv-carregando-barra i {
  display: block;
  height: 100%;
  background: var(--nzv-vermelho);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s ease;
}
.nzv-carregando-texto {
  font-size: 15px;
  color: var(--nzv-cinza);
}
.nzv-aviso {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nzv-letreiro) + 70px);
  z-index: 7;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(20, 20, 22, 0.92);
  border: 1px solid var(--nzv-linha);
  font-size: 15px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.nzv-aviso.nzv-visivel {
  opacity: 1;
  transform: translate(-50%, 0);
}
.nzv-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- phones and narrow embeds ---------- */

@container nzv (max-width: 900px) {
  .nzv-topo {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'titulo logo' 'filtros filtros';
    row-gap: 12px;
    padding-top: 14px;
  }
  .nzv-titulo {
    grid-area: titulo;
  }
  .nzv-logo {
    grid-area: logo;
    width: 54px;
  }
  .nzv-filtros {
    grid-area: filtros;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(var(--nzv-margem) * -1);
    padding: 2px var(--nzv-margem);
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 6px;
  }
  .nzv-filtros::-webkit-scrollbar {
    display: none;
  }
  .nzv-filtro {
    border: 1px solid var(--nzv-linha);
    background: rgba(20, 20, 22, 0.6);
  }
  .nzv-rodape {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .nzv-som {
    justify-self: start;
  }
  .nzv-alternar {
    justify-self: end;
  }
  .nzv-dica {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 14px;
  }
  .nzv-rotulo-nome {
    font-size: 15px;
  }
}

/* Phone on its side with the sheet open: the hint row would run under the sheet, so the short hint
   moves into the button row, left of the sheet. */
@container nzv (max-width: 900px) and (orientation: landscape) {
  .nzv[data-estado='detalhe'] .nzv-rodape {
    grid-template-columns: auto 1fr auto;
  }
  .nzv[data-estado='detalhe'] .nzv-dica {
    grid-column: 2;
    grid-row: 1;
  }
  .nzv[data-estado='detalhe'] .nzv-dica-longa {
    display: none;
  }
  .nzv[data-estado='detalhe'] .nzv-dica-curta {
    display: inline;
  }
}

@container nzv (orientation: portrait) {
  .nzv-ficha {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 54%;
    transform: translateY(40px);
  }
  .nzv-ficha.nzv-aberta {
    transform: translateY(0);
    transition-delay: 120ms, 120ms, 0s;
  }
  .nzv-ficha {
    transition: opacity 200ms var(--nzv-ease-out), transform 420ms var(--nzv-ease-gaveta), visibility 0s linear 420ms;
  }
  .nzv-ficha-vidro {
    scroll-padding-bottom: 96px;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .nzv-ficha-time {
    font-size: 36px;
  }
  .nzv-ficha-desc {
    font-size: 15px;
  }
  .nzv[data-estado='detalhe'] .nzv-rodape,
  .nzv[data-estado='detalhe'] .nzv-filtros {
    opacity: 0;
    pointer-events: none;
  }
  .nzv-filtros {
    transition: opacity 0.3s;
  }
  .nzv-ficha {
    max-height: 52%;
  }
  /* Price and order button stay in reach while the rest of the sheet scrolls. */
  .nzv-compra {
    position: sticky;
    bottom: calc(-18px - env(safe-area-inset-bottom, 0px));
    z-index: 1;
    margin: 18px -18px 0;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(16, 16, 18, 0.97);
    border-top: 1px solid var(--nzv-linha);
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.35);
  }
  .nzv-ficha-pe {
    margin-bottom: 4px;
  }
  .nzv[data-estado='detalhe'] .nzv-rodape > * {
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nzv-letreiro-trilho {
    animation: none;
  }
  .nzv .nzv-ficha,
  .nzv .nzv-ficha.nzv-aberta {
    transform: translate(0, -50%);
    transition: opacity 150ms ease-out, visibility 0s linear 150ms;
    transition-delay: 0s;
  }
  .nzv-ficha-conteudo {
    transition: opacity 150ms ease-out;
  }
  .nzv-ficha.nzv-trocando .nzv-ficha-conteudo {
    filter: none;
    transform: none;
  }
  .nzv-grade:not([hidden]) {
    animation-name: nzv-lista-fade;
  }
  .nzv-ficha.nzv-aberta .nzv-ficha-conteudo > * {
    animation-name: nzv-lista-fade;
    animation-delay: 0ms;
  }
}
@container nzv (orientation: portrait) {
  @media (prefers-reduced-motion: reduce) {
    .nzv .nzv-ficha,
    .nzv .nzv-ficha.nzv-aberta {
      transform: none;
    }
  }
}
