/* ═══════════════════════════════════════════
   Topo da home: Combo Pack com imagens no fundo + demonstração animada
   (ao mudar algo aqui, aumente o ?v= no layout)
   ═══════════════════════════════════════════ */

.combo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  gap: 2rem;
  min-height: 420px;
  padding: 2rem 1.25rem;
  border-radius: 1.5rem;
  background: #0b0d12;
  border: 1px solid hsl(var(--primary) / 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .combo-hero {
    padding: 2.5rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .combo-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    min-height: 540px;
    padding: 3rem 3.25rem;
  }
}

/* ── Fundo: imagens dos jogos se revezando ── */
.combo-hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.combo-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.combo-hero__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Escurece o fundo para o texto ficar legível */
.combo-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.8) 0%, rgba(8, 10, 14, 0.55) 38%, rgba(8, 10, 14, 0.12) 70%, rgba(8, 10, 14, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 15% 20%, hsl(var(--primary) / 0.18), transparent 55%);
}

@media (max-width: 1023px) {
  .combo-hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.78) 70%),
      radial-gradient(circle at 20% 10%, hsl(var(--primary) / 0.2), transparent 60%);
  }
}

/* ── Chamada ── */
.combo-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.combo-hero__title {
  margin-top: 1rem;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.combo-hero__desc {
  margin-top: 0.8rem;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.combo-hero__desc strong {
  color: #fff;
}

.combo-hero__meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-top: 1.3rem;
}

.combo-hero__meter-price {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: #fff;
}

.combo-hero__price {
  padding: 0.05rem 0.75rem;
  border-radius: 0.6rem;
  color: #000;
  background: hsl(var(--primary));
  box-shadow: 0 0 34px hsl(var(--primary) / 0.5);
}

.combo-hero__meter-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.combo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.6rem;
}

.combo-hero__actions .combo-btn {
  animation: combo-hero-cta-glow 2.4s ease-in-out infinite;
}

@keyframes combo-hero-cta-glow {
  0%, 100% { box-shadow: 0 10px 30px hsl(var(--primary) / 0.35); }
  50% { box-shadow: 0 10px 44px hsl(var(--primary) / 0.65); }
}

.combo-hero__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.combo-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.combo-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.combo-hero__trust strong {
  color: #fff;
}

