/* Home — categorias em grid (estilo Destaques): título + subtítulo, grid e "Ver todos" */
.home-category-grid-block {
  /* Largura idêntica à do card no carrossel (preserva proporção do overlay de info) */
  --hcg-card-width: 16rem;
  --hcg-card-width-mobile: 10.25rem;
  --hcg-gap-x: 0.85rem;
  --hcg-gap-y: 1.65rem;
  --hcg-cols: 5;
  position: relative;
  width: 100%;
}

/* Cabeçalho — mesmo estilo da seção Destaques (título + subtítulo, alinhado à esquerda) */
.home-category-header--destaques {
  width: 100%;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  position: relative;
  z-index: 3;
  overflow: visible;
  content-visibility: visible;
  contain: none;
}

.home-category-header--destaques .home-category-heading {
  min-width: 0;
}

.home-category-header--destaques .home-category-title {
  display: block;
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
  text-shadow: none;
}

.home-category-header--destaques .home-category-subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  min-height: 1.3rem;
}

/* Grid container — mesma grade (colunas variam por breakpoint via --hcg-cols)
   em desktop, tablet E mobile. Quantidade visível é controlada via JS
   (scripts/main.js), que revela/esconde cards conforme a "linha" atual. */
.home-category-grid-outer {
  position: relative;
  width: 100%;
  z-index: 1;
}

.home-category-grid-block .home-category-carousel.pkg-carousel-outer {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.home-category-grid-block .home-category-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--hcg-cols), minmax(0, var(--hcg-card-width))) !important;
  gap: var(--hcg-gap-y) var(--hcg-gap-x) !important;
  overflow: visible !important;
  padding: 0.5rem 0.15rem !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  flex-wrap: initial !important;
  align-items: start;
  justify-items: center;
  justify-content: center;
  overflow-clip-margin: 0 !important;
}

.home-category-grid-block .home-category-grid::-webkit-scrollbar {
  display: none;
}

/* Cada wrapper de card no grid — mesma largura do card no carrossel */
.home-category-grid-block .home-category-grid > .reveal-fade-up,
.home-category-grid-block .home-category-grid > .reveal-fade-left,
.home-category-grid-block .home-category-grid > .pkg-card,
.home-category-grid-block .home-category-grid > .keen-slider__slide {
  width: 100% !important;
  max-width: var(--hcg-card-width) !important;
  flex: initial !important;
  scroll-snap-align: none !important;
  min-width: 0;
  justify-self: center;
}

/* O card interno preserva o mesmo overlay de info do carrossel */
.home-category-grid-block .home-category-grid > .reveal-fade-up > .pkg-card,
.home-category-grid-block .home-category-grid > .pkg-card {
  width: 100%;
  max-width: 100%;
}

/* Esconde o sentinel do infinite-scroll do carrossel (não usado no grid) */
.home-category-grid-block .home-category-grid > .pkg-carousel-sentinel {
  display: none !important;
}

.home-category-grid-block .home-category-grid-outer .pkg-carousel-track {
  padding: 0.5rem 0.15rem !important;
}

/* Mobile — cada linha de --hcg-cols (5) cards vira seu próprio carrossel
   horizontal, independente das demais. O agrupamento em linhas (.hcg-mobile-row)
   é feito via JS (scripts/main.js, syncHomeCategoryGridMobileRows); o track em
   si vira uma pilha vertical (não rola mais horizontalmente) — rolar uma linha
   não afeta as outras. */
@media (max-width: 767px) {
  .home-category-grid-block {
    --hcg-cols: 5;
    --hcg-card-width: var(--hcg-card-width-mobile);
    --hcg-gap-x: 0.6rem;
    --hcg-gap-y: 1.1rem;
  }

  .home-category-grid-block .home-category-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: var(--hcg-gap-y) 0 !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
  }

  .home-category-grid-block .home-category-grid-outer .home-category-grid {
    padding: 0 !important;
  }

  .home-category-grid-block .hcg-mobile-row {
    display: flex !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    gap: var(--hcg-gap-x);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.15rem;
    padding: 0.5rem 0.15rem;
    scrollbar-width: none;
  }

  .home-category-grid-block .hcg-mobile-row::-webkit-scrollbar {
    display: none;
  }

  .home-category-grid-block .hcg-mobile-row > .reveal-fade-up,
  .home-category-grid-block .hcg-mobile-row > .reveal-fade-left,
  .home-category-grid-block .hcg-mobile-row > .pkg-card,
  .home-category-grid-block .hcg-mobile-row > .keen-slider__slide {
    flex: 0 0 var(--hcg-card-width) !important;
    width: var(--hcg-card-width) !important;
    max-width: var(--hcg-card-width) !important;
    min-width: 0;
    scroll-snap-align: start;
  }

  .home-category-grid-block .hcg-mobile-row > .reveal-fade-up > .pkg-card,
  .home-category-grid-block .hcg-mobile-row > .pkg-card {
    width: 100%;
    max-width: 100%;
  }
}

