/* Package / product page — 20260731-pkg-sharp-blue */
/* pkg-sharp-blue — store cyan buy CTA, crisp title/price, no border bloom glow */
/* pkg-ux-polish — sharp text, reviews clearance, slower trust seesaw */
/* package-desc-improve — visible desc card (border/pad), readable HTML, empty state */
/* package-align-desc — desktop: buy rail = banner height; descrição full-width below stage */
/* package-mobile-adapt — ≤767: nav clearance, margins, compact select, sticky+reviews clearance */
/* package-reviews-btn — Ver avaliações CTA below buy (kept working) */
/* package-equal-height — desktop rail matches media height; CTAs pinned bottom */
/* package-layout-ref2 — Steam-style: media left | purchase sidebar right */
/* package-layout-v2 — one purchase stage + horizontal trust strip */
/* package-trust-like-home — 3 glow cards like home (reuse home-trust-card + CDN 3D icons) */
/* package-feedbacks-carousel */
/* package-mobile-fix — single mobile buy bar above bottom nav */
/* Scoped to .pkg-page / .robux-flow; navy/gold kingdom */
/* similares-center — title + coverflow balanced in the middle */

.pkg-page {
  --pkg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pkg-dur: 0.22s;
  --pkg-radius: 1rem;
  --pkg-navy: #040a12;
  --pkg-navy-2: #0a1220;
  --pkg-gold: #f5c542;
  --pkg-gold-soft: rgba(245, 197, 66, 0.45);
  position: relative;
  isolation: isolate;
}

.pkg-cta-spacer {
  display: none;
}

.pkg-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 72rem;
  margin-inline: auto;
}

/* Opacity-only entrance — parent transforms blur title/price on GPU */
@keyframes pkg-stage-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* pkg-ux-polish — no animated text-shadow (blurry on mobile GPUs) */

@keyframes pkg-strip-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   BUY STAGE — two separate cards (media | sidebar)
   package-layout-ref2
   ═══════════════════════════════════════════ */
.pkg-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  /* Mobile: stack; desktop overrides to equal-height stretch */
  align-items: start;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: pkg-stage-in 0.55s var(--pkg-ease) both;
}

.pkg-stage::before {
  display: none;
}

/* ── Media (dominant left card) ── */
.pkg-stage__media {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--pkg-radius);
  /* Crisp 1px border — no cyan bloom (borrão = box-shadow blur) */
  border: 1px solid hsl(var(--primary) / 0.55);
  background:
    radial-gradient(ellipse 55% 50% at 18% 20%, hsl(var(--primary) / 0.08), transparent 58%),
    linear-gradient(155deg, rgb(10 18 32 / 0.98) 0%, rgb(4 10 18 / 0.995) 100%);
  box-shadow:
    0 12px 28px rgb(0 0 0 / 0.32),
    inset 0 1px 0 rgb(255 255 255 / 0.04);
}

.pkg-stage__img,
.pkg-stage__slider,
.pkg-stage__media > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: none;
  border-radius: 0;
  background: rgb(6 12 20 / 0.92);
}

.pkg-stage__gallery {
  width: 100%;
}

.pkg-stage__gallery #package-gallery-thumbs {
  padding: 0 0.85rem 0.85rem;
}

.pkg-stage__media [data-gallery-prev],
.pkg-stage__media [data-gallery-next] {
  border-color: hsl(var(--primary) / 0.4);
  background: rgb(4 12 20 / 0.88);
  color: #fff;
  transition:
    background var(--pkg-dur) ease,
    border-color var(--pkg-dur) ease,
    transform var(--pkg-dur) var(--pkg-ease);
  cursor: pointer;
}

.pkg-stage__media [data-gallery-prev]:hover,
.pkg-stage__media [data-gallery-next]:hover,
.pkg-stage__media [data-gallery-prev]:focus-visible,
.pkg-stage__media [data-gallery-next]:focus-visible {
  background: hsl(var(--primary) / 0.22);
  border-color: hsl(var(--primary) / 0.7);
  outline: none;
}

