.category-icon-new::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 34%, 98% 34%, 68% 54%, 79% 90%, 50% 68%, 21% 90%, 32% 54%, 2% 34%, 38% 34%);
  box-shadow: 0 0 18px rgba(189, 239, 255, 0.42);
}

.category-icon-new::after {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.46;
}

.category-card,
.category-wheel-center {
  overflow: visible;
}

.category-card {
  --card-transform: translate(-50%, -50%) rotate(calc(var(--angle) - 90deg)) translate(var(--wheel-radius)) rotate(calc(var(--reverse-angle) + 90deg)) !important;
}

.category-wheel-center {
  width: min(36vw, 230px);
  padding: 1.15rem;
  place-items: center;
  align-content: center;
  border-color: rgba(247, 251, 255, 0.5);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, rgba(247, 251, 255, 0.24), transparent 30%),
    radial-gradient(circle at 50% 62%, rgba(159, 228, 255, 0.18), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(162, 119, 255, 0.24), rgba(18, 26, 43, 0.94) 62%, rgba(7, 12, 22, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -12px 32px rgba(7, 12, 22, 0.38),
    0 0 0 1px rgba(159, 228, 255, 0.22),
    0 0 42px rgba(159, 228, 255, 0.24),
    0 0 72px rgba(162, 119, 255, 0.18),
    0 24px 54px rgba(0, 0, 0, 0.38);
}

.category-wheel-center::before {
  inset: -10%;
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, rgba(159, 228, 255, 0.08), rgba(247, 251, 255, 0.38), rgba(162, 119, 255, 0.2), rgba(159, 228, 255, 0.08));
  opacity: 0.72;
  filter: blur(2px);
  z-index: -1;
}

.category-wheel-center::after {
  top: 8%;
  left: 8%;
  width: 84%;
  height: 84%;
  border: 1px solid rgba(247, 251, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 6%, rgba(247, 251, 255, 0.44), transparent 6%),
    radial-gradient(circle at 85% 50%, rgba(159, 228, 255, 0.34), transparent 5%),
    radial-gradient(circle at 50% 94%, rgba(162, 119, 255, 0.32), transparent 6%),
    radial-gradient(circle at 15% 50%, rgba(159, 228, 255, 0.3), transparent 5%);
  pointer-events: none;
  z-index: 0;
}

.category-center-backpack {
  display: none;
}

.category-center-orb {
  position: relative;
  z-index: 2;
  width: clamp(34px, 6vw, 48px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, #f8fbff 0 10%, #bdefff 11% 26%, rgba(162, 119, 255, 0.72) 48%, rgba(7, 12, 22, 0.92) 74%);
  box-shadow:
    inset 0 -8px 16px rgba(7, 12, 22, 0.36),
    0 0 20px rgba(159, 228, 255, 0.38),
    0 0 34px rgba(162, 119, 255, 0.28);
}

.category-center-orb::before,
.category-center-orb::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(247, 251, 255, 0.46);
  border-radius: 50%;
  inset: 20%;
}

.category-center-orb::before {
  transform: rotate(28deg) scaleX(1.85);
}

.category-center-orb::after {
  transform: rotate(-34deg) scaleX(1.72);
  opacity: 0.68;
}

.category-wheel-title {
  position: relative;
  z-index: 2;
  margin: 0.34rem 0 0;
  padding: 0;
  color: #f8fbff;
  font-size: clamp(1.72rem, 4vw, 2.35rem);
  line-height: 0.9;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(81, 62, 132, 0.5),
    0 0 18px rgba(159, 228, 255, 0.38),
    0 0 28px rgba(162, 119, 255, 0.26);
}

.category-wheel-center small {
  position: relative;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  width: auto;
  margin-top: 0.42rem;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  background: rgba(5, 10, 20, 0.54);
  color: #dcefff;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(247, 251, 255, 0.08);
}

.category-card .category-emblem,
.category-card .category-title,
.category-card .category-description,
.category-card .category-count {
  position: relative;
  z-index: 2;
}

.category-card .category-spark {
  z-index: 0;
  opacity: 0.42;
}

