.product-card {
  position: relative;
}

.product-sold-badge {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 5;
  min-width: 116px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  padding: 0.2rem 0.75rem;
  background: rgba(7, 12, 22, 0.78);
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-10deg);
  box-shadow:
    0 0 0 2px rgba(255, 79, 128, 0.42),
    0 0 22px rgba(255, 79, 128, 0.36),
    0 12px 28px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.product-card.is-sold {
  opacity: 0.82;
}

.product-card.is-sold .product-new-badge {
  display: none;
}

.product-card.is-sold .product-image {
  position: relative;
  filter: saturate(0.55) contrast(0.9);
}

.product-card.is-sold .product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 13, 24, 0.2), rgba(8, 13, 24, 0.58)),
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 10px);
  pointer-events: none;
}

.product-card.is-sold .price {
  color: #b7c8d8;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.product-card.is-sold .product-cta {
  background: linear-gradient(135deg, #dbe5ef, #8797aa);
  color: #07101c;
}

.load-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: clamp(1.4rem, 4vw, 2.35rem) auto 0;
  padding: 0.3rem 0 0.15rem;
}

.load-more-button {
  position: relative;
  isolation: isolate;
  min-width: min(100%, 340px);
  min-height: 56px;
  border: 1px solid rgba(247, 251, 255, 0.7);
  border-radius: 999px;
  padding: 0.86rem 1.45rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.88), transparent 20%),
    radial-gradient(circle at 84% 88%, rgba(162, 119, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #cde9ff 24%, #a277ff 62%, #8de8ff 100%);
  color: #07101c;
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  font-weight: 1000;
  letter-spacing: 0.015em;
  text-align: center;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(159, 228, 255, 0.22),
    0 0 26px rgba(159, 228, 255, 0.34),
    0 0 44px rgba(162, 119, 255, 0.26),
    0 18px 38px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.load-more-button::before,
.load-more-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.load-more-button::before {
  inset: -42% -18%;
  z-index: -1;
  background: conic-gradient(from 90deg, transparent, rgba(255, 255, 255, 0.72), transparent, rgba(162, 119, 255, 0.36), transparent);
  opacity: 0.42;
}

.load-more-button::after {
  inset: 7px 15px auto auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    -34px 18px 0 -2px rgba(255, 255, 255, 0.82),
    -76px 2px 0 -3px rgba(159, 228, 255, 0.9),
    -115px 24px 0 -3px rgba(162, 119, 255, 0.75);
  opacity: 0.92;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(247, 251, 255, 0.34),
    0 0 34px rgba(159, 228, 255, 0.5),
    0 0 68px rgba(162, 119, 255, 0.38),
    0 22px 44px rgba(0, 0, 0, 0.34);
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  .load-more-button::before {
    animation: loadMoreShimmer 5s linear infinite;
  }
}

@keyframes loadMoreShimmer {
  to { transform: rotate(1turn); }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .categories-page .container {
    width: min(92%, 100vw - 24px);
  }

  .category-showcase {
    --wheel-size: min(86vw, 500px) !important;
    --wheel-radius: calc(var(--wheel-size) * 0.34) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  .category-card {
    width: clamp(72px, 21vw, 96px) !important;
    min-height: clamp(68px, 19vw, 88px) !important;
    padding: 0.42rem 0.28rem !important;
  }

  .category-title {
    font-size: clamp(0.6rem, 2.45vw, 0.76rem) !important;
    line-height: 1.08 !important;
  }

  .category-count {
    min-width: 1.8em !important;
    margin-left: 0.08rem !important;
    padding: 0.04rem 0.28rem !important;
    font-size: 0.55rem !important;
  }

  .load-more-wrap {
    margin-top: 1.25rem;
  }

  .load-more-button {
    width: min(100%, 310px);
    min-height: 54px;
    padding: 0.78rem 1rem;
    font-size: 0.92rem;
  }
}