/* ── Purchase sidebar card ── */
.pkg-stage__rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  /* Mobile: hug content; desktop stretches to media height */
  height: fit-content;
  align-self: start;
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--pkg-radius);
  border: 1px solid hsl(var(--primary) / 0.55);
  background:
    radial-gradient(ellipse 70% 40% at 90% 0%, hsl(var(--primary) / 0.08), transparent 55%),
    linear-gradient(165deg, rgb(12 20 34 / 0.98) 0%, rgb(5 11 20 / 0.995) 100%);
  box-shadow:
    0 12px 28px rgb(0 0 0 / 0.32),
    inset 0 1px 0 rgb(255 255 255 / 0.04);
}

/* Compact header: thumb + full title wrap + stock */
.pkg-stage__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.pkg-stage__thumb {
  flex-shrink: 0;
  width: 3.35rem;
  height: 4.35rem;
  object-fit: cover;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--primary) / 0.28);
  background: rgb(6 12 20 / 0.9);
}

.pkg-stage__head-text {
  flex: 1;
  min-width: 0;
}

.pkg-stage__title {
  margin: 0;
  font-family: Kanit, Geist, sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: #ffffff;
  text-shadow: none;
  filter: none;
  transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  /* package-layout-ref2 — full title, wrap, no ellipsis */
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pkg-stage__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.pkg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgb(var(--foreground) / 0.78);
  background: rgb(var(--foreground) / 0.05);
  border: 1px solid rgb(var(--foreground) / 0.1);
}

.pkg-chip--stock {
  color: rgb(var(--foreground) / 0.62);
  font-weight: 550;
  background: rgb(4 12 20 / 0.55);
  border-color: rgba(245, 197, 66, 0.22);
}

.pkg-chip--auto {
  color: #041018;
  background: linear-gradient(
    135deg,
    hsl(var(--primary)),
    color-mix(in srgb, hsl(var(--primary)) 75%, var(--pkg-gold))
  );
  border-color: hsl(var(--primary) / 0.45);
  font-weight: 750;
  box-shadow: none;
}

/* Variations as edition selection box */
.pkg-stage__rail #variation-list {
  margin-bottom: 0.85rem;
  max-height: none;
  overflow: visible;
}

.pkg-stage__rail #variation-list > button {
  min-height: 3.5rem;
  height: auto;
  padding: 0.65rem 0.85rem;
  border-radius: 0.7rem;
  border-color: hsl(var(--primary) / 0.35);
  background: rgb(4 12 20 / 0.55);
}

.pkg-stage__rail #variation-list > button[data-selected='true'] {
  border-color: hsl(var(--primary) / 0.65);
  background: hsl(var(--primary) / 0.14);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.2);
}

/* package-sidebar-reviews — selected product chip (no variations) */
.pkg-select {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid hsl(var(--primary) / 0.45);
  background: rgb(4 12 20 / 0.55);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.12);
}

.pkg-select__thumb {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid hsl(var(--primary) / 0.28);
  background: rgb(6 12 20 / 0.9);
}

.pkg-select__body {
  flex: 1;
  min-width: 0;
}

.pkg-select__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f4f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkg-select__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.2;
  color: rgb(var(--foreground) / 0.55);
}

.pkg-select__check {
  width: 0.85rem;
  height: 0.85rem;
  color: #22c55e;
  flex-shrink: 0;
}

/* Price block */
.pkg-stage__compare-at {
  margin: 0 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: line-through;
  color: rgb(var(--foreground) / 0.48);
}

.pkg-stage__price-block {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgb(var(--foreground) / 0.07);
}

.pkg-stage__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.pkg-stage__price {
  margin: 0;
  font-family: Kanit, Geist, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: none;
  filter: none;
  transform: none;
  animation: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.pkg-stage__discount-wrap {
  display: inline-flex;
  align-items: center;
}

/* Hide –0% / empty discount (CSS must beat display:inline-flex above) */
.pkg-stage__discount-wrap.hidden,
.pkg-stage__discount-wrap[hidden] {
  display: none !important;
}

.pkg-stage__discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #041018;
  background: hsl(var(--primary));
  box-shadow: none;
}

.pkg-stage__pix {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: rgb(var(--foreground) / 0.58);
}

.pkg-stage__pix::before {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--pkg-gold);
  box-shadow: 0 0 8px var(--pkg-gold-soft);
  vertical-align: 0.05em;
}