@media (max-width: 1023px) {
  .combo-hero__actions .combo-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══ Demonstração animada ("vídeo" de como montar o combo) ═══ */
.combo-hero__demo {
  display: none;
}

@media (min-width: 1024px) {
  .combo-hero__demo {
    display: block;
  }
}

.cdemo {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(11, 13, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px hsl(var(--primary) / 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
}

.cdemo__chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.cdemo__dots {
  display: flex;
  gap: 0.35rem;
}

.cdemo__dots i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: #ff5f57;
}

.cdemo__dots i:nth-child(2) { background: #febc2e; }
.cdemo__dots i:nth-child(3) { background: #28c840; }

.cdemo__title {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.cdemo__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #34a853;
  border: 1px solid rgba(52, 168, 83, 0.4);
}

.cdemo__live i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #34a853;
  animation: cdemo-blink 1.2s ease-in-out infinite;
}

@keyframes cdemo-blink {
  50% { opacity: 0.25; }
}

.cdemo__view {
  position: relative;
  height: 400px;
  padding: 1rem;
}

.cdemo__scene {
  position: absolute;
  inset: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cdemo__scene.is-active {
  opacity: 1;
  transform: none;
}

.cdemo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cdemo__h {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.cdemo__chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.35);
  transition: all 0.3s;
}

.cdemo__chip.is-full {
  color: #000;
  background: hsl(var(--primary));
}

/* Cena 1: grade de jogos com as capas verticais dos cards (4 colunas x 2 fileiras) */
.cdemo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.cdemo__tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  background: #141820;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.cdemo__tile img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* O nome já aparece na própria capa (capa vertical 2:3, igual aos cards) */
.cdemo__tile span {
  display: none;
  padding: 0.3rem 0.45rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdemo__tile::after {
  content: '✓';
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  color: transparent;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.25s;
}

.cdemo__tile.is-picked {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.18);
  transform: scale(0.97);
}

.cdemo__tile.is-picked::after {
  color: #000;
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.cdemo__progress {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.cdemo__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* Cena 2: resumo */
.cdemo__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cdemo__li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cdemo__li img {
  width: 1.5rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  object-fit: cover;
}

.cdemo__li b {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdemo__li em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.cdemo__sum {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.cdemo__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.cdemo__row--big {
  font-family: 'Kanit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.cdemo__row--big b {
  color: hsl(var(--primary));
}

.cdemo__save {
  padding: 0.35rem;
  border-radius: 0.45rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34a853;
  background: rgba(52, 168, 83, 0.1);
}

.cdemo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  background: hsl(var(--primary));
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.35);
  transition: transform 0.15s, filter 0.15s;
}

.cdemo__btn.is-pressed {
  transform: scale(0.96);
  filter: brightness(0.9);
}

/* Cena 3: checkout */
.cdemo__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cdemo__input {
  display: flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cdemo__input.is-typing::after {
  content: '';
  width: 1px;
  height: 1rem;
  margin-left: 1px;
  background: #fff;
  animation: cdemo-blink 0.8s step-end infinite;
}

.cdemo__coupon {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  background: rgba(52, 168, 83, 0.08);
  border: 1px solid rgba(52, 168, 83, 0.35);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.cdemo__coupon.is-on {
  opacity: 1;
  transform: none;
}

.cdemo__coupon-icon {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #000;
  background: #34a853;
}

.cdemo__coupon div {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.cdemo__coupon small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #34a853;
}

.cdemo__coupon b {
  font-size: 0.78rem;
  color: #34a853;
}

.cdemo__pay {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.cdemo__pay span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s;
}

.cdemo__pay span.is-on {
  color: #fff;
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
}

/* Cena 4: aprovado */
.cdemo__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 100%;
  text-align: center;
}

.cdemo__done-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 900;
  color: #000;
  background: #34a853;
  box-shadow: 0 0 40px rgba(52, 168, 83, 0.5);
  transform: scale(0.4);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cdemo__scene.is-active .cdemo__done-icon {
  transform: scale(1);
}

.cdemo__done strong {
  font-family: 'Kanit', sans-serif;
  font-size: 1.25rem;
  color: #fff;
}

.cdemo__done p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.cdemo__keys {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.4rem;
}

.cdemo__keys code {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.cdemo__keys code span {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Geist', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cursor animado */
.cdemo__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}

.cdemo__cursor.is-on {
  opacity: 1;
}

.cdemo__cursor svg {
  width: 100%;
  height: 100%;
}

.cdemo__cursor::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid hsl(var(--primary));
  opacity: 0;
  transform: scale(0.3);
}

.cdemo__cursor.is-click::after {
  animation: cdemo-ripple 0.45s ease-out;
}

@keyframes cdemo-ripple {
  0% { opacity: 1; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* Passos (bolinhas) */
.cdemo__steps {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0 0.9rem;
}

.cdemo__steps span {
  width: 1.4rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}

.cdemo__steps span.is-active {
  background: hsl(var(--primary));
}

@media (prefers-reduced-motion: reduce) {
  .combo-hero__bg,
  .cdemo__scene,
  .cdemo__cursor {
    transition: none;
  }
  .combo-hero__actions .combo-btn {
    animation: none;
  }
}


/* ═══════════════════════════════════════════
   Checkout: cronômetro da promoção do combo (15 minutos)
   ═══════════════════════════════════════════ */

.promo-timer {
  display: none;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.16), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(248, 113, 113, 0.45);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.12);
}

.promo-timer.is-visible {
  display: flex;
}

.promo-timer__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  color: #fff;
  background: #ef4444;
  animation: promo-timer-pulse 1s ease-in-out infinite;
}

.promo-timer__text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.promo-timer__text strong {
  color: #fff;
}

.promo-timer__clock {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 0.6rem;
  font-family: 'Kanit', ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

/* Último minuto: número em vermelho piscando */
.promo-timer.is-ending .promo-timer__clock {
  color: #f87171;
  animation: promo-timer-blink 1s steps(2, start) infinite;
}

.promo-timer--expired {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.promo-timer--expired .promo-timer__icon {
  background: rgba(255, 255, 255, 0.12);
  animation: none;
}

@keyframes promo-timer-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes promo-timer-blink {
  to { opacity: 0.35; }
}

@media (max-width: 480px) {
  .promo-timer {
    gap: 0.65rem;
    padding: 0.75rem;
  }
  .promo-timer__text {
    font-size: 0.82rem;
  }
  .promo-timer__clock {
    font-size: 1.25rem;
    padding: 0.3rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-timer__icon,
  .promo-timer.is-ending .promo-timer__clock {
    animation: none;
  }
}

/* Página de montar o combo: cabeçalho com as imagens dos jogos do carrossel no fundo */
.combo-cta--slides {
  min-height: 280px;
  border-color: hsl(var(--primary) / 0.22);
}

@media (min-width: 1024px) {
  .combo-cta--slides {
    min-height: 320px;
  }
}

.combo-cta--slides .combo-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.62) 45%, rgba(8, 10, 14, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.55) 0%, transparent 50%);
}

.combo-cta--slides .combo-cta__glow {
  opacity: 0.5;
}

@media (max-width: 1023px) {
  .combo-cta--slides .combo-hero__shade {
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0.85) 100%);
  }
}


/* ═══════════════════════════════════════════
   Página de montar o combo: categorias + barra de seleção fixa embaixo (também no computador)
   Seletores com [data-combo-builder] para valer sobre as regras antigas do core.css
   ═══════════════════════════════════════════ */

[data-combo-builder] .combo-group.is-filtered-out {
  display: none;
}

[data-combo-builder] .combo-dock__count::after {
  content: ' · ';
}

[data-combo-builder] .combo-dock__totals {
  display: none;
}

@media (min-width: 1024px) {
  [data-combo-builder] .combo-dock {
    display: flex;
    left: 50%;
    right: auto;
    bottom: 1rem;
    width: min(1180px, calc(100% - 2rem));
    transform: translateX(-50%);
    flex-wrap: nowrap;
    gap: 1.25rem;
    padding: 0.85rem 0.9rem 0.85rem 1.1rem;
    border-radius: 1.2rem;
    border-color: hsl(var(--primary) / 0.25);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  [data-combo-builder] .combo-dock__info {
    order: 0;
    flex: 1 1 auto;
    flex-basis: auto;
    max-width: 420px;
  }

  [data-combo-builder] .combo-dock__picks {
    gap: 0.6rem;
  }

  [data-combo-builder] .combo-dock__pick {
    width: 5rem;
    height: 2.5rem;
    border-radius: 0.55rem;
  }

  [data-combo-builder] .combo-dock__totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    line-height: 1.2;
    white-space: nowrap;
  }

  [data-combo-builder] .combo-dock__totals s {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
  }

  [data-combo-builder] .combo-dock__totals strong {
    font-family: 'Kanit', sans-serif;
    font-size: 1.35rem;
    color: #fff;
  }

  [data-combo-builder] .combo-dock__totals small {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.72rem;
    font-weight: 600;
    color: #34a853;
  }

  [data-combo-builder] .combo-dock .combo-btn--sm {
    padding: 0.95rem 1.5rem;
    font-size: 0.85rem;
  }
}


/* ═══════════════════════════════════════════
   Botão flutuante do WhatsApp (canto inferior direito, em todas as páginas)
   ═══════════════════════════════════════════ */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.wa-float > * {
  pointer-events: auto;
}

.wa-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wa-float__btn img {
  width: 2rem;
  height: 2rem;
}

/* Onda pulsando em volta do botão */
.wa-float__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: #25d366;
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Balão com a mensagem */
.wa-float__bubble {
  position: relative;
  max-width: 17rem;
  margin-bottom: 0.4rem;
  padding: 0.85rem 2rem 0.85rem 1rem;
  border-radius: 1rem 1rem 0.25rem 1rem;
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wa-float.is-bubble-open .wa-float__bubble {
  opacity: 1;
  transform: none;
}

.wa-float:not(.is-bubble-open) .wa-float__bubble {
  pointer-events: none;
}

.wa-float__text {
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #111827;
  text-decoration: none;
}

.wa-float__text strong {
  color: #128c7e;
}

.wa-float__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  color: #6b7280;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.wa-float__close:hover {
  color: #111827;
  background: #f3f4f6;
}

@media (max-width: 639px) {
  .wa-float {
    right: 0.9rem;
    bottom: 0.9rem;
    gap: 0.5rem;
  }

  .wa-float__btn {
    width: 3.4rem;
    height: 3.4rem;
  }

  .wa-float__bubble {
    max-width: calc(100vw - 6.5rem);
    padding: 0.7rem 1.8rem 0.7rem 0.85rem;
  }

  .wa-float__text {
    font-size: 0.78rem;
  }
}

/* Na página de montar o combo, o botão sobe para não cobrir a barra de seleção */
body:has([data-combo-builder]) .wa-float {
  bottom: 9rem;
}

@media (min-width: 1024px) {
  body:has([data-combo-builder]) .wa-float {
    bottom: 7rem;
  }
}

/* O aviso de "fulano comprou..." aparece logo acima do botão, sem se sobrepor */
body:has(.wa-float) .king-coupon-popup {
  bottom: 9.5rem;
}

@media (max-width: 639px) {
  body:has(.wa-float) .king-coupon-popup {
    bottom: 11rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__btn::before {
    animation: none;
  }
}
body:has([data-combo-builder]) .king-coupon-popup {
  bottom: 14.5rem;
}

@media (min-width: 1024px) {
  body:has([data-combo-builder]) .king-coupon-popup {
    bottom: 12.5rem;
  }
}


/* Botão do WhatsApp um pouco maior (posição original) */
.wa-float {
  bottom: 1.25rem;
}

.wa-float__btn {
  width: 4.4rem;
  height: 4.4rem;
}

.wa-float__btn img {
  width: 2.4rem;
  height: 2.4rem;
}

body:has(.wa-float) .king-coupon-popup {
  bottom: 9.5rem;
}

@media (max-width: 639px) {
  .wa-float {
    bottom: 0.9rem;
  }

  .wa-float__btn {
    width: 3.9rem;
    height: 3.9rem;
  }

  .wa-float__btn img {
    width: 2.15rem;
    height: 2.15rem;
  }

  body:has(.wa-float) .king-coupon-popup {
    bottom: 11rem;
  }
}

/* Página de montar o combo: continua acima da barra de seleção */
body:has([data-combo-builder]) .wa-float {
  bottom: 9rem;
}

@media (min-width: 1024px) {
  body:has([data-combo-builder]) .wa-float {
    bottom: 7rem;
  }
}


/* ═══ Botão do WhatsApp no canto inferior ESQUERDO (balão abrindo para a direita) ═══ */
.wa-float {
  right: auto;
  left: 1.25rem;
  flex-direction: row-reverse;
}

.wa-float__bubble {
  border-radius: 1rem 1rem 1rem 0.25rem;
  transform-origin: bottom left;
}

/* O aviso do cupom fica à direita: no computador volta à posição normal */
body:has(.wa-float) .king-coupon-popup {
  bottom: 1.5rem;
}

@media (max-width: 639px) {
  .wa-float {
    left: 0.9rem;
  }

  /* No celular o aviso ocupa a largura da tela, então continua acima do botão e do balão */
  body:has(.wa-float) .king-coupon-popup {
    bottom: 11rem;
  }
}

/* Página de montar o combo: aviso de compras acima da barra de seleção e do botão */
body:has([data-combo-builder]) .king-coupon-popup {
  bottom: 16.5rem;
}

@media (min-width: 1024px) {
  body:has([data-combo-builder]) .king-coupon-popup {
    bottom: 12.5rem;
  }
}


/* ═══════════════════════════════════════════
   Menu superior de ponta a ponta (como na Supra Store), fixo no topo:
   combo à esquerda, logo e nome no centro, busca/conta/carrinho à direita
   ═══════════════════════════════════════════ */

.site-topbar {
  background: rgba(8, 8, 11, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-topbar__inner {
  width: 100%;
  padding: 0 0.75rem;
}

/* 3 colunas: as laterais com a mesma largura deixam a logo exatamente no centro */
.site-topbar__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  height: 4rem;
}

.site-topbar__spacer {
  height: 4rem;
}

.site-topbar__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.site-topbar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
}

.site-topbar__logo {
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  object-fit: contain;
}

.site-topbar__name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  min-width: 0;
}

.site-topbar .king-nav-action-btn {
  width: 2.05rem;
  height: 2.05rem;
  min-width: 2.05rem;
  min-height: 2.05rem;
}

/* Botão do combo no menu */
.site-topbar .nav-combo-btn {
  gap: 0.35rem;
  padding: 0.45rem 0.35rem 0.45rem 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
}

.site-topbar .nav-combo-btn__off {
  font-size: 0.6rem;
  padding: 0.18rem 0.35rem;
}

/* Celular: o botão mostra só "Combo" + "40% OFF" para caber com a logo no centro */
@media (max-width: 639px) {
  .site-topbar .nav-combo-btn__icon {
    display: none;
  }
  .site-topbar .nav-combo-btn__label {
    font-size: 0;
  }
  .site-topbar .nav-combo-btn__label::before {
    content: 'Combo';
    font-size: 0.66rem;
  }
}

@media (min-width: 640px) {
  .site-topbar__inner {
    padding: 0 1.25rem;
  }
  .site-topbar__nav,
  .site-topbar__spacer {
    height: 4.5rem;
  }
  .site-topbar__brand {
    gap: 0.5rem;
  }
  .site-topbar__logo {
    width: 2.7rem;
    height: 2.7rem;
  }
  .site-topbar__name {
    font-size: 1.15rem;
  }
  .site-topbar__actions {
    gap: 0.4rem;
  }
  .site-topbar .king-nav-action-btn {
    width: 2.6rem;
    height: 2.6rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
  }
  .site-topbar .nav-combo-btn {
    gap: 0.5rem;
    padding: 0.55rem 0.5rem 0.55rem 1rem;
    font-size: 0.82rem;
  }
  .site-topbar .nav-combo-btn__icon {
    width: 1.1rem;
    height: 1.1rem;
  }
  .site-topbar .nav-combo-btn__off {
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
  }
}

@media (min-width: 1024px) {
  .site-topbar__inner {
    padding: 0 2rem;
  }
  .site-topbar__nav,
  .site-topbar__spacer {
    height: 4.75rem;
  }
  .site-topbar__logo {
    width: 3rem;
    height: 3rem;
  }
  .site-topbar__name {
    font-size: 1.35rem;
  }
  .site-topbar__actions {
    gap: 0.6rem;
  }
}

/* Campo de busca aberto logo abaixo da barra */
.site-topbar__search {
  margin: 0 auto 0.75rem;
  padding: 0 0.25rem;
}


/* ═══════════════════════════════════════════
   Fundo do site entre o azul-escuro e o preto,
   com luzes desfocadas fracas nas cores azuis do tema
   ═══════════════════════════════════════════ */

html body {
  background-color: #07080b;
}

/* Sem a grade de linhas (a Supra Store usa só o fundo liso com as luzes) */
body .grid-background {
  display: none;
}

body .kingdom-bg-glow--top {
  background: linear-gradient(to bottom left, hsl(var(--primary) / 0.11), hsl(var(--primary) / 0.11));
}

body .kingdom-bg-glow--right {
  background: linear-gradient(to bottom left, hsl(var(--secondary) / 0.13), hsl(var(--secondary) / 0.13));
}


/* ═══════════════════════════════════════════
   Botões de compra em verde: Comprar agora, Adicionar ao carrinho,
   Finalizar compra (carrinho), Pagar (checkout) e Ir para o pagamento (combo)
   ═══════════════════════════════════════════ */

#purchase-button,
#pay-button,
#cart-drawer a[href="/checkout"],
.combo-dock [data-combo-continue]:not(:disabled) {
  background: #34a853;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.35);
}

#purchase-button:hover:not(:disabled),
#pay-button:hover:not(:disabled),
#cart-drawer a[href="/checkout"]:hover,
.combo-dock [data-combo-continue]:hover:not(:disabled) {
  background: #15803d;
  box-shadow: 0 10px 28px rgba(52, 168, 83, 0.45);
}

/* ═══════════════════════════════════════════
   Preços dos jogos em branco e % de desconto em verde
   (cards, Mais Vendidos, página do jogo e página de montar o combo)
   ═══════════════════════════════════════════ */

html body .king-card-offer-price,
html body .combo-card__price,
html body .pkg-price {
  color: #fff;
}

html body .price-off-tag {
  color: #34a853;
  background: rgba(52, 168, 83, 0.12);
  border-color: rgba(52, 168, 83, 0.35);
}

html body .pkg-discount {
  color: #fff;
  background: #34a853;
}

#add-to-cart-button {
  color: #34a853;
  border-color: rgba(52, 168, 83, 0.55);
}

#add-to-cart-button:hover:not(:disabled) {
  color: #34a853;
  background: rgba(52, 168, 83, 0.1);
  border-color: rgba(52, 168, 83, 0.8);
}

/* ==========================================================================
   Azul da SteamGridDB (#5FB4F0): é um azul claro, então o texto sobre ele
   fica preto (igual aos botões da SteamGridDB) para ter contraste
   ========================================================================== */
html body .king-nav-action-btn--login,
html body .king-nav-action-btn--cart,
html body .king-coupon-popup__btn,
html body .combo-cta__meter-price,
html body .combo-btn,
html body .combo-card.is-selected .combo-card__check,
html body .combo-result.is-selected .combo-result__action,
html body .nav-combo-btn {
  color: #000;
}

/* ═══════════════════════════════════════════
   Página de montar o combo com o mesmo visual das categorias da página inicial:
   cards iguais aos da inicial e grade com "Ver mais" (scripts/home-rows.js)
   ═══════════════════════════════════════════ */
[data-combo-builder] .combo-group + .combo-group {
  margin-top: 3rem;
}

@media (min-width: 640px) {
  [data-combo-builder] .combo-group + .combo-group {
    margin-top: 5rem;
  }
}

[data-combo-builder] .combo-card--home {
  height: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0d12;
  transition: box-shadow 0.2s ease, transform 0.25s ease, border-color 0.2s, opacity 0.2s;
}

[data-combo-builder] .combo-card--home:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Jogo escolhido: contorno azul por cima do card */
[data-combo-builder] .combo-card--home.is-selected {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary)), 0 12px 30px hsl(var(--primary) / 0.25);
}