/* "Ver todos" — mesmo botão do header da Pré-venda e Destaques */
.home-category-view-all {
  --home-category-view-all-shift-x: 0rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  position: relative;
  z-index: 4;
  transform-origin: center bottom;
  transform: translateX(var(--home-category-view-all-shift-x));
}

@media (hover: hover) {
  .home-category-view-all:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateX(calc(var(--home-category-view-all-shift-x) + 2px)) scale(1.02);
  }
}

.home-category-view-all:focus-visible {
  outline: 2px solid #8ec5ff;
  outline-offset: 3px;
}

/* Bloqueia botões de carrossel nas categorias em grid (mobile usa só toque) */
.home-category-grid-block .pkg-carousel-btn {
  display: none !important;
}

/* "Ver mais" — substitui o "Ver todos" no mobile; fica abaixo do carrossel, centralizado.
   Some por padrão; JS (scripts/main.js) adiciona .is-visible quando houver mais cards a revelar.
   O wrap controla a visibilidade (via :has) e centraliza botão + linhas decorativas. */
.home-category-view-more-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin: 1.1rem auto 0;
}

.home-category-grid-block .home-category-view-more-wrap:has(.home-category-view-more.is-visible) {
  display: flex;
}

.home-category-view-more-line {
  flex: 1 1 auto;
  max-width: 4rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(var(--muted-foreground) / 0.3));
  transition: background 0.2s ease;
}

.home-category-view-more-line--end {
  background: linear-gradient(to left, transparent, rgb(var(--muted-foreground) / 0.3));
}

@media (min-width: 640px) {
  .home-category-view-more-line {
    max-width: 6rem;
  }
}

.home-category-view-more-wrap:hover .home-category-view-more-line--start {
  background: linear-gradient(to right, transparent, hsl(var(--primary)));
}

.home-category-view-more-wrap:hover .home-category-view-more-line--end {
  background: linear-gradient(to left, transparent, hsl(var(--primary)));
}

.home-category-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  flex-shrink: 0;
  padding: 0.5rem 1.15rem;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: rgb(var(--background) / 0.8);
  color: rgb(var(--foreground) / 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.home-category-view-more:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
}

