.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;
  }
}