[data-combo-builder] .combo-card--home .king-card-offer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

[data-combo-builder] .combo-card--home .king-card-offer-img {
  display: block;
  height: 100%;
}

.combo-card--home__prices {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.combo-card--home__prices .king-card-offer-compare {
  display: block;
}

.combo-card--home__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.combo-card--home__pix {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Durante a busca aparecem todos os jogos encontrados, não só as 2 primeiras linhas */
[data-combo-builder].has-query .home-carousel__list > .is-more-hidden:not(.is-filtered-out) {
  display: flex !important;
}

[data-combo-builder].has-query .home-more {
  display: none !important;
}

/* ═══════════════════════════════════════════
   Combo da página inicial com o mesmo tamanho da área "Recém-chegados" (styles/lancamentos.css):
   a altura mínima é calculada no components/combo-hero.html com a mesma proporção dos Recém-chegados
   (4:5 no celular, 16:9 a partir de 640px, 21:8 a partir de 1024px). Se o conteúdo não couber, cresce.
   ═══════════════════════════════════════════ */
html body .combo-hero--home {
  min-height: 0;
}

/* Quando o conteúdo do combo pede mais altura, os Recém-chegados acompanham (valor vem do mesmo script) */
html body .gz-launch__slide {
  min-height: var(--gz-launch-min, 0px);
}

/* ═══════════════════════════════════════════
   Área "Não achou o seu jogo?" da página inicial (components/pedido-whatsapp.html):
   mural de capas no fundo, chamada para o WhatsApp e exemplo de conversa (telas grandes)
   ═══════════════════════════════════════════ */
.gz-pedido {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 1.5rem;
  border: 1px solid rgba(37, 211, 102, 0.28);
  background: #0b0d12;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.gz-pedido__mural {
  position: absolute;
  inset: -25% -10%;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  opacity: 0.32;
  transform: rotate(-8deg);
  animation: gz-pedido-mural 40s linear infinite alternate;
}

.gz-pedido__mural img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 0.6rem;
}

@keyframes gz-pedido-mural {
  from { transform: rotate(-8deg) translateY(0); }
  to { transform: rotate(-8deg) translateY(-12%); }
}

.gz-pedido__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 211, 102, 0.22), transparent 55%),
    linear-gradient(to top, rgba(8, 10, 14, 0.97) 10%, rgba(8, 10, 14, 0.82) 60%, rgba(8, 10, 14, 0.6) 100%);
}