/* package-reviews-btn — CTA cluster (buy row + Ver avaliações) */
.pkg-stage__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.15rem;
}

/* ── CTAs — cart icon + Comprar agora (row like ref 2) ── */
.pkg-cta {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.55rem;
}

.pkg-cta__cart {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 3.15rem;
  min-width: 3.15rem;
  min-height: 3.15rem;
  padding: 0;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: rgb(4 12 20 / 0.7);
  color: #fff;
  cursor: pointer;
  transition:
    transform var(--pkg-dur) var(--pkg-ease),
    box-shadow var(--pkg-dur) ease,
    background-color var(--pkg-dur) ease,
    border-color var(--pkg-dur) ease;
}

.pkg-cta__cart:hover:not(:disabled),
.pkg-cta__cart:focus-visible:not(:disabled) {
  background: hsl(var(--primary) / 0.14);
  border-color: hsl(var(--primary) / 0.55);
  transform: translateY(-1px);
  outline: none;
}

.pkg-cta__cart:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
}

.pkg-cta__cart:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* pkg-sharp-blue — store cyan/blue CTA (match nav / primary, not gold) */
.pkg-cta__buy,
.pkg-cta #purchase-button,
.pkg-cta button.btn-primary.pkg-cta__buy {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3.15rem;
  height: auto;
  padding: 0.75rem 1rem;
  font-family: Kanit, Geist, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.75);
  background: linear-gradient(
    145deg,
    hsl(var(--primary)) 0%,
    hsl(var(--primary) / 0.82) 100%
  );
  background-color: hsl(var(--primary));
  color: #041018;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.18),
    0 8px 20px -6px rgb(0 0 0 / 0.45),
    inset 0 1px 0 rgb(255 255 255 / 0.22);
  transition:
    transform var(--pkg-dur) var(--pkg-ease),
    box-shadow var(--pkg-dur) ease,
    background-color var(--pkg-dur) ease,
    border-color var(--pkg-dur) ease,
    opacity var(--pkg-dur) ease;
}

.pkg-cta__buy:hover:not(:disabled),
.pkg-cta #purchase-button:hover:not(:disabled),
.pkg-cta__buy:focus-visible:not(:disabled),
.pkg-cta #purchase-button:focus-visible:not(:disabled),
.pkg-cta button.btn-primary.pkg-cta__buy:hover:not(:disabled),
.pkg-cta button.btn-primary.pkg-cta__buy:focus-visible:not(:disabled) {
  background: linear-gradient(
    145deg,
    hsl(var(--primary) / 0.98) 0%,
    hsl(var(--primary) / 0.88) 100%
  );
  background-color: hsl(var(--primary) / 0.92);
  border-color: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.28),
    0 10px 22px -6px rgb(0 0 0 / 0.42),
    inset 0 1px 0 rgb(255 255 255 / 0.28);
  outline: none;
}

.pkg-cta__buy:active:not(:disabled),
.pkg-cta #purchase-button:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

/* package-reviews-btn — full-width Ver avaliações (row icon+text, bordered secondary) */
.pkg-cta__reviews {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.48);
  background:
    linear-gradient(165deg, hsl(var(--primary) / 0.16) 0%, transparent 55%),
    rgb(6 14 24 / 0.92);
  color: #e8f6ff;
  font-family: Kanit, Geist, sans-serif;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.12),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform var(--pkg-dur) var(--pkg-ease),
    background-color var(--pkg-dur) ease,
    border-color var(--pkg-dur) ease,
    box-shadow var(--pkg-dur) ease,
    color var(--pkg-dur) ease;
}

.pkg-cta__reviews:hover,
.pkg-cta__reviews:focus-visible {
  background:
    linear-gradient(165deg, hsl(var(--primary) / 0.26) 0%, transparent 55%),
    rgb(8 18 30 / 0.95);
  border-color: hsl(var(--primary) / 0.72);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.22),
    0 8px 18px -8px rgb(0 0 0 / 0.4);
  outline: none;
}

.pkg-cta__reviews:active {
  transform: translateY(0) scale(0.985);
}

