/* Nokta Slides: camada de preço dinâmico (tema Nokta e shortcode) e carrossel do shortcode [nokta_slides]. */
@font-face { font-family: 'NS Big Shoulders'; src: url(fonts/BigShoulders-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'NS Outfit'; src: url(fonts/Outfit-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'NS Outfit'; src: url(fonts/Outfit-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

/* Medidas em cqw: a camada cresce e diminui junto com a arte. */
.hero__slide, .ns-hero__slide { container-type: inline-size; }
.vitrine-bn__item { position: relative; container-type: inline-size; } /* vitrine 4:5 do tema Nokta */

.ns-preco {
  --ns-destaque: #ffd23f;
  position: absolute; z-index: 2; left: var(--x); top: var(--y);
  display: flex; flex-direction: column; align-items: flex-start; gap: .28em;
  font: 400 calc(1.12cqw * var(--s)) / 1.15 'NS Outfit', Arial, sans-serif;
  color: #fff; text-align: left; text-shadow: 0 .08em .35em rgba(0, 0, 0, .55);
  pointer-events: none; white-space: nowrap;
}
.ns-preco__de { font-size: 1.15em; color: #e6e6e6; }
.ns-preco__de s { text-decoration-thickness: .08em; }
.ns-preco__valor { font: 700 3.3em / .95 'NS Big Shoulders', 'Arial Narrow', Arial, sans-serif; letter-spacing: .01em; }
.ns-preco__pix { display: inline-flex; align-items: center; gap: .35em; margin-top: .15em; padding: .3em .65em .3em .5em; border-radius: .3em; background: var(--ns-destaque); color: #111; font-size: 1.35em; text-shadow: none; box-shadow: 0 .2em .6em rgba(0, 0, 0, .45); }
.ns-preco__pix svg { width: .9em; height: .9em; flex: none; }
.ns-preco__parc { margin-left: -.45em; padding: .22em .45em; border-radius: .3em; background: rgba(0, 0, 0, .58); font-size: 1.15em; }
.ns-preco b { font-weight: 700; }

/* Cartão (padrão): modelo da etiqueta da Black November, nas mesmas proporções da arte.
   1em = 10 px da arte (computador 2000 px: .5cqw; celular 1080 px: .926cqw). Largura 310 px (computador) e 340 px (celular). */
.ns-preco--cartao {
  --t: 1.9em; --sm1: 1.9em; --big: 6.6em; --sj: 1.7em; --px: 2.6em; --pi: 1.7em; --ft: 1.4em;
  align-items: stretch; gap: 0; width: var(--w, 31em); overflow: hidden; border-radius: .8em;
  background: #050505; box-shadow: 0 1.4em 2.6em rgba(0, 0, 0, .55); text-align: center; text-shadow: none;
  font-size: calc(.5cqw * var(--s)); line-height: 1;
}
.ns-preco__selo { display: flex; align-items: center; justify-content: center; gap: .42em; padding: .53em .3em; background: linear-gradient(90deg, #b3121b, #e0262f, #b3121b); font: 700 var(--t) / 1 'NS Outfit', Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.ns-preco__selo svg { width: .95em; height: .95em; flex: none; color: #ffd23f; }
.ns-preco--cartao .ns-preco__corpo { display: block; padding: 1.2em 1em 1em; }
.ns-preco__corpo small { display: block; font: 700 var(--sm1) / 1.1 'NS Outfit', Arial, sans-serif; color: #ffd23f; }
.ns-preco__corpo b { display: block; font: 700 var(--big) / 1 'NS Big Shoulders', 'Arial Narrow', Arial, sans-serif; letter-spacing: .01em; }
.ns-preco__corpo span { display: block; font: 400 var(--sj) / 1.2 'NS Outfit', Arial, sans-serif; }
.ns-preco--cartao .ns-preco__pix { display: block; margin: 0; padding: .35em .23em; border-radius: 0; box-shadow: none; background: #ffd23f; color: #111; font: 700 var(--px) / 1 'NS Big Shoulders', 'Arial Narrow', Arial, sans-serif; letter-spacing: .01em; }
.ns-preco__pix i { font: 700 calc(var(--pi) / var(--px) * 1em) 'NS Outfit', Arial, sans-serif; font-style: normal; }
.ns-preco__total { display: block; padding: .5em .3em; font: 400 var(--ft) / 1 'NS Outfit', Arial, sans-serif; color: #e8e4dc; white-space: nowrap; }
.ns-preco__total s { text-decoration-thickness: .08em; }

/* Celular: posição e tamanho próprios (a arte 4:5 entra até 700 px). Sem arte de celular (--unica), vale a do computador. */
@media (max-width: 700px) {
  .ns-preco:not(.ns-preco--unica) { left: var(--xm); top: var(--ym); font-size: calc(3.3cqw * var(--sm)); min-width: var(--wm, auto); }
  .ns-preco--unica:not(.ns-preco--cartao) { font-size: calc(1.6cqw * var(--s)); }
  .ns-preco--cartao:not(.ns-preco--unica) { font-size: calc(.926cqw * var(--sm)); width: var(--wm, 34em); min-width: 0; --t: 2.2em; --sm1: 2.3em; --big: 7.6em; --sj: 2.1em; --px: 3.2em; --pi: 2em; --ft: 1.6em; }
}
/* Arte de celular fora do celular (vitrine 4:5 da home no computador). */
.ns-preco--m { left: var(--xm); top: var(--ym); font-size: calc(3.3cqw * var(--sm)); min-width: var(--wm, auto); }
.ns-preco--m.ns-preco--cartao { font-size: calc(.926cqw * var(--sm)); width: var(--wm, 34em); min-width: 0; --t: 2.2em; --sm1: 2.3em; --big: 7.6em; --sj: 2.1em; --px: 3.2em; --pi: 2em; --ft: 1.6em; }

/* Carrossel do shortcode (mesmo comportamento do tema Nokta: encaixe, bolinhas, autoplay de 6 s). */
.ns-hero { position: relative; max-width: 100%; }
.ns-hero__trilho { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transition: height .3s ease; background: #0a0a0a; }
.ns-hero__trilho::-webkit-scrollbar { display: none; }
.ns-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: var(--ar-m, auto); }
/* Seletores com .ns-hero na frente: vencem regras genéricas de tema e construtor (img { height: auto }, .elementor img). */
.ns-hero .ns-hero__slide a, .ns-hero .ns-hero__slide picture { display: block; height: 100%; margin: 0; padding: 0; }
.ns-hero .ns-hero__slide img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.ns-hero__slide--desk { display: none; }
@media (min-width: 701px) {
  .ns-hero__slide { aspect-ratio: var(--ar-d, auto); }
  .ns-hero__slide--desk { display: block; }
  .ns-hero__slide--mob { display: none; }
}
.ns-hero__nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 28px; line-height: 40px; cursor: pointer; }
.ns-hero__nav:hover, .ns-hero__nav:focus-visible { background: #e0262f; }
.ns-hero__nav--ant { left: 16px; }
.ns-hero__nav--prox { right: 16px; }
@media (max-width: 700px) { .ns-hero__nav { display: none; } }
.ns-hero__pontos { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.ns-hero__pontos button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; pointer-events: auto; }
.ns-hero__pontos button[aria-selected="true"] { background: #fff; }
/* Telas largas: banner na largura do conteúdo do site (1100 px até 1511 px de tela, 1400 px acima), cantos arredondados,
   faixa escura de ponta a ponta e bolinhas abaixo da arte, como no tema Nokta. [nokta_slides largura="total"] desliga. */
@media (min-width: 1280px) {
  .ns-hero:not(.ns-hero--total) { --ns-margem: max(20px, calc((var(--ns-vw, 100%) - var(--ns-largura, 1140px)) / 2 + 20px)); padding: 24px var(--ns-margem) 34px; background: #0a0a0a; }
  /* Dentro de uma seção encaixotada (Elementor "Em caixa"), a faixa sai da caixa e ocupa a tela; --ns-vw vem do front.js (largura sem a barra de rolagem). */
  .ns-hero.ns-hero--sangra:not(.ns-hero--total) { width: var(--ns-vw); max-width: none; margin-left: calc(50% - var(--ns-vw) / 2); margin-right: 0; }
  .ns-hero:not(.ns-hero--total) .ns-hero__trilho { border-radius: 12px; }
  .ns-hero:not(.ns-hero--total) .ns-hero__nav--ant { left: calc(var(--ns-margem) + 16px); }
  .ns-hero:not(.ns-hero--total) .ns-hero__nav--prox { right: calc(var(--ns-margem) + 16px); }
  .ns-hero:not(.ns-hero--total) .ns-hero__nav { margin-top: -27px; }
  .ns-hero:not(.ns-hero--total) .ns-hero__pontos { bottom: 10px; }
}
@media (min-width: 1512px) { .ns-hero { --ns-largura: 1440px; } }