.gz-pedido__inner {
  width: 100%;
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
}

.gz-pedido__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #34a853;
}

.gz-pedido__pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #34a853;
  box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.6);
  animation: gz-pedido-pulse 1.8s ease-out infinite;
}

@keyframes gz-pedido-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(52, 168, 83, 0); }
}

.gz-pedido__title {
  margin-top: 0.75rem;
  font-family: 'Kanit', sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.gz-pedido__title span {
  display: block;
  color: #34a853;
}

.gz-pedido__desc {
  max-width: 38rem;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.gz-pedido__desc strong {
  color: #fff;
}

.gz-pedido__count {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.gz-pedido__count strong {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #34a853, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gz-pedido__count span {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.gz-pedido__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.gz-pedido__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.gz-pedido__chips svg,
.gz-pedido__chips i {
  width: 0.9rem;
  height: 0.9rem;
  color: #34a853;
}

.gz-pedido__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
}

.gz-pedido__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #34a853);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: gz-pedido-glow 2.4s ease-in-out infinite;
}

.gz-pedido__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.5);
}

@keyframes gz-pedido-glow {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6); }
}

.gz-pedido__hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Exemplo de conversa: só em telas grandes */
.gz-pedido__chat {
  display: none;
}

@media (max-width: 639px) {
  .gz-pedido__btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .gz-pedido__mural {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gz-pedido__inner {
    padding: 2.5rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .gz-pedido__shade {
    background:
      radial-gradient(circle at 85% 20%, rgba(37, 211, 102, 0.22), transparent 50%),
      linear-gradient(90deg, rgba(8, 10, 14, 0.97) 0%, rgba(8, 10, 14, 0.86) 50%, rgba(8, 10, 14, 0.55) 100%);
  }

  .gz-pedido__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    padding: 3rem 3.25rem;
  }

  .gz-pedido__chat {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-self: end;
    width: 100%;
    max-width: 360px;
    padding: 1.1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 20, 27, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
  }
}

.gz-pedido__chat-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gz-pedido__chat-avatar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #25d366;
}