.pkg-cta__reviews-icon,
.pkg-cta__reviews svg.pkg-cta__reviews-icon,
.pkg-cta__reviews svg {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  min-height: 1.1rem;
  color: hsl(var(--primary));
  flex: 0 0 auto;
  display: block;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   TRUST STRIP — package-trust-like-home / package-trust-no-pix
   Reuses .home-trust / .home-trust-card chrome from kingdom-home.css
   ═══════════════════════════════════════════ */
.pkg-trust-strip {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0.15rem 0;
  animation: pkg-strip-in 0.55s var(--pkg-ease) 0.08s both;
}

.pkg-trust-strip::before {
  content: none;
  display: none;
}

.pkg-trust-home {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.1rem 0.55rem;
}

.pkg-trust-card {
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
  --trust-float-dur: 4.8s;
  border-width: 1px !important;
  border-style: solid;
  border-color: hsl(var(--primary) / 0.24) !important;
  background: linear-gradient(155deg, rgba(16, 22, 34, 0.96) 0%, rgba(8, 12, 20, 0.98) 55%, rgba(6, 10, 16, 0.99) 100%) !important;
  box-shadow:
    0 12px 28px rgb(0 0 0 / 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.pkg-trust-strip .pkg-trust-card.home-trust-card--featured,
.pkg-trust-strip .pkg-trust-card.is-visible:hover,
.pkg-trust-strip .pkg-trust-card.is-visible:focus,
.pkg-trust-strip .pkg-trust-card.is-visible:focus-visible,
.pkg-trust-strip .pkg-trust-card.is-visible:active,
.pkg-trust-strip .pkg-trust-card:focus,
.pkg-trust-strip .pkg-trust-card:focus-visible,
.pkg-trust-strip .pkg-trust-card:active {
  border-color: hsl(var(--primary) / 0.4) !important;
  box-shadow:
    0 14px 30px rgb(0 0 0 / 0.44),
    0 0 0 1px hsl(var(--primary) / 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

@media (hover: hover) {
  .pkg-trust-strip .pkg-trust-card.is-visible:hover {
    border-color: hsl(var(--primary) / 0.42) !important;
    box-shadow:
      0 14px 30px rgb(0 0 0 / 0.44),
      0 0 0 1px hsl(var(--primary) / 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  }
}

.pkg-trust-card .home-trust-card__title {
  font-size: clamp(1.05rem, 2.8vw, 1.22rem);
  color: #fff !important;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.45);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pkg-trust-card .home-trust-card__media,
.pkg-trust-card .home-trust-card__icon {
  filter: none;
}

.pkg-trust-card .home-trust-card__desc {
  font-size: clamp(0.8rem, 2.2vw, 0.88rem);
}

@media (min-width: 640px) {
  .pkg-trust-home {
    padding: 0.5rem 0.15rem 0.65rem;
    align-items: stretch;
  }

  .pkg-trust-card .home-trust-card__title {
    font-size: 1.22rem;
  }

  .pkg-trust-card .home-trust-card__desc {
    font-size: 0.88rem;
    max-width: 12.5rem;
  }

  .pkg-trust-card .home-trust-card__icon-slot {
    width: 8.75rem;
    height: 8.75rem;
    margin-right: -1rem;
    margin-top: -1.75rem;
    margin-bottom: -1.75rem;
  }

  .pkg-trust-card .home-trust-card__media {
    max-width: 8.75rem;
    max-height: 8.75rem;
  }
}

/* ═══════════════════════════════════════════
   DESCRIPTION — full-width card below trust strip
   package-desc-improve — visible chrome (was bare text = “invisible container”)
   package-align-desc — same width as .pkg-stack / stage pair
   ═══════════════════════════════════════════ */
.pkg-desc {
  position: relative;
  z-index: 1;
  display: block;
  visibility: visible;
  opacity: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--pkg-radius);
  border: 1px solid hsl(var(--primary) / 0.26);
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, hsl(var(--primary) / 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 96% 100%, rgba(245, 197, 66, 0.06), transparent 50%),
    linear-gradient(165deg, rgb(12 20 34 / 0.98) 0%, rgb(5 11 20 / 0.995) 100%);
  box-shadow:
    0 12px 28px rgb(0 0 0 / 0.3),
    inset 0 1px 0 rgb(255 255 255 / 0.04);
  overflow: visible;
  animation: pkg-strip-in 0.55s var(--pkg-ease) 0.14s both;
}

.pkg-desc__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
}

.pkg-desc__title {
  margin: 0;
  font-family: Kanit, Geist, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f8ff;
  text-shadow: none;
}

.pkg-desc #package-description,
.pkg-desc .centralcart-content {
  display: block;
  width: 100%;
  max-width: 72ch;
  margin: 0;
  font-size: 0.965rem;
  line-height: 1.78;
  color: rgb(var(--foreground) / 0.84);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pkg-desc #package-description:empty::before,
.pkg-desc #package-description.pkg-desc__body--empty::before {
  content: "Nenhuma descrição disponível para este pacote.";
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
  color: rgb(var(--foreground) / 0.45);
}

.pkg-desc #package-description p,
.pkg-desc .centralcart-content p {
  margin: 0 0 0.9em;
}

.pkg-desc #package-description p:last-child,
.pkg-desc .centralcart-content p:last-child {
  margin-bottom: 0;
}

.pkg-desc #package-description h1,
.pkg-desc #package-description h2,
.pkg-desc #package-description h3,
.pkg-desc #package-description h4,
.pkg-desc .centralcart-content h1,
.pkg-desc .centralcart-content h2,
.pkg-desc .centralcart-content h3,
.pkg-desc .centralcart-content h4 {
  margin: 1.1em 0 0.45em;
  font-family: Kanit, Geist, sans-serif;
  font-weight: 750;
  line-height: 1.3;
  color: #f4f8ff;
}

.pkg-desc #package-description h1:first-child,
.pkg-desc #package-description h2:first-child,
.pkg-desc #package-description h3:first-child,
.pkg-desc #package-description h4:first-child,
.pkg-desc .centralcart-content h1:first-child,
.pkg-desc .centralcart-content h2:first-child,
.pkg-desc .centralcart-content h3:first-child,
.pkg-desc .centralcart-content h4:first-child {
  margin-top: 0;
}

.pkg-desc #package-description ul,
.pkg-desc #package-description ol,
.pkg-desc .centralcart-content ul,
.pkg-desc .centralcart-content ol {
  margin: 0 0 0.95em;
  padding-left: 1.25rem;
}

.pkg-desc #package-description li,
.pkg-desc .centralcart-content li {
  margin: 0.3em 0;
  padding-left: 0.15rem;
}

.pkg-desc #package-description ul {
  list-style: disc;
}

.pkg-desc #package-description ol {
  list-style: decimal;
}

.pkg-desc #package-description a,
.pkg-desc .centralcart-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.18s ease;
}

.pkg-desc #package-description a:hover,
.pkg-desc .centralcart-content a:hover {
  color: var(--pkg-gold);
}

.pkg-desc #package-description img,
.pkg-desc .centralcart-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 0.9rem 0;
  border: 1px solid hsl(var(--primary) / 0.18);
  background: rgb(6 12 20 / 0.6);
}

.pkg-desc #package-description iframe,
.pkg-desc .centralcart-content iframe {
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.18);
}

