.ppanel {
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.ppanel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ppanel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.625rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ppanel__badge svg {
  width: 0.8125rem;
  height: 0.8125rem;
}

.ppanel__viewers {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgb(var(--muted-foreground));
  white-space: nowrap;
}

.ppanel__viewers::before {
  content: '';
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: ppanel-pulse 1.8s ease-out infinite;
}

.ppanel__title {
  margin: 0.875rem 0 0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.ppanel__field {
  margin-top: 1.125rem;
}

.ppanel__label {
  display: block;
  margin-bottom: 0.4375rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
}

.ppanel__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9375rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.ppanel__select-wrap {
  position: relative;
}

.ppanel__select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.875rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ppanel__select {
  width: 100%;
  height: 2.75rem;
  padding: 0 2.25rem 0 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgb(var(--muted-solid));
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ppanel__select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.45);
}

/* ---------- preço ---------- */

.ppanel__compare {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1;
  color: rgb(var(--muted-foreground));
  text-decoration: line-through;
}

.ppanel__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-top: 0.375rem;
}

.ppanel__price {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.ppanel__off {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #4ade80;
  white-space: nowrap;
}

.ppanel__pix {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: rgb(var(--muted-foreground));
}

/* ---------- botões ---------- */

.ppanel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.125rem;
}

.ppanel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.875rem;
  border: 0;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.ppanel__btn svg {
  width: 1.0625rem;
  height: 1.0625rem;
}

.ppanel__btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.ppanel__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ppanel__btn--light {
  background: #f7f7f8;
  color: #0b0b0d;
}

.ppanel__btn--primary {
  background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--primary) / 0.82));
  color: #ffffff;
  box-shadow: 0 6px 18px hsl(var(--primary) / 0.25);
}

.ppanel__btn--points {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0.08));
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.ppanel__btn--points.is-short {
  opacity: 0.72;
}

.ppanel__pts-cost {
  margin-left: 0.15rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.16);
  font-size: 0.7rem;
  font-weight: 800;
}

.ppanel__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(var(--muted-foreground));
  text-decoration: none;
}

.ppanel__more:hover {
  color: #7eb6ff;
}

.ppanel__more svg {
  width: 0.8rem;
  height: 0.8rem;
}

/* ---------- rodapé do painel ---------- */

.ppanel__facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.875rem;
  margin-top: 1.125rem;
  padding: 0.6875rem 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.ppanel__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #e6e8ee;
  white-space: nowrap;
}

.ppanel__fact svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #4ade80;
}

.ppanel__steam {
  color: #cfd4dd;
}

@keyframes ppanel-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pkg-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "gallery"
    "buy"
    "details";
}

.pkg-layout__gallery { grid-area: gallery; }
.pkg-layout__buy { grid-area: buy; }
.pkg-layout__details { grid-area: details; }

@media (min-width: 768px) {
  .pkg-layout {
    grid-template-columns: minmax(0, 2.5fr) minmax(16rem, 1fr);
    grid-template-areas:
      "gallery buy"
      "details buy";
    align-items: start;
  }

  .pkg-layout__buy {
    position: sticky;
    top: 6rem;
  }
}