.gz-pedido__chat-avatar img {
  width: 1.2rem;
  height: 1.2rem;
}

.gz-pedido__chat-top strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.gz-pedido__chat-top em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: #34a853;
}

.gz-pedido__msg {
  align-self: flex-start;
  max-width: 85%;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem 0.9rem 0.9rem 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  line-height: 1.35;
  color: #fff;
  opacity: 0;
  animation: gz-pedido-msg 0.4s ease forwards;
}

.gz-pedido__msg--eu {
  align-self: flex-end;
  border-radius: 0.9rem 0.9rem 0.25rem 0.9rem;
  background: #005c4b;
}

.gz-pedido__msg:nth-of-type(2) { animation-delay: 0.3s; }
.gz-pedido__msg:nth-of-type(3) { animation-delay: 1.1s; }
.gz-pedido__msg:nth-of-type(4) { animation-delay: 1.9s; }
.gz-pedido__msg:nth-of-type(5) { animation-delay: 2.7s; }

@keyframes gz-pedido-msg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gz-pedido__mural,
  .gz-pedido__btn,
  .gz-pedido__pulse {
    animation: none;
  }

  .gz-pedido__msg {
    opacity: 1;
    animation: none;
  }
}

/* ═══ Logo e nome "Game Zone" no topo: tamanho da Supra Store + 20% (pedido do usuário) ═══
   (em px, porque a fonte-base deste tema é 14px e a de lá é 16px):
   celular = logo 41px e nome 13,8px; a partir de 768px = logo 48px e nome 15,6px */