.pkg-desc #package-description blockquote,
.pkg-desc .centralcart-content blockquote {
  margin: 0.9em 0;
  padding: 0.65rem 0.9rem;
  border-left: 3px solid hsl(var(--primary) / 0.55);
  border-radius: 0 0.55rem 0.55rem 0;
  background: hsl(var(--primary) / 0.08);
  color: rgb(var(--foreground) / 0.78);
}

.pkg-desc #package-description strong,
.pkg-desc .centralcart-content strong {
  color: #f4f8ff;
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   DESKTOP — media ~58% | sidebar ~42% (equal height)
   package-align-desc / package-equal-height —
   banner defines row height; rail fills same top+bottom;
   CTAs + Ver avaliações pinned to bottom via margin-top: auto
   ═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .pkg-page {
    padding-top: 2.35rem;
    padding-bottom: 1.75rem;
  }

  .pkg-cta__reviews {
    min-height: 2.85rem;
    padding: 0.6rem 0.95rem;
    order: 2;
  }

  .pkg-stage__actions .pkg-cta {
    order: 1;
  }

  .pkg-stack {
    gap: 1.35rem;
  }

  .pkg-stage {
    grid-template-columns: minmax(0, 1.45fr) minmax(16.5rem, 1fr);
    gap: 1rem;
    align-items: stretch;
    min-height: 0;
  }

  .pkg-stage__media {
    display: block;
    align-self: start;
    min-height: 0;
    height: auto;
    width: 100%;
  }

  .pkg-stage__gallery {
    display: block;
    width: 100%;
  }

  .pkg-stage__slider,
  .pkg-stage__img,
  .pkg-stage__media > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 18rem;
    max-height: 34rem;
    object-fit: cover;
  }

  .pkg-stage__gallery #package-gallery-thumbs {
    margin-top: 0;
  }

  /* height:0 + min-height:100% — rail does not inflate the row; matches media */
  .pkg-stage__rail {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    height: 0;
    min-height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.95rem 1rem 1rem;
    box-sizing: border-box;
  }

  /* Compact internal rhythm so content fits matched height */
  .pkg-stage__head {
    margin-bottom: 0.65rem;
  }

  .pkg-stage__thumb {
    width: 3.25rem;
    height: 4.2rem;
  }

  .pkg-stage__meta {
    margin-top: 0.35rem;
  }

  .pkg-stage__rail #variation-list {
    margin-bottom: 0.65rem;
  }

  .pkg-stage__rail #variation-list > button {
    min-height: 3.15rem;
    padding: 0.55rem 0.75rem;
  }

  .pkg-select {
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.7rem;
  }

  .pkg-stage__price-block {
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .pkg-stage__price {
    font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  }

  .pkg-stage__pix {
    margin-top: 0.3rem;
  }

  .pkg-stage__title {
    font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  }

  /* Content top — actions cluster to bottom of equal-height card */
  .pkg-stage__rail > .pkg-stage__actions {
    margin-top: auto;
    gap: 0.5rem;
    flex-shrink: 0;
    padding-top: 0.35rem;
  }

  .pkg-cta__cart,
  .pkg-cta__buy,
  .pkg-cta #purchase-button {
    min-height: 2.95rem;
  }

  .pkg-cta__cart {
    width: 2.95rem;
    min-width: 2.95rem;
  }

  .pkg-desc {
    margin-top: 0.45rem;
    padding: 1.25rem 1.35rem 1.4rem;
  }

  .pkg-desc #package-description,
  .pkg-desc .centralcart-content {
    max-width: 75ch;
    font-size: 1rem;
  }

  .robux-step-nav {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .pkg-stage {
    grid-template-columns: minmax(0, 1.55fr) minmax(17.5rem, 0.95fr);
    gap: 1.1rem;
    align-items: stretch;
    min-height: 0;
  }

  .pkg-stage__slider,
  .pkg-stage__img,
  .pkg-stage__media > img {
    aspect-ratio: 16 / 10;
    min-height: 20rem;
    max-height: 36rem;
  }

  .pkg-stage__rail {
    padding: 1.05rem 1.15rem 1.1rem;
  }

  .pkg-stage__title {
    font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  }
}