.home-category-view-more__badge {
  display: none;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-category-view-more__badge:not(:empty) {
  display: inline-flex;
}

.home-category-view-more i,
.home-category-view-more svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.home-category-view-more:active {
  transform: scale(0.97);
}

.home-category-view-more[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.home-category-view-more[disabled] i,
.home-category-view-more[disabled] svg {
  animation: home-category-view-more-spin 0.8s linear infinite;
}

@keyframes home-category-view-more-spin {
  to { transform: rotate(360deg); }
}

/* Exceção mobile: em "Luta & Combate" o banner Troca de Pontos (pontosLayout, logo
   abaixo) sobe por cima do fim da seção e chega a atravessar o "Ver mais".
   Sobe o wrap um pouco pra abrir espaço e evitar a sobreposição. */
@media (max-width: 767px) {
  .home-category-grid-block[data-home-cat-slug="luta-e-combate"] .home-category-view-more-wrap {
    margin-top: 0.3rem;
    margin-bottom: 1.75rem;
  }
}

/* ─── Responsivo (grid — somente desktop/tablet ≥768px) ─── */
@media (min-width: 768px) and (max-width: 1279px) {
  .home-category-grid-block {
    --hcg-cols: 5;
    --hcg-gap-x: 0.65rem;
    --hcg-card-width: 14rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-category-grid-block {
    --hcg-cols: 4;
    --hcg-card-width: 12.5rem;
  }
}

@media (max-width: 539px) {
  .home-category-header--destaques {
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
  }

  .home-category-header--destaques .home-category-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .home-category-header--destaques .home-category-subtitle {
    font-size: 0.825rem;
  }

  .home-category-view-all {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* Mantém o overlay de info IDÊNTICO ao carrossel.
   No mobile (≤639) o seletor original `.pkg-carousel-track :is(...) .pkg-card-info { padding: 1.65rem 0.5rem ...}`
   já se aplica, pois o grid preserva a classe .pkg-carousel-track. Sem overrides extras aqui. */


/* ───────────────────────────────────────────────────────────
   Categoria “Pré-venda” — banner único com slides 600x900,
   setas laterais, dots e botão “Ver todos” no topo direito.
   Estilo clean sobre base escura da loja, com acento verde
   menta suave (#7fe3b0) para afirmações (entrega, garantia, preço).
   ─────────────────────────────────────────────────────────── */

.home-prevenda-block {
  /* Painel #18181b + verde da loja (#86efac), igual ao pk-desc-panel */
  --prevenda-accent: #86efac;
  --prevenda-accent-soft: rgba(134, 239, 172, 0.1);
  --prevenda-accent-border: rgba(134, 239, 172, 0.3);
  --prevenda-accent-strong: rgba(134, 239, 172, 0.8);
  --prevenda-accent-text: #b6f3cb;
  --prevenda-panel-solid: #18181b;
  --prevenda-hairline: rgba(63, 63, 70, 0.55);
  --prevenda-stage-radius: 1rem;
  --prevenda-discount-bg: #86efac;
  --prevenda-discount-text: #052015;
  --prevenda-price: #b6f3cb;
  position: relative;
  width: 100%;
}

.home-prevenda-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 0.95rem;
}

.home-prevenda-heading {
  min-width: 0;
}

.home-prevenda-title {
  display: block;
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-prevenda-subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  min-height: 1.3rem;
}

/* Stage com setas laterais */
.home-prevenda-stage {
  position: relative;
  width: 100%;
}

.home-prevenda-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  border-radius: var(--prevenda-stage-radius);
  background: var(--prevenda-panel-solid);
  /* Sem border e sem anel de linha: qualquer fio (mesmo o hairline de baixa
     opacidade) ainda aparecia contra a arte/fundo escuros na esquerda e embaixo.
     Fica só a sombra de profundidade — a imagem encosta rente, sem sobra. */
  border: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.home-prevenda-track {
  display: flex;
  width: 100%;
  transform: translate3d(calc(var(--prevenda-index, 0) * -100%), 0, 0);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .home-prevenda-track {
    transition: none;
  }
}

/* ── Layout lado a lado: imagem (esquerda) | informação (direita) ── */
.home-prevenda-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--prevenda-panel-solid);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

/* Hero — a imagem ocupa a coluna da esquerda e estica na altura do painel de
   info (à direita); como a arte é ultrawide, usamos cover para preencher. */
.home-prevenda-slide__hero {
  position: relative;
  flex: 1 1 56%;
  min-width: 0;
  align-self: stretch;
  line-height: 0;
  background: #0c0c0e;
  overflow: hidden;
}

.home-prevenda-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Painel de informações — coluna da direita, empilhada de cima a baixo */
.home-prevenda-slide__bar {
  position: relative;
  flex: 1 1 44%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(1.15rem, 2vw, 1.9rem) clamp(1.15rem, 2.2vw, 1.9rem);
  background: var(--prevenda-panel-solid);
  border-left: 1px solid var(--prevenda-hairline);
}

.home-prevenda-slide__bar-main {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  flex: 0 0 auto;
}

.home-prevenda-slide__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-prevenda-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--prevenda-accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.home-prevenda-slide__badge::before {
  content: '';
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 9999px;
  background: var(--prevenda-accent);
  box-shadow: 0 0 9px rgba(134, 239, 172, 0.75);
}

.home-prevenda-slide__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.home-prevenda-slide__platform img {
  width: 1rem;
  height: 1rem;
  display: block;
  opacity: 0.72;
}

.home-prevenda-slide__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.home-prevenda-slide__tagline {
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Chips de garantias/afirmações — verde suave da loja */
.home-prevenda-slide__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
  margin-top: 0.1rem;
}

.home-prevenda-slide__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.66rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.62);
}

.home-prevenda-slide__feature i,
.home-prevenda-slide__feature svg {
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  stroke-width: 2.2;
  color: var(--prevenda-accent);
}

.home-prevenda-slide__feature--date {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.32);
  color: #bfdbfe;
}

.home-prevenda-slide__feature--date i,
.home-prevenda-slide__feature--date svg,
.home-prevenda-slide__feature--wide i,
.home-prevenda-slide__feature--wide svg {
  color: #60a5fa;
}

.home-prevenda-slide__feature-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-prevenda-slide__feature--date .home-prevenda-slide__feature-label {
  color: rgba(191, 219, 254, 0.7);
}

.home-prevenda-slide__feature-value {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.home-prevenda-slide__feature--date .home-prevenda-slide__feature-value {
  color: #bfdbfe;
}

/* Bloco de compra — preço à esquerda + CTA à direita, no rodapé do painel */
.home-prevenda-slide__bar-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  width: 100%;
  flex: 0 0 auto;
  margin-top: auto;
}