html body .site-topbar__logo {
  width: 41px;
  height: 41px;
}

html body .site-topbar__name {
  font-size: 13.8px;
  font-weight: 800;
}

@media (min-width: 768px) {
  html body .site-topbar__logo {
    width: 48px;
    height: 48px;
  }

  html body .site-topbar__name {
    font-size: 15.6px;
  }
}

/* ═══════════════════════════════════════════
   Letras pequenas aumentadas (em px, porque a fonte-base do tema é 14px):
   etiquetas, preços riscados, "pagando no Pix", rodapé, selos e textos de apoio
   ═══════════════════════════════════════════ */

/* Cards de jogos (página inicial, combo e categorias) */
html body .key-steam-tag { font-size: 10.5px; }
html body .price-off-tag { font-size: 11.5px; }
html body .king-card-offer-compare { font-size: 12px; }
html body .king-store-offer-card .king-card-offer-body p.text-xs,
html body .combo-card--home__pix { font-size: 12px; }
html body .home-mini-carousel__card .line-through { font-size: 11.5px; }
html body .home-more__count { font-size: 11px; }

/* Topo */
html body .nav-combo-btn__off { font-size: 10px; }

/* Títulos pequenos acima das seções */
html body .home-ranking .tracking-\[0\.2em\],
html body .gz-launch__eyebrow,
html body .gz-pedido__eyebrow { font-size: 11.5px; }