/* ═══════════════════════════════════════════
   MOBILE — buy in flow (no sticky bar) + desc near buy
   package-mobile-buy-fix
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {
  .pkg-page {
    padding-top: 1.85rem;
    padding-bottom: 0.75rem;
  }

  /* Only bottom-nav clearance — no sticky buy bar */
  body:has(.kb-bottom-nav):has(.pkg-page) {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }

  .pkg-page > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  .pkg-stack {
    gap: 0.95rem;
  }

  .pkg-stage {
    gap: 0.85rem;
  }

  .pkg-stage__media {
    max-height: min(48vw, 15rem);
    min-height: 11rem;
  }

  .pkg-stage__img,
  .pkg-stage__slider,
  .pkg-stage__media > img {
    max-height: min(48vw, 15rem);
    min-height: 11rem;
    object-fit: cover;
  }

  .pkg-stage__gallery #package-gallery-thumbs {
    padding: 0 0.7rem 0.7rem;
  }

  .pkg-stage__rail {
    height: fit-content;
    min-height: 0;
    max-height: none;
    overflow: visible;
    align-self: start;
    padding: 0.95rem 0.95rem 1.05rem;
  }

  .pkg-stage__head {
    gap: 0.65rem;
    margin-bottom: 0.7rem;
  }

  .pkg-stage__thumb {
    width: 2.75rem;
    height: 3.55rem;
  }

  .pkg-stage__title {
    font-size: clamp(1.05rem, 4.2vw, 1.22rem);
  }

  .pkg-stage__meta {
    margin-top: 0.35rem;
    gap: 0.3rem;
  }

  .pkg-select {
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    padding: 0.5rem 0.7rem;
    min-height: 2.75rem;
  }

  .pkg-select__thumb {
    display: none;
  }

  .pkg-select__name {
    display: none;
  }

  .pkg-select__label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(var(--foreground) / 0.7);
  }

  .pkg-stage__price-block {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .pkg-stage__price {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .pkg-stage__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
  }

  .pkg-cta-spacer {
    display: none !important;
  }

  /* Buy stays in document flow — full width, reliable tap target */
  .pkg-page .pkg-cta {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    border-radius: 0;
    border: 0;
    box-sizing: border-box;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    box-shadow: none;
    transform: none;
    animation: none;
  }

  .pkg-page .pkg-cta__cart {
    display: none;
  }

  .pkg-page .pkg-cta #purchase-button,
  .pkg-page .pkg-cta__buy {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.15rem;
    height: auto;
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 0.85rem;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    color: #041018 !important;
    opacity: 1;
    visibility: visible;
  }

  .pkg-cta__reviews {
    order: 0;
    position: relative;
    z-index: 1;
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    white-space: normal;
    margin: 0;
  }

  .pkg-desc {
    width: 100%;
    margin-top: 0;
    order: unset;
    padding: 1rem 0.95rem 1.1rem;
    box-sizing: border-box;
  }

  .pkg-desc #package-description,
  .pkg-desc .centralcart-content {
    max-width: 100%;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pkg-trust-strip {
    padding-top: 0.15rem;
  }

  .robux-step-nav {
    display: grid;
    grid-template-columns: minmax(6.75rem, 7.5rem) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: stretch;
  }

  .robux-step-nav .btn-outline,
  .robux-step-nav .btn-primary {
    min-height: 2.85rem;
    width: 100%;
  }

  .robux-flow {
    padding-bottom: 1rem;
  }

  .robux-flow [data-robux-step] .btn-primary,
  .robux-flow [data-robux-step] > button.btn-primary {
    min-height: 2.85rem;
  }
}

/* ── Robux step feedback (system intact) ── */
.robux-flow .robux-steps {
  position: relative;
  gap: 0.35rem;
}

.robux-flow .robux-step {
  position: relative;
  transition: color 0.2s ease;
}

.robux-flow .robux-step span {
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s var(--pkg-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.robux-flow .robux-step[data-active='true'] span {
  transform: scale(1.08);
}

.robux-flow .robux-step[data-complete='true'] {
  color: hsl(var(--primary) / 0.9);
}

.robux-flow .robux-step[data-complete='true'] span {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.18);
  color: hsl(var(--primary));
  box-shadow: 0 0 12px hsl(var(--primary) / 0.2);
}

.robux-flow .robux-panel,
.robux-flow .robux-price-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.robux-flow .btn-primary {
  min-height: 3rem;
  cursor: pointer;
  transition:
    transform 0.2s var(--pkg-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.robux-flow .btn-primary:hover:not(:disabled),
.robux-flow .btn-primary:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  outline: none;
}

.robux-flow .btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.robux-flow .btn-outline {
  min-height: 3rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .pkg-page *,
  .robux-flow .robux-step span,
  .robux-flow .btn-primary,
  .robux-flow .btn-outline {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation: none !important;
  }

  .pkg-stage,
  .pkg-desc,
  .pkg-trust-strip {
    opacity: 1;
    transform: none;
  }

  .pkg-trust-strip .home-trust-card,
  .pkg-trust-strip .home-trust-card.is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .pkg-cta__buy:hover:not(:disabled),
  .pkg-cta #purchase-button:hover:not(:disabled),
  .pkg-cta__cart:hover:not(:disabled),
  .pkg-cta__reviews:hover,
  .robux-flow .btn-primary:hover:not(:disabled) {
    transform: none;
  }

  .pkg-stage__price {
    text-shadow: none;
  }
}

/* ── similares-center ── */
.pkg-feedbacks-mount {
  width: 100%;
}

.pkg-feedbacks-mount .home-feedbacks {
  padding-top: 1.75rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .pkg-feedbacks-mount .home-feedbacks {
    padding-top: 2.15rem;
    padding-bottom: 1.85rem;
  }
}

/* Package page + few reviews: compact, no empty marquee track / glow void */
.pkg-feedbacks-mount .home-feedbacks:has(.home-feedbacks-carousel.is-fitting) {
  padding-top: 1.15rem;
  padding-bottom: 0.85rem;
}

.pkg-feedbacks-mount .home-feedbacks:has(.home-feedbacks-carousel.is-fitting)::before {
  display: none;
}

.pkg-feedbacks-mount .home-feedbacks-carousel.is-fitting .home-feedbacks-track {
  padding: 0.85rem 0.5rem 0.35rem !important;
  justify-content: center !important;
}

.pkg-feedbacks-mount .home-feedbacks-carousel.is-fitting .home-feedback-card {
  margin-top: 1.15rem;
}

@media (min-width: 640px) {
  .pkg-feedbacks-mount .home-feedbacks:has(.home-feedbacks-carousel.is-fitting) {
    padding-top: 1.35rem;
    padding-bottom: 1rem;
  }
}

.pkg-similares-howto {
  padding-bottom: 0.85rem;
}

@media (min-width: 640px) {
  .pkg-similares-howto {
    padding-bottom: 1.1rem;
  }
}

.pkg-similares-mount {
  width: 100%;
}

.similar-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.15rem;
  padding-bottom: 0.25rem;
}

.similar-products__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  width: 100%;
  max-width: min(100%, 28rem);
  margin: 0 auto 0.35rem;
  padding: 0 0.75rem;
}

@media (min-width: 640px) {
  .similar-products__head {
    margin-bottom: 0.45rem;
    gap: 0.42rem;
  }
}

.similar-products__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #f4f8ff;
  text-align: center;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.similar-products__rule {
  display: block;
  width: clamp(3.25rem, 40%, 6.5rem);
  height: 1.5px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--primary) / 0.15) 12%,
    hsl(var(--primary) / 0.85) 50%,
    hsl(var(--primary) / 0.15) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 10px -1px hsl(var(--primary) / 0.45),
    0 0 18px -4px hsl(var(--primary) / 0.35);
}