.home-prevenda-slide__prices {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.home-prevenda-slide__compare {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.home-prevenda-slide__price-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-prevenda-slide__price {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.home-prevenda-slide__off {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0.45rem;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.38);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-prevenda-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 9999px;
  background: var(--prevenda-accent);
  border: none;
  color: var(--prevenda-discount-text);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  /* Sem glow. Sem transição na base: no mobile (touch) o botão não anima. */
  transition: none;
}

.home-prevenda-slide__cta i,
.home-prevenda-slide__cta svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.4;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .home-prevenda-slide__cta {
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
  }

  .home-prevenda-slide__cta:hover,
  .home-prevenda-slide__cta:focus-visible {
    transform: translateY(-1px) scale(1.05);
    filter: brightness(1.04);
  }

  /* Scale ao clicar — só no desktop; mobile não tem animação */
  .home-prevenda-slide__cta:active {
    transform: scale(1.08);
  }

  .home-prevenda-slide__cta:hover i,
  .home-prevenda-slide__cta:hover svg,
  .home-prevenda-slide__cta:focus-visible i,
  .home-prevenda-slide__cta:focus-visible svg {
    transform: translateX(3px);
  }
}

/* Botões de navegação laterais */
.home-prevenda-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.home-prevenda-nav i,
.home-prevenda-nav svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.2;
}

.home-prevenda-nav--prev {
  left: 0.65rem;
}

.home-prevenda-nav--next {
  right: 0.65rem;
}

@media (hover: hover) {
  .home-prevenda-nav:hover {
    background: rgba(20, 24, 32, 0.92);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

.home-prevenda-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.home-prevenda-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dots */
.home-prevenda-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0 0.5rem;
  min-height: 1.4rem;
}

.home-prevenda-dots:empty {
  display: none;
}

.home-prevenda-dot {
  appearance: none;
  border: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    width 0.28s ease;
}

@media (hover: hover) {
  .home-prevenda-dot:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.15);
  }
}

.home-prevenda-dot.is-active {
  background: #fff;
  width: 1.45rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.home-prevenda-dot:focus-visible {
  outline: 2px solid var(--prevenda-accent);
  outline-offset: 3px;
}

/* Estado vazio / carregando — placeholder do banner */
.home-prevenda-stage[data-prevenda-state="empty"] .home-prevenda-viewport,
.home-prevenda-stage[data-prevenda-state="loading"] .home-prevenda-viewport {
  min-height: 0;
}

.home-prevenda-stage[data-prevenda-state="empty"] .home-prevenda-viewport::after,
.home-prevenda-stage[data-prevenda-state="loading"] .home-prevenda-viewport::after {
  content: '';
  display: block;
  width: 100%;
  min-height: var(--prevenda-slide-min-h);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.home-prevenda-stage[data-prevenda-state="loading"] .home-prevenda-viewport::after {
  animation: home-prevenda-pulse 1.2s ease-in-out infinite alternate;
}

.home-prevenda-stage[data-prevenda-state="ready"] .home-prevenda-viewport {
  cursor: grab;
}

.home-prevenda-stage[data-prevenda-state="ready"] .home-prevenda-viewport:active {
  cursor: grabbing;
}

.home-prevenda-stage[data-prevenda-state="empty"] .home-prevenda-nav,
.home-prevenda-stage[data-prevenda-state="loading"] .home-prevenda-nav {
  display: none;
}

@keyframes home-prevenda-pulse {
  from { opacity: 0.4; }
  to { opacity: 0.85; }
}

/* ─── Responsivo ─── */

@media (max-width: 1023px) {
  .home-prevenda-block {
    --prevenda-stage-radius: 0.9rem;
  }

  .home-prevenda-slide__bar {
    gap: 0.85rem 1.5rem;
    padding: 1rem 1.15rem;
  }

  .home-prevenda-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .home-prevenda-nav--prev { left: 0.45rem; }
  .home-prevenda-nav--next { right: 0.45rem; }
}

@media (max-width: 767px) {
  /* Mobile usa só toque (swipe) para navegar no banner de pré-venda — sem setas,
     igual ao restante dos carrosséis da home (ver .pkg-carousel-btn acima). */
  .home-prevenda-nav {
    display: none !important;
  }

  .home-prevenda-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.9rem;
  }

  .home-category-view-all {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Empilha de volta: imagem em cima, painel de info embaixo */
  .home-prevenda-slide {
    flex-direction: column;
  }

  .home-prevenda-slide__hero {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3840 / 1240;
  }

  .home-prevenda-slide__bar {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-left: none;
    border-top: 1px solid var(--prevenda-hairline);
  }

  .home-prevenda-slide__tagline {
    -webkit-line-clamp: 2;
  }

  /* Preço + CTA ganham a própria linha, separados nas pontas */
  .home-prevenda-slide__bar-buy {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0;
  }
}

@media (max-width: 539px) {
  .home-prevenda-slide__bar {
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
  }

  .home-prevenda-slide__feature--wide {
    width: 100%;
  }

  .home-prevenda-slide__cta {
    padding: 0.62rem 1rem;
    font-size: 0.8rem;
  }

  .home-prevenda-dot.is-active {
    width: 1.25rem;
  }
}