/* Mobile BOGO — mensagem dentro do hero (estilo referência) */
.kb-bogo-hook {
  display: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  body.kingdom-is-home .kb-bogo-hook {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 6;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.7rem 0.85rem 1.55rem;
    background: linear-gradient(
      105deg,
      rgba(4, 10, 20, 0.78) 0%,
      rgba(4, 10, 20, 0.42) 38%,
      rgba(4, 10, 20, 0.08) 62%,
      transparent 100%
    );
  }
  body.kingdom-is-home .kingdom-home-hero.has-bogo-hook {
    overflow: hidden;
  }
  /* Mantém o tamanho original do hero — sem esticar */
  body.kingdom-is-home #top-announce,
  body.kingdom-is-home .kb-top-announce--home {
    display: none !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body.kingdom-is-home .kingdom-home-hero__balloon,
  body.kingdom-is-home .kingdom-home-hero__scrim {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
.kb-bogo-hook__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 17rem);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  pointer-events: auto;
}
.kb-bogo-hook__title {
  margin: 0 0 0.15rem;
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-size: clamp(1.55rem, 7.2vw, 1.95rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 3px 14px rgba(0, 0, 0, 0.55);
}
.kb-bogo-hook__offer {
  margin: 0 0 0.2rem;
  font-family: Kanit, Geist, sans-serif;
  font-size: clamp(0.88rem, 3.8vw, 1.02rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: #45d1ff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 2px 12px rgba(0, 0, 0, 0.45);
  max-width: 15.5rem;
}
.kb-bogo-hook__sub {
  margin: 0 0 0.55rem;
  max-width: 14.5rem;
  font-family: Kanit, Geist, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.kb-bogo-hook__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  min-height: 2.25rem;
  padding: 0.42rem 0.8rem;
  border-radius: 0.55rem;
  background: #45d1ff;
  color: #041018;
  font-family: Kanit, Geist, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.kb-bogo-hook__cta:active {
  filter: brightness(0.96);
}
.kb-bogo-hook__cta-icon {
  width: 1rem;
  height: 1rem;
}

/* Card badge 2+1 Steam */
.package-card__bogo {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.3rem;
  padding: 0.14rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #041018;
  background: #45d1ff;
  box-shadow: 0 2px 8px rgba(13, 156, 196, 0.4);
  pointer-events: none;
}
.package-card__media:has(.package-card__badge:not([hidden]):not(.is-empty)) .package-card__bogo {
  top: 2rem;
}

/* Buy lane BOGO chip */
.kb-pkg-bogo-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.1);
}
.kb-pkg-bogo-chip__icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  color: #45d1ff;
}
.kb-pkg-bogo-chip__copy {
  min-width: 0;
}
.kb-pkg-bogo-chip__copy strong {
  display: block;
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #45d1ff;
}
.kb-pkg-bogo-chip__copy span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}
.kb-pkg-bogo-chip__social {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile sticky buy */
.kb-pkg-sticky-buy {
  display: none;
}
.kb-pkg-sticky-buy[hidden] {
  display: none !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  .kb-pkg-sticky-buy:not([hidden]) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    /* Acima da bottom nav + botão Buscar central */
    bottom: calc(5.65rem + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9995 !important;
    display: flex !important;
    align-items: center;
    gap: 0.55rem;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0.65rem 0.85rem;
    background: rgb(5, 12, 24) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .kb-pkg-sticky-buy__price {
    flex: 0 0 auto;
    min-width: 4.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #45d1ff;
    white-space: nowrap;
  }
  .kb-pkg-sticky-buy__btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 0.7rem;
    background: #45d1ff;
    color: #041018;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .kb-pkg-sticky-buy__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  body.kingdom-is-package-immersive.kb-sticky-buy-visible {
    padding-bottom: calc(10.2rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.kb-sticky-buy-visible .kb-social-fab {
    bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Cart: falta 1 key Steam */
.kb-cart-bogo__next {
  display: none;
  width: 100%;
  margin-top: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.kb-cart-bogo:not(.is-complete) .kb-cart-bogo__next.is-show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