.similar-products .category-carousel-strip {
  width: 100%;
  max-width: 100%;
  margin-top: 0.15rem;
  margin-inline: 0;
  justify-content: center;
}

.similar-products .category-carousel-strip.has-overflow .package-list,
.similar-products .kb-coverflow-shell.has-overflow .package-list {
  --kb-similar-peek: max(2.75rem, calc((100% - min(18rem, 82vw)) / 2));
  justify-content: flex-start;
  scroll-padding-inline: var(--kb-similar-peek);
  padding-inline: var(--kb-similar-peek);
}

@media (min-width: 640px) {
  .similar-products .category-carousel-strip.has-overflow .package-list,
  .similar-products .kb-coverflow-shell.has-overflow .package-list {
    --kb-similar-peek: max(3rem, calc((100% - min(19.5rem, 39.5vw)) / 2));
  }
}

@media (min-width: 1024px) {
  .similar-products .category-carousel-strip.has-overflow .package-list,
  .similar-products .kb-coverflow-shell.has-overflow .package-list {
    --kb-similar-peek: max(3.25rem, calc((100% - min(21rem, 26vw)) / 2));
  }
}

.similar-products .category-carousel-strip.is-fitting .package-list,
.similar-products .kb-coverflow-shell.is-fitting .package-list {
  justify-content: center !important;
}

.similar-products .popular-categories-nav--prev {
  margin-inline-end: 0.1rem;
}

.similar-products .popular-categories-nav--next {
  margin-inline-start: 0.1rem;
}

@media (max-width: 767px) {
  .similar-products .category-carousel-strip .popular-categories-nav--prev {
    left: 0.2rem;
  }

  .similar-products .category-carousel-strip .popular-categories-nav--next {
    right: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .similar-products__title {
    text-shadow: none;
  }
}
