.category-heading {
  position: relative;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 8px 2px 20px;
  margin-bottom: 32px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-heading::before {
  content: "";
  align-self: stretch;
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe17a, #d39b24);
  box-shadow: 0 0 18px rgba(244, 195, 77, 0.25);
}

.category-heading::after {
  display: none;
}

.category-heading > div,
.category-heading > span {
  position: relative;
  z-index: 1;
}

.category-heading > div > p {
  margin: 0 0 4px;
  color: #9c9ca3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-heading > div > h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.category-heading > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #a7a7ad;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.category-heading > span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(244, 195, 77, 0.45);
}

.group-title {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  margin: 0 0 16px !important;
  padding: 0 0 12px 15px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  color: #f4f4f5 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em;
  text-align: left;
}

.group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: 21px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe17a, #d39b24);
  box-shadow: 0 0 14px rgba(244, 195, 77, 0.28);
}

.group-title span {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  margin-left: auto;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 8px;
  color: #0a0a0b !important;
  background: linear-gradient(145deg, #f9cf5c, #c88d1d) !important;
  font-size: 11px;
  font-weight: 900;
}

.product-name {
  font-weight: 850 !important;
  letter-spacing: -0.015em;
}

.price-line strong {
  font-weight: 1000 !important;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 0.32px currentColor;
  text-shadow: 0 0.3px currentColor;
}

.detail-price {
  font-weight: 1000 !important;
  -webkit-text-stroke: 0.36px currentColor;
  text-shadow: 0 0.3px currentColor;
}

.old-price s,
.detail-old-price s {
  color: #ef4444 !important;
  font-weight: 750 !important;
  text-decoration-color: #ef4444 !important;
  text-decoration-thickness: 2px;
}

.old-price s,
.price-line small {
  font-weight: 650;
}

.old-price span,
.buy-button {
  font-weight: 900 !important;
}

.tiktok-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #35343c;
  border-radius: 14px;
  background: linear-gradient(#1a1a1f, #121216);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tiktok-button img {
  width: 23px;
  height: 23px;
}

.tiktok-button:hover,
.tiktok-button:focus-visible {
  border-color: #f2c857;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(242, 200, 87, 0.16);
}

/* Cards ligeiramente mais compactos, sem alterar a proporção das artes. */
.product-card {
  width: calc(100% - 4px);
  justify-self: center;
}

.product-body {
  padding: 14px 14px 13px;
}

.product-name {
  min-height: 40px;
  margin-bottom: 8px;
}

.buy-button {
  min-height: 48px;
  margin-top: 12px;
}

@media (max-width: 540px) {
  .category-heading {
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 11px;
    padding: 4px 0 16px;
    margin-bottom: 27px;
  }

  .category-heading > div > h1 {
    font-size: 21px;
    line-height: 1.08;
  }

  .category-heading > span {
    grid-column: 2;
    font-size: 10px;
  }

  .group-title {
    min-height: 34px;
    margin-bottom: 12px !important;
    padding: 0 0 10px 13px !important;
    font-size: 13px !important;
  }

  .group-title::before {
    height: 18px;
  }

  .group-title span {
    min-width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .product-name {
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.18;
  }

  .price-line strong {
    font-size: 19px !important;
  }

  .old-price span {
    font-size: 9px !important;
  }

  .buy-button {
    font-size: 12px;
  }

  .tiktok-button {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 12px;
  }

  .product-card {
    width: calc(100% - 2px);
  }

  .product-body {
    padding: 9px;
  }

  .product-name {
    min-height: 34px;
    margin-bottom: 6px;
  }

  .buy-button {
    min-height: 40px;
    margin-top: 10px;
  }
}

/* Contas Especiais e etapa Pix */
#grupo-contas-especiais {
  position: relative;
  margin: 10px 0 70px;
  padding: 28px;
  border: 1px solid rgba(244, 195, 77, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 195, 77, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(25, 21, 12, 0.92), rgba(8, 8, 9, 0.94));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

#grupo-contas-especiais::before {
  content: "SELEÇÃO PREMIUM";
  display: inline-flex;
  margin-bottom: 15px;
  color: #f6cf68;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.22em;
}

#grupo-contas-especiais .group-title {
  color: #fff6dc !important;
}

#grupo-contas-especiais .product-card {
  border-color: #645020;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(250, 201, 68, 0.05);
}

.checkout-helper {
  margin: -5px 16px 14px;
  color: #9d9aa1;
  font-size: 12px;
  line-height: 1.55;
}

.payment-option.active {
  background: linear-gradient(145deg, rgba(42, 33, 12, 0.72), #111114);
  box-shadow: inset 0 0 0 1px rgba(255, 227, 131, 0.08), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pay-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.checkout-error {
  color: #ffb5b5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}

.pix-result-page {
  max-width: 780px;
}

.pix-result-card {
  text-align: center;
  border: 1px solid #4c3d18;
  border-radius: 26px;
  padding: clamp(24px, 5vw, 44px);
  background:
    radial-gradient(circle at 50% 0, rgba(244, 195, 77, 0.16), transparent 38%),
    linear-gradient(145deg, #15130e, #0b0b0d 70%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.pix-success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pix-success-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pix-result-card h1 {
  margin: 0 0 10px;
  font-size: clamp(25px, 5vw, 36px);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pix-result-card > p {
  max-width: 530px;
  margin: 0 auto 24px;
  color: #aaa7a0;
  line-height: 1.6;
}

.pix-qr {
  width: min(310px, 86vw);
  margin: 0 auto 22px;
  padding: 13px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.pix-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  text-align: left;
  background: #080809;
  border: 1px solid #3a3527;
  border-radius: 14px;
  padding: 10px;
}

.pix-copy-box code {
  align-self: center;
  min-width: 0;
  max-height: 58px;
  padding: 4px;
  color: #d6d2c8;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
  overflow: auto;
}

.pix-copy-box button {
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #090909;
  background: linear-gradient(145deg, #ffda68, #dca62b);
  font-weight: 900;
}

.pix-order-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding: 16px 4px;
  border-top: 1px solid #302d25;
  color: #aaa7a0;
  font-size: 13px;
}

.pix-order-meta strong {
  color: #f6c94d;
  font-size: 16px;
}

.pix-status-note {
  margin-bottom: 0 !important;
  font-size: 12px;
}

@media (max-width: 820px) {
  #grupo-contas-especiais {
    padding: 18px 14px;
    border-radius: 22px;
  }
}

@media (max-width: 540px) {
  #grupo-contas-especiais {
    margin-bottom: 44px;
    padding: 14px 8px 18px;
  }

  #grupo-contas-especiais::before {
    margin-left: 7px;
  }

  .pix-copy-box {
    grid-template-columns: 1fr;
  }

  .pix-copy-box button {
    min-height: 46px;
  }

  .pix-order-meta {
    flex-direction: column;
  }
}