.category-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  background: rgba(5, 10, 20, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 14px rgba(159, 228, 255, 0.1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.category-card[data-category="new"] {
  z-index: 5;
  transform: var(--card-transform) scale(1.08);
  border-color: rgba(247, 251, 255, 0.52);
  background:
    radial-gradient(circle at 50% 14%, rgba(247, 251, 255, 0.28), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(162, 119, 255, 0.25), transparent 40%),
    linear-gradient(145deg, rgba(31, 43, 67, 0.96), rgba(10, 15, 28, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(159, 228, 255, 0.18),
    0 0 28px rgba(159, 228, 255, 0.24),
    0 0 46px rgba(162, 119, 255, 0.24),
    0 22px 42px rgba(0, 0, 0, 0.32);
}

.category-card[data-category="new"]::after {
  inset: -7px;
  border: 1px solid rgba(247, 251, 255, 0.28);
  border-radius: 28px;
  box-shadow:
    0 0 22px rgba(159, 228, 255, 0.32),
    0 0 34px rgba(162, 119, 255, 0.22);
}

.category-card[data-category="new"]::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 251, 255, 0.38), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(162, 119, 255, 0.22), transparent 30%);
}

.category-card[data-category="new"] .category-emblem {
  color: #f8fbff;
  filter:
    drop-shadow(0 0 10px rgba(247, 251, 255, 0.52))
    drop-shadow(0 0 18px rgba(162, 119, 255, 0.38));
}

.category-card[data-category="new"] .category-title {
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(247, 251, 255, 0.2), rgba(162, 119, 255, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(247, 251, 255, 0.18),
    0 0 18px rgba(159, 228, 255, 0.22);
}

.category-card[data-category="new"] .category-count {
  background: linear-gradient(135deg, #f8fbff, #cfdcff 48%, #a277ff);
  color: #07101c;
  box-shadow: 0 0 16px rgba(162, 119, 255, 0.32);
}

@media (prefers-reduced-motion: no-preference) {
  .category-card[data-category="new"] {
    animation:
      newArrivalLift 5.6s ease-in-out infinite,
      newArrivalPulse 2.8s ease-in-out infinite;
  }

  .category-wheel-center {
    animation: centerPortalBreathe 4.6s ease-in-out infinite;
  }

  .category-center-orb {
    animation: centerOrbSpin 7s linear infinite;
  }

  .category-card[data-category="new"] .category-icon-new::before {
    animation: newArrivalTwinkle 1.8s ease-in-out infinite;
  }
}

@keyframes newArrivalLift {
  0%,
  100% {
    transform: var(--card-transform) scale(1.08) translateY(0);
  }

  50% {
    transform: var(--card-transform) scale(1.12) translateY(-4px);
  }
}

@keyframes centerPortalBreathe {
  0%,
  100% {
    transform: var(--card-transform) scale(1);
  }

  50% {
    transform: var(--card-transform) scale(1.035);
  }
}

@keyframes centerOrbSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes newArrivalPulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 1px rgba(159, 228, 255, 0.18),
      0 0 28px rgba(159, 228, 255, 0.24),
      0 0 46px rgba(162, 119, 255, 0.24),
      0 22px 42px rgba(0, 0, 0, 0.32);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 1px rgba(247, 251, 255, 0.3),
      0 0 36px rgba(159, 228, 255, 0.38),
      0 0 62px rgba(162, 119, 255, 0.36),
      0 24px 46px rgba(0, 0, 0, 0.34);
  }
}

@keyframes newArrivalTwinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }

  50% {
    transform: scale(1.16) rotate(7deg);
    opacity: 1;
  }
}