/* Área do combo */
html body .combo-badge { font-size: 11.5px; }
html body .combo-hero__steps li,
html body .combo-hero li { font-size: 12.5px; }
html body .combo-hero__meter-note,
html body .combo-hero__hint,
html body .combo-hero__trust,
html body .combo-hero__trust strong { font-size: 12.5px; }
html body .combo-dock__count { font-size: 12px; }

/* Recém-chegados e área do WhatsApp */
html body .gz-launch__tag { font-size: 11px; }
html body .gz-launch__was,
html body .gz-launch__was s,
html body .gz-launch__was em,
html body .gz-launch__cta { font-size: 12.5px; }
html body .gz-pedido__hint { font-size: 12px; }
html body .wa-float__text { font-size: 12.5px; }

/* Página do jogo */
html body .pp-chip,
html body .pp-eyebrow,
html body .pp-offer { font-size: 11.5px; }
html body .pp-about__label,
html body .pkg-reqs__badge { font-size: 11px; }
html body .pkg-req__label { font-size: 12px; }
html body #package-viewing,
html body #package-viewing span { font-size: 12px; }
html body .pp-combo-cta__go { font-size: 13px; }
html body .pp details p { font-size: 13px; }

/* Rodapé */
html body footer p.text-xs,
html body footer .text-xs,
html body footer a { font-size: 12px; }

@media (min-width: 768px) {
  html body .key-steam-tag { font-size: 11px; }
  html body .gz-launch__tag { font-size: 11.5px; }
}
/* Letras pequenas: casos com regra mais forte no celular */
html body .site-topbar .nav-combo-btn .nav-combo-btn__off { font-size: 10px; }
html body .combo-hero li span { font-size: 11px; }
html body .gz-pedido__chips li { font-size: 12px; }

/* ═══════════════════════════════════════════
   Páginas de políticas (pages/privacidade, termos-de-uso, reembolso, entrega, contato)
   e links no rodapé
   ═══════════════════════════════════════════ */