@media (min-width: 769px) {
  .category-showcase {
    --wheel-size: min(94vw, 860px);
    --wheel-radius: calc(var(--wheel-size) * 0.405);
    margin-top: 1.4rem;
  }

  .category-card {
    width: clamp(152px, 18vw, 190px);
    min-height: 132px;
    padding: 0.95rem 0.75rem;
  }

  .category-description {
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

@media (max-width: 768px) {
  .category-showcase {
    --wheel-size: min(96vw, 580px) !important;
    --wheel-radius: calc(var(--wheel-size) * 0.42) !important;
    margin-top: 0.8rem !important;
  }

  .category-wheel-center {
    --card-transform: translate(-50%, -50%) !important;
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    display: grid !important;
    width: clamp(128px, 35vw, 164px) !important;
    min-height: 0 !important;
    aspect-ratio: 1 !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-content: center !important;
    padding: 0.74rem !important;
    transform: var(--card-transform) !important;
    border-radius: 50% !important;
    text-align: center !important;
  }

  .category-wheel-center:hover,
  .category-wheel-center:focus-visible {
    transform: var(--card-transform) scale(1.045) !important;
  }

  .category-center-orb {
    width: clamp(26px, 7vw, 36px) !important;
  }

  .category-wheel-title {
    margin-top: 0.24rem !important;
    font-size: clamp(1.3rem, 6.4vw, 1.78rem) !important;
    line-height: 0.88 !important;
  }

  .category-wheel-center small {
    justify-self: center !important;
    margin-top: 0.3rem !important;
    padding: 0.14rem 0.42rem !important;
    font-size: clamp(0.48rem, 2vw, 0.62rem) !important;
    line-height: 1.05 !important;
  }

  .category-card {
    width: clamp(88px, 25vw, 128px) !important;
    min-height: clamp(82px, 22vw, 112px) !important;
    padding: 0.48rem 0.32rem !important;
  }

  .category-card[data-category="new"] {
    transform: var(--card-transform) scale(1.07) !important;
  }

  .category-card:hover,
  .category-card:focus-visible {
    transform: var(--card-transform) scale(1.08) !important;
  }

  .category-emblem {
    margin-bottom: 0.12rem !important;
    transform: scale(0.72) !important;
  }

  .category-title {
    font-size: clamp(0.58rem, 2.4vw, 0.76rem) !important;
    line-height: 1.05 !important;
    padding: 0.1rem 0.24rem !important;
  }

  .category-count {
    font-size: 0.56rem !important;
    padding: 0.02rem 0.26rem !important;
  }
}

.product-card {
  position: relative;
}

.product-new-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  border: 1px solid rgba(232, 240, 255, 0.24);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: linear-gradient(135deg, rgba(247, 251, 255, 0.94), rgba(162, 119, 255, 0.84));
  color: #07101c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.inventory-review-page {
  min-height: calc(100vh - 78px);
}

.review-tool-header {
  max-width: 900px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.review-tool-header h1 {
  color: #f7fbff;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  text-shadow:
    0 2px 0 rgba(116, 104, 154, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(162, 119, 255, 0.2);
}

.review-tool-header p {
  max-width: 720px;
  margin: 0.8rem auto 0;
  color: #bed0e4;
  font-size: clamp(0.98rem, 3vw, 1.18rem);
}

.inventory-review-toolbar,
.inventory-review-summary,
.inventory-issue-card {
  border: 1px solid rgba(232, 240, 255, 0.16);
  background:
    radial-gradient(circle at 14% 12%, rgba(237, 244, 255, 0.08), transparent 34%),
    radial-gradient(circle at 88% 90%, rgba(162, 119, 255, 0.08), transparent 36%),
    linear-gradient(145deg, rgba(25, 36, 55, 0.88), rgba(10, 15, 26, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.24);
}

.inventory-review-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
  margin: 0 auto 1rem;
  max-width: 980px;
  border-radius: 16px;
  padding: 1rem;
}

.inventory-review-toolbar label {
  display: grid;
  gap: 0.35rem;
  color: #abc6da;
  font-size: 0.82rem;
  font-weight: 800;
}

.inventory-review-toolbar input,
.inventory-review-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(232, 240, 255, 0.18);
  border-radius: 12px;
  padding: 0.68rem 0.8rem;
  background: rgba(7, 12, 22, 0.86);
  color: #eef8ff;
  font: inherit;
}

.inventory-review-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
  max-width: 980px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  padding: 1rem;
}

.inventory-review-stat {
  display: grid;
  gap: 0.1rem;
  text-align: center;
}

.inventory-review-stat strong {
  color: #f7fbff;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
}

.inventory-review-stat span {
  color: #bed0e4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inventory-issue-list {
  display: grid;
  gap: 0.9rem;
  max-width: 980px;
  margin: 0 auto;
}

.inventory-issue-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: 16px;
  padding: 0.9rem;
}

.inventory-issue-image {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(7, 12, 22, 0.7);
  color: #bed0e4;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.inventory-issue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-issue-copy {
  min-width: 0;
}

.inventory-issue-copy h2 {
  margin: 0 0 0.4rem;
  color: #f7fbff;
  font-size: 1rem;
  line-height: 1.25;
}

.inventory-issue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.inventory-issue-tags span {
  border: 1px solid rgba(232, 240, 255, 0.14);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  background: rgba(162, 119, 255, 0.12);
  color: #eef4ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.inventory-issue-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(135deg, #f8fbff 0%, #d7e4ff 24%, #a277ff 62%, #9fe4ff 100%);
  color: #07101c;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.inventory-empty-state {
  max-width: 720px;
  margin: 1.5rem auto 0;
  border: 1px solid rgba(232, 240, 255, 0.16);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(18, 25, 39, 0.76);
  color: #bed0e4;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 768px) {
  .inventory-review-toolbar,
  .inventory-review-summary,
  .inventory-issue-card {
    grid-template-columns: 1fr;
  }

  .inventory-issue-image {
    width: 100%;
    max-width: 220px;
    justify-self: center;
  }

  .inventory-issue-card a {
    width: 100%;
  }
}