.gz-legal {
  max-width: 860px;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.gz-legal__head {
  margin-bottom: 1.5rem;
}

.gz-legal__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.gz-legal__title {
  margin-top: 0.4rem;
  font-family: 'Kanit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.gz-legal__updated {
  margin-top: 0.5rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.gz-legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gz-legal__nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.gz-legal__nav a:hover {
  color: #fff;
  border-color: hsl(var(--primary) / 0.5);
}

.gz-legal__nav a.is-active {
  color: #000;
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.gz-legal__body {
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0f1218;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 640px) {
  .gz-legal__body {
    padding: 2.25rem 2.5rem;
  }
}

.gz-legal__body h2 {
  margin: 2rem 0 0.6rem;
  font-family: 'Kanit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.gz-legal__body h2:first-child {
  margin-top: 0;
}

.gz-legal__body p + p {
  margin-top: 0.75rem;
}

.gz-legal__body ul,
.gz-legal__body ol {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

.gz-legal__body ul {
  list-style: disc;
}

.gz-legal__body ol {
  list-style: decimal;
}

.gz-legal__body li + li {
  margin-top: 0.35rem;
}

.gz-legal__body strong {
  color: #fff;
}

.gz-legal__body a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gz-legal__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .gz-legal__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html body .gz-legal__card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s;
}

html body .gz-legal__card strong {
  font-size: 16px;
  color: #fff;
}

html body .gz-legal__card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

html body .gz-legal__card--wa {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}

/* Rodapé: marca à esquerda + 4 colunas com divisórias (Acesso rápido, Legal, Segurança, Navegação Segura) */
.gz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .gz-footer-grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.gz-fcols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
}

@media (min-width: 768px) {
  .gz-fcols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .gz-fcol {
    padding: 0 1.25rem;
    border-left: 1px solid hsl(var(--primary) / 0.35);
  }

  .gz-fcol:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

html body footer .gz-fcol__title {
  margin-bottom: 0.75rem;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.gz-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.gz-seals {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

html body footer .gz-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

html body footer .gz-seal svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

html body footer .gz-seal small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

html body footer .gz-seal--pix {
  color: #32bcad;
  font-size: 16px;
  letter-spacing: 0.02em;
}

html body footer .gz-seal--ssl {
  color: #f5c542;
}

html body footer .gz-seal--compra {
  color: #34a853;
  border-color: rgba(52, 168, 83, 0.45);
  background: rgba(52, 168, 83, 0.08);
}

html body footer .gz-seal--google {
  padding: 0.5rem 0.7rem;
  border-color: rgba(52, 168, 83, 0.45);
  background: rgba(52, 168, 83, 0.08);
  color: #34a853;
  transition: border-color 0.2s, background 0.2s;
}

html body footer .gz-seal--google:hover {
  border-color: #34a853;
  background: rgba(52, 168, 83, 0.15);
}

html body footer .gz-seal--google svg {
  width: 30px;
  height: 30px;
}

html body footer .gz-seal--google b {
  display: block;
  font-size: 15px;
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 45%, #fbbc05 45% 65%, #4285f4 65% 80%, #34a853 80% 90%, #ea4335 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html body footer .gz-seal--google small {
  color: rgba(255, 255, 255, 0.7);
  text-transform: none;
}

html body footer .gz-seal--google em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 9.5px;
  text-transform: uppercase;
  color: #34a853;
}

html body footer .gz-footer-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

html body footer .gz-footer-links a:hover {
  color: #fff;
}
/* "cupom COMBO3 aplicado automaticamente" sempre abaixo de "Combo de 3 = 40% OFF" (também no computador) */
html body .combo-hero__meter {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* ═══ Área Pré-venda (components/prevenda.html): mesmo visual dos Lançamentos + link "Ver todos" ═══ */
html body .gz-pre__arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html body .gz-pre__arrows .gz-launch__arrow {
  display: none;
}

@media (min-width: 1024px) {
  html body .gz-pre__arrows .gz-launch__arrow {
    display: inline-flex;
  }
}

.gz-pre__all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.gz-pre__all:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.1);
}
/* Vitrine: campo "Procure seu jogo aqui" ao lado de Gêneros (components/categories-sidebar.html) */
.gz-vitrine-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.gz-vitrine-bar .gz-busca {
  flex: 1 1 auto;
  min-width: 0;
}

.gz-vitrine-bar .gz-generos {
  flex: 0 0 138px;
}

/* até 1023px a barra fica acima das fileiras (alinhada à direita); a partir de 1024px, no canto direito, ao lado do título */
@media (min-width: 640px) {
  html body .gz-vitrine-bar {
    position: relative;
    z-index: 10;
    width: 560px;
    max-width: 100%;
    margin-left: auto;
  }
}

@media (min-width: 1024px) {
  html body .gz-vitrine-bar {
    position: absolute;
    right: 2rem;
  }
}

@media (min-width: 640px) {

  .gz-vitrine-bar .gz-generos {
    flex-basis: 220px;
  }
}

html body .gz-busca__icon {
  position: absolute;
  left: 0.85rem;
  top: 20px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  z-index: 1;
  color: hsl(var(--primary));
  pointer-events: none;
}

html body .gz-busca__input {
  width: 100%;
  height: 40px;
  padding: 0 0.85rem 0 2.4rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.45);
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html body .gz-busca__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

html body .gz-busca__input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}

html body .gz-busca__result {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  margin-top: 0.5rem;
  max-height: min(24rem, 55vh);
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0c;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 639px) {
  /* no celular a lista de resultados ocupa a largura toda da barra (campo + Gêneros) */
  html body .gz-busca__result,
  html body .gz-vitrine-bar .combo-search-results {
    right: -146px;
  }

  /* 18px (≈16px com o zoom do body) evita o zoom automático do iPhone ao tocar no campo */
  html body .gz-busca__input {
    font-size: 18px;
  }
}

/* Página de montar o combo: a barra fica no fluxo, à direita do título "Jogos disponíveis" */
html body .gz-vitrine-bar--combo {
  position: relative;
  right: auto;
  width: 100%;
  margin-left: 0;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  html body .gz-vitrine-bar--combo {
    width: 560px;
  }
}

html body .gz-vitrine-bar--combo .combo-search-wrap {
  width: auto;
}

/* a partir de 640px a lista de resultados também ocupa a barra inteira (campo + Gêneros de 220px) */
@media (min-width: 640px) {
  html body .gz-busca__result,
  html body .gz-vitrine-bar .combo-search-results {
    right: -228px;
  }
}

html body .gz-vitrine-bar--combo .gz-generos {
  width: auto;
}

/* Página do jogo "Em breve na Game Zone" (categoria em-breve): aviso no lugar do preço e dos botões */
html body .pp-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.08);
}

html body .pp-soon__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #0a0c10;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

html body .pp-soon__tag svg {
  width: 13px;
  height: 13px;
}

html body .pp-soon__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

html body .pp-soon__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

html body .pp-soon__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0.6rem 1rem;
  border-radius: 0.7rem;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: filter 0.2s;
}

html body .pp-soon__btn:hover {
  filter: brightness(1.1);
}

html body .pp-soon__btn svg {
  width: 16px;
  height: 16px;
}

/* Carrossel "Em breve na Game Zone" (components/prevenda.html): selo no lugar do preço e do botão */
html body .gz-launch__soon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* botão "Ver jogo" dos cards Em breve: só abre a página do jogo (não compra) */
html body .gz-launch__cta--ver {
  background: hsl(var(--primary));
  color: #0a0c10;
  box-shadow: 0 10px 26px hsl(var(--primary) / 0.35);
}
