:root {
  --eg-bg: #07070a;
  --eg-bg-soft: #0d0d12;
  --eg-card: rgba(255, 255, 255, 0.045);
  --eg-card-strong: rgba(255, 255, 255, 0.06);
  --eg-card-soft: rgba(255, 255, 255, 0.035);
  --eg-border: rgba(168, 155, 255, 0.14);
  --eg-border-strong: rgba(168, 155, 255, 0.26);
  --eg-accent: #6d5df6;
  --eg-accent-strong: #4b3fd6;
  --eg-accent-soft: #a89bff;
  --eg-text: #f4f1ff;
  --eg-muted: #a7a0b8;
  --eg-muted-strong: #dcd8ea;
  --eg-green: #75f0a0;
  --eg-green-bg: rgba(34, 197, 94, 0.16);
  --eg-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --eg-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.22);
  --eg-shadow-glow: 0 0 34px rgba(109, 93, 246, 0.14);
  --eg-radius-xl: 32px;
  --eg-radius-lg: 26px;
  --eg-radius-md: 20px;
  --eg-radius-sm: 16px;
  --eg-pill: 999px;
  --eg-transition: 0.22s ease;
  --eg-container: 1432px;
}

.eg-catalog-wrap,
.eg-catalog-wrap *,
.eg-catalog-wrap *::before,
.eg-catalog-wrap *::after {
  box-sizing: border-box;
}

.eg-catalog-wrap {
  position: relative;
  padding: 0 0 110px;
  background:
    radial-gradient(circle at 18% 14%, rgba(109, 93, 246, 0.13), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(168, 155, 255, 0.09), transparent 30%),
    radial-gradient(circle at 62% 72%, rgba(109, 93, 246, 0.08), transparent 38%),
    #07070a;
  color: var(--eg-text);
  overflow-x: hidden;
  isolation: isolate;
}

.catalog-page {
  padding-top: 0;
  margin-top: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.main__body > main:has(.catalog-page),
body.main__body > main:has(.catalog-page) > section.main,
body.main__body > main:has(.catalog-page) > section.main > .container,
body.main__body > main:has(.catalog-page) .catalog-page {
  margin-top: 0;
  padding-top: 0;
}

body.main__body > main:has(.catalog-page) > section.main {
  padding-top: 0;
  padding-bottom: 0;
}

body.main__body > main:has(.catalog-page) .eg-header {
  top: 0;
  margin-top: 0;
}

.eg-catalog-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(109, 93, 246, 0.08), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(168, 155, 255, 0.06), transparent 30%);
  pointer-events: none;
  z-index: -1;
}

.catalog-hero,
.catalog-layout {
  width: min(100% - 40px, var(--eg-container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.catalog-hero {
  margin-top: clamp(24px, 3vw, 40px);
  padding: 36px;
  border-radius: var(--eg-radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  background-image:
    radial-gradient(circle at 88% 6%, rgba(139, 92, 246, 0.32), transparent 38%),
    radial-gradient(circle at 82% 28%, rgba(139, 92, 246, 0.22), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(201, 184, 255, 0.09), transparent 32%),
    linear-gradient(135deg, rgba(22, 18, 38, 0.96), rgba(9, 7, 19, 0.98)),
    conic-gradient(from 220deg at 50% 50%, rgba(168, 155, 255, 0.48), rgba(109, 93, 246, 0.2) 30%, rgba(168, 155, 255, 0.4) 55%, rgba(109, 93, 246, 0.22) 75%, rgba(168, 155, 255, 0.48));
  background-origin: border-box;
  background-clip: padding-box, padding-box, padding-box, padding-box, border-box;
  border: 1px solid transparent;
  box-shadow:
    var(--eg-shadow),
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 -40px 80px rgba(0, 0, 0, 0.35) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

@property --eg-hero-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--eg-hero-border-angle, 0deg),
    rgba(139, 92, 246, 0.1),
    rgba(201, 184, 255, 0.48),
    rgba(139, 92, 246, 0.18),
    rgba(201, 184, 255, 0.08),
    rgba(139, 92, 246, 0.1)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.56;
  animation: egHeroBorderOrbit 9s linear infinite;
  pointer-events: none;
}

@keyframes egHeroBorderOrbit {
  to {
    --eg-hero-border-angle: 360deg;
  }
}


.catalog-hero__left,
.catalog-hero__right {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.catalog-hero__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.catalog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eg-muted);
  font-size: 13px;
}

.catalog-breadcrumb a {
  color: var(--eg-accent-soft);
  text-decoration: none;
  transition: color var(--eg-transition);
}

.catalog-breadcrumb a:hover,
.catalog-breadcrumb a:focus-visible {
  color: var(--eg-text);
}

.catalog-eyebrow,
.catalog-promo-card__eyebrow,
.catalog-filters__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: var(--eg-pill);
  border: 1px solid rgba(168, 155, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--eg-accent-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--eg-text);
  max-width: 640px;
  text-shadow:
    0 0 22px rgba(201, 184, 255, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.28);
}

.catalog-hero h1 .accent {
  color: var(--eg-accent-soft);
  text-shadow:
    0 0 18px rgba(139, 92, 246, 0.32),
    0 8px 30px rgba(0, 0, 0, 0.28);
}

.catalog-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--eg-muted);
  line-height: 1.58;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--eg-transition),
    border-color var(--eg-transition),
    background var(--eg-transition),
    box-shadow var(--eg-transition),
    color var(--eg-transition);
}

.catalog-button:hover,
.catalog-button:focus-visible {
  transform: translateY(-2px);
}

.catalog-button--primary {
  background: linear-gradient(135deg, var(--eg-accent-strong), var(--eg-accent));
  border-color: rgba(168, 155, 255, 0.35);
  color: #fff;
  box-shadow:
    0 14px 38px rgba(109, 93, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.catalog-button--primary:hover,
.catalog-button--primary:focus-visible {
  color: #fff;
  box-shadow:
    0 18px 50px rgba(109, 93, 246, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.catalog-button--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--eg-border);
  color: var(--eg-text);
}

.catalog-button--secondary:hover,
.catalog-button--secondary:focus-visible {
  color: var(--eg-text);
  border-color: var(--eg-border-strong);
  background: rgba(109, 93, 246, 0.08);
}

.catalog-hero__status {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.12);
  color: var(--eg-muted);
}

.catalog-hero__status strong {
  color: var(--eg-text);
  font-size: 15px;
}

.catalog-hero__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--eg-green);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
  flex: 0 0 auto;
}

@property --eg-promo-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.catalog-promo-card {
  position: relative;
  width: min(100%, 420px);
  padding: 26px 26px 22px;
  border-radius: var(--eg-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background:
    radial-gradient(circle at 92% 4%, rgba(168, 85, 247, 0.3), transparent 40%),
    radial-gradient(circle at 90% 8%, rgba(109, 93, 246, 0.26), transparent 46%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025) 60%);
  border: 1px solid rgba(168, 155, 255, 0.22);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  overflow: hidden;
  isolation: isolate;
}

.catalog-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--eg-promo-border-angle, 0deg),
    rgba(139, 92, 246, 0.06),
    rgba(201, 184, 255, 0.38),
    rgba(139, 92, 246, 0.18),
    rgba(201, 184, 255, 0.06),
    rgba(139, 92, 246, 0.06)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.48;
  pointer-events: none;
  animation: egPromoBorderOrbit 8.5s linear infinite;
}

@keyframes egPromoBorderOrbit {
  to {
    --eg-promo-border-angle: 360deg;
  }
}

.catalog-promo-card__glow {
  display: none;
  pointer-events: none;
}

.catalog-promo-card__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 18px;
}

.catalog-promo-card__copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.catalog-promo-card__eyebrow {
  min-height: 28px;
  width: fit-content;
  max-width: max-content;
  padding: 0 12px;
  justify-self: start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.catalog-promo-card h3 {
  margin: 8px 0 0;
  color: var(--eg-text);
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.catalog-promo-card p {
  margin: 0;
  max-width: 320px;
  color: var(--eg-muted);
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.discount-badge {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  flex: 0 0 auto;
  isolation: isolate;
  animation: egDiscountBadgeBreath 4.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes egDiscountBadgeBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

.discount-badge::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    rgba(201, 184, 255, 0) 0deg,
    rgba(201, 184, 255, 0.08) 52deg,
    rgba(139, 92, 246, 0.62) 105deg,
    rgba(201, 184, 255, 0.18) 145deg,
    rgba(139, 92, 246, 0) 180deg,
    rgba(201, 184, 255, 0) 205deg,
    rgba(201, 184, 255, 0.08) 232deg,
    rgba(139, 92, 246, 0.62) 285deg,
    rgba(201, 184, 255, 0.18) 325deg,
    rgba(201, 184, 255, 0) 360deg
  );
  filter: blur(8px);
  animation: egDiscountOrbit 4.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity, filter;
  z-index: -1;
  opacity: 0.62;
  pointer-events: none;
}

.discount-badge::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: rgba(139, 92, 246, 0.16);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

@keyframes egDiscountOrbit {
  0% {
    transform: rotate(0deg) scale(0.96);
    opacity: 0.48;
    filter: blur(8px);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
    opacity: 0.82;
    filter: blur(10px);
  }
  100% {
    transform: rotate(360deg) scale(0.96);
    opacity: 0.48;
    filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .discount-badge,
  .discount-badge::before,
  .catalog-promo-card::before {
    animation: none !important;
  }
}

.discount-badge__value {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6d5df6, #a855f7);
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow:
    0 18px 44px rgba(139, 92, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.catalog-trust-strip {
  width: min(100% - 40px, var(--eg-container));
  margin: 18px auto 0;
  padding: 16px 30px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 93, 246, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 155, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: default;
}

.catalog-trust-strip,
.catalog-trust-strip * {
  user-select: none;
  -webkit-user-select: none;
}

.catalog-trust-strip__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 26px;
  border-radius: 14px;
  color: var(--eg-muted-strong);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: color var(--eg-transition), background var(--eg-transition);
}

.catalog-trust-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.catalog-trust-strip__item:hover {
  color: var(--eg-text);
  background: rgba(109, 93, 246, 0.08);
}

.catalog-trust-strip__item:hover .catalog-trust-strip__icon {
  border-color: rgba(168, 155, 255, 0.32);
  box-shadow: 0 0 18px rgba(109, 93, 246, 0.3);
  color: #fff;
}

.catalog-trust-strip__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(109, 93, 246, 0.14);
  border: 1px solid rgba(168, 155, 255, 0.18);
  color: var(--eg-accent-soft);
  transition: border-color var(--eg-transition), box-shadow var(--eg-transition), color var(--eg-transition);
}

.catalog-trust-strip__icon svg {
  width: 15px;
  height: 15px;
}

.catalog-quick-tabs {
  display: none;
}

.catalog-tab {
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 155, 255, 0.11);
  color: var(--eg-muted-strong);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform var(--eg-transition),
    border-color var(--eg-transition),
    background var(--eg-transition),
    box-shadow var(--eg-transition),
    color var(--eg-transition);
}

.catalog-tab:hover,
.catalog-tab:focus-visible,
.catalog-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(168, 155, 255, 0.28);
  background: rgba(109, 93, 246, 0.11);
  color: var(--eg-text);
  box-shadow: var(--eg-shadow-glow);
}

.catalog-tab__icon,
.catalog-search__icon,
.catalog-tab__icon--heart {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 93, 246, 0.12);
  border: 1px solid rgba(168, 155, 255, 0.16);
  box-shadow: inset 0 0 20px rgba(109, 93, 246, 0.08);
  flex: 0 0 auto;
}

.catalog-tab__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.catalog-tab__icon--heart svg,
.catalog-search__icon svg {
  width: 18px;
  height: 18px;
}

.catalog-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: 92px;
  width: 100%;
  padding: 24px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(109, 93, 246, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.13);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.catalog-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-filters__head h2,
.catalog-filters__title {
  margin: 0 0 20px;
  color: var(--eg-text);
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.catalog-filters__toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--eg-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--eg-text);
  font-weight: 700;
}

.catalog-filters__body {
  display: block;
  margin-top: 0;
}

.catalog-filter-group {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.catalog-filter-group:first-of-type {
  margin-top: 0;
}

.catalog-filter-group__label {
  color: var(--eg-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-filters .catalog-filter-list,
.catalog-filters .catalog-filter-list--compact,
.catalog-filters .catalog-filter-list--games,
.catalog-filters .catalog-filter-list--formats {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.catalog-filters .catalog-filter-chip {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(168, 155, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--eg-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    transform var(--eg-transition),
    background var(--eg-transition),
    border-color var(--eg-transition),
    color var(--eg-transition),
    box-shadow var(--eg-transition);
}

.catalog-filter-chip__main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.catalog-filter-chip__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-filter-chip__icon img,
.catalog-filter-chip__icon svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.catalog-filter-chip__icon--fallback {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(109, 93, 246, 0.12);
  border: 1px solid rgba(168, 155, 255, 0.16);
}

.catalog-filter-chip__fallback-icon {
  color: var(--eg-accent-soft);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.catalog-filter-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.status-dot--online {
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.42);
}

.status-dot--neutral {
  border: 2px solid rgba(255, 255, 255, 0.52);
}

.status-dot--offline {
  border: 2px solid rgba(255, 255, 255, 0.36);
  opacity: 0.75;
}

.catalog-filter-chip__count {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #cfc8e8;
  flex: 0 0 auto;
}

.catalog-filters .catalog-filter-chip:hover,
.catalog-filters .catalog-filter-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(109, 93, 246, 0.12);
  border-color: rgba(168, 155, 255, 0.22);
}

.catalog-filters .catalog-filter-chip.is-active,
.catalog-filters .catalog-filter-chip.is-link-active,
.catalog-filters .catalog-filter-chip.active {
  background: linear-gradient(135deg, rgba(109, 93, 246, 0.32), rgba(168, 155, 255, 0.16));
  border-color: rgba(168, 155, 255, 0.4);
  box-shadow:
    0 0 26px rgba(109, 93, 246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f4f1ff;
}

.catalog-filters .catalog-filter-chip.is-active .catalog-filter-chip__count,
.catalog-filters .catalog-filter-chip.is-link-active .catalog-filter-chip__count,
.catalog-filters .catalog-filter-chip.active .catalog-filter-chip__count {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f1ff;
}

.catalog-price-filter {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-price-filter input[type="range"] {
  width: 100%;
  appearance: none;
  background: transparent;
}

.catalog-price-filter input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-price-filter input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, var(--eg-accent-strong), var(--eg-accent));
  box-shadow: 0 0 18px rgba(109, 93, 246, 0.28);
}

.catalog-price-filter input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-price-filter input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, var(--eg-accent-strong), var(--eg-accent));
  box-shadow: 0 0 18px rgba(109, 93, 246, 0.28);
}

.catalog-price-filter__meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f4f1ff;
  font-size: 13px;
  font-weight: 900;
}

.catalog-price-filter__meta span {
  color: var(--eg-muted);
  font-weight: 700;
}

.catalog-price-filter__amount,
.catalog-price-filter__meta strong {
  color: var(--eg-text);
  font-size: 26px;
  font-weight: 900;
}

.catalog-reset-button {
  margin-top: 26px;
  min-height: 58px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(168, 155, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #f4f1ff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(109, 93, 246, 0.12);
  transition:
    transform var(--eg-transition),
    border-color var(--eg-transition),
    background var(--eg-transition);
}

.catalog-reset-button:hover,
.catalog-reset-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(168, 155, 255, 0.28);
  background: rgba(109, 93, 246, 0.12);
}

.catalog-content {
  min-width: 0;
  width: 100%;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.16);
  color: var(--eg-text);
  list-style: none;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-search-wrap {
  position: relative;
  display: block;
}

.catalog-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.catalog-search {
  width: 100%;
  height: 56px;
  padding: 0 18px 0 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.12);
  color: var(--eg-text);
  font-size: 14px;
  outline: none;
  color-scheme: dark;
  transition: border-color var(--eg-transition), box-shadow var(--eg-transition), background var(--eg-transition);
}

.catalog-search::placeholder {
  color: var(--eg-muted);
}

.catalog-search:hover,
.catalog-sort select:hover {
  border-color: rgba(168, 155, 255, 0.2);
}

.catalog-search:focus,
.catalog-sort select:focus {
  border-color: rgba(168, 155, 255, 0.34);
  background: rgba(109, 93, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(109, 93, 246, 0.14);
}

.catalog-sort {
  min-width: 0;
}

.catalog-sort .woocommerce-ordering {
  float: none;
  margin: 0;
}

.catalog-sort select,
.catalog-sort .orderby {
  width: 100%;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.12);
  color: var(--eg-text);
  padding: 0 40px 0 18px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a89bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  transition: border-color var(--eg-transition), box-shadow var(--eg-transition), background-color var(--eg-transition);
}

.catalog-results {
  color: var(--eg-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.catalog-results strong {
  color: var(--eg-text);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.product-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(109, 93, 246, 0.1), transparent 38%),
    rgba(18, 17, 29, 0.58);
  border: 1px solid rgba(168, 155, 255, 0.16);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.012) 34%,
      rgba(109, 93, 246, 0.05) 100%
    );
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 155, 255, 0.34);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.4),
    0 0 46px rgba(109, 93, 246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 80% 12%, rgba(109, 93, 246, 0.16), transparent 38%),
    rgba(18, 17, 29, 0.64);
}

@media (hover: none) {
  .product-card:hover {
    transform: none;
  }
}

.product-card[data-status="online"] {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(52, 211, 153, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.product-card[data-status="online"]:hover {
  border-color: rgba(52, 211, 153, 0.52);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(52, 211, 153, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card[hidden] {
  display: none;
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.03);
}

.product-card__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.03);
}

.product-card__image::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -80px;
  z-index: 1;
  width: 70%;
  height: 150px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(109, 93, 246, 0.18), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.product-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(5, 5, 8, 0.32), transparent 16%),
    linear-gradient(
      to bottom,
      rgba(18, 17, 29, 0) 42%,
      rgba(18, 17, 29, 0.08) 58%,
      rgba(18, 17, 29, 0.24) 72%,
      rgba(18, 17, 29, 0.52) 86%,
      rgba(18, 17, 29, 0.94) 100%
    ),
    radial-gradient(circle at 82% 18%, rgba(109, 93, 246, 0.1), transparent 34%);
  pointer-events: none;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(109, 93, 246, 0.18), rgba(255, 255, 255, 0.04));
  color: var(--eg-text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-card__badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-card__badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge,
.badge-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--eg-pill);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.status-online {
  color: var(--eg-green);
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.32);
}

.status-offline {
  color: #b8b3c7;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.badge-pill {
  border: 1px solid rgba(168, 155, 255, 0.2);
  background: rgba(10, 10, 18, 0.54);
  color: var(--eg-muted-strong);
}

.badge-pill--new {
  border-color: rgba(168, 155, 255, 0.22);
  color: var(--eg-accent-soft);
}

.badge-pill--top {
  border-color: rgba(245, 158, 11, 0.28);
  color: #f5c94d;
}

.favorite-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 10, 0.42);
  color: #f4f1ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.favorite-button svg {
  width: 18px;
  height: 18px;
  fill: transparent;
  transition:
    fill var(--eg-transition),
    stroke var(--eg-transition);
}

.favorite-button:hover,
.favorite-button:focus-visible {
  border-color: rgba(168, 155, 255, 0.4);
  background: rgba(109, 93, 246, 0.16);
  color: var(--eg-accent-soft);
  box-shadow: 0 0 28px rgba(109, 93, 246, 0.26);
}

.favorite-button.is-active,
.favorite-button.active,
.favorite-button.favorited,
.favorite-button[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(168, 155, 255, 0.5);
  background: linear-gradient(135deg, var(--eg-accent-strong), var(--eg-accent));
  box-shadow: 0 0 32px rgba(109, 93, 246, 0.36);
}

.favorite-button.is-active svg,
.favorite-button.active svg,
.favorite-button.favorited svg,
.favorite-button[aria-pressed="true"] svg,
.favorite-button.is-active path,
.favorite-button.active path,
.favorite-button.favorited path,
.favorite-button[aria-pressed="true"] path {
  fill: currentColor;
  stroke: currentColor;
}

.catalog-tab.is-active .catalog-tab__icon--heart {
  transform: translateY(-1px);
  border-color: rgba(236, 72, 153, 0.34);
  background: rgba(236, 72, 153, 0.14);
  color: #ff8ebf;
}

.product-card__body {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding: 39px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(18, 17, 29, 0.6) 0%,
      rgba(18, 17, 29, 0.85) 28%,
      rgba(18, 17, 29, 0.94) 100%
    );
  box-shadow: inset 0 6px 10px -6px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.product-card__name-wrap {
  min-width: 0;
  max-width: 100%;
}

.product-card__name {
  margin: 0;
  color: var(--eg-text);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.product-card__name .badge-pill {
  min-height: 21px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  flex: 0 0 auto;
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__status-copy {
  margin: 4px 0 0;
  color: var(--eg-muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.product-card__chips {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.game-chip,
.format-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: var(--eg-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(168, 155, 255, 0.12);
  color: #dcd8ea;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  transition:
    background 0.22s ease,
    border-color 0.22s ease;
}

.game-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.game-chip:hover,
.format-chip:hover {
  background: rgba(109, 93, 246, 0.1);
  border-color: rgba(168, 155, 255, 0.22);
}

.game-chip--fallback {
  background: rgba(109, 93, 246, 0.08);
}

.game-chip__fallback-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 93, 246, 0.14);
  border: 1px solid rgba(168, 155, 255, 0.18);
  color: var(--eg-accent-soft);
  font-size: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}

.product-card__chip {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--eg-pill);
  border: 1px solid rgba(168, 155, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--eg-muted-strong);
  font-size: 12px;
  line-height: 1.35;
}

.product-card__chip--game {
  background: rgba(255, 255, 255, 0.05);
}

.product-card__chip--format {
  background: rgba(109, 93, 246, 0.12);
  border-color: rgba(168, 155, 255, 0.18);
}

.product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 4px;
  margin-top: auto;
  min-width: 0;
  max-width: 100%;
}

.product-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.product-card__price strong {
  color: var(--eg-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(168, 155, 255, 0.22);
}

.product-card__price small {
  display: block;
  color: var(--eg-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  float: none;
  text-align: left;
}

.product-card__reviews {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--eg-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__reviews--empty {
  opacity: 0.55;
}

.product-card__reviews--empty .review-star {
  color: var(--eg-muted);
}

.product-card__reviews--empty .review-count {
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.review-star {
  color: #facc15;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* ── Kaya local-demo rating badge ── */
.catalog-card-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 112, .22);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 214, 112, .12), transparent 58%),
    rgba(20, 18, 32, .68);
  box-shadow:
    0 0 18px rgba(255, 214, 112, .10),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: none !important;
}

.catalog-card-rating-score {
  color: #fff7d6;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.catalog-card-rating-star {
  color: #ffd45f;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 212, 95, .34);
}

.catalog-card-rating-separator {
  color: rgba(230, 222, 255, .36);
  font-weight: 800;
  font-size: 12px;
}

.catalog-card-rating-count {
  color: rgba(230, 222, 255, .76);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}

.product-card__cta,
.product-card__ghost,
.product-card__quick {
  width: 100%;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.product-card__cta {
  min-height: 50px;
  background: linear-gradient(135deg, var(--eg-accent-strong) 0%, var(--eg-accent) 60%, #8a7bff 100%);
  color: #fff;
  box-shadow:
    0 16px 42px rgba(109, 93, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-card__cta:hover,
.product-card__cta:focus-visible,
.product-card__quick:hover,
.product-card__quick:focus-visible,
.product-card__ghost:hover,
.product-card__ghost:focus-visible {
  transform: translateY(-2px);
}

.product-card__cta:hover,
.product-card__cta:focus-visible {
  color: #fff;
  box-shadow:
    0 20px 54px rgba(109, 93, 246, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-card__ghost,
.product-card__quick {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--eg-muted-strong);
}

.product-card__quick {
  gap: 10px;
}

.product-card__quick::after {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--eg-accent-soft), #a855f7);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2 3 14h7v8l10-12h-7V2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13 2 3 14h7v8l10-12h-7V2Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}

.product-card__ghost:hover,
.product-card__ghost:focus-visible,
.product-card__quick:hover,
.product-card__quick:focus-visible {
  background: rgba(109, 93, 246, 0.1);
  border-color: rgba(168, 155, 255, 0.2);
  color: var(--eg-text);
}

.catalog-empty {
  margin-top: 10px;
  padding: 44px 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 93, 246, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 155, 255, 0.13);
  text-align: center;
  color: var(--eg-muted);
}

.catalog-empty h3 {
  margin: 0 0 10px;
  color: var(--eg-text);
  font-size: 26px;
}

.catalog-empty p {
  margin: 0 auto 24px;
  max-width: 460px;
  line-height: 1.55;
}

.catalog-empty__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.catalog-empty__actions .catalog-button {
  min-width: 200px;
}

nav.woocommerce-pagination {
  margin-top: clamp(22px, 3vw, 34px);
}

nav.woocommerce-pagination ul.page-numbers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
}

nav.woocommerce-pagination a,
nav.woocommerce-pagination span {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(168, 155, 255, 0.11);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--eg-muted-strong);
  font-size: 18px;
  font-weight: 700;
  transition:
    border-color var(--eg-transition),
    background var(--eg-transition),
    box-shadow var(--eg-transition),
    color var(--eg-transition);
}

nav.woocommerce-pagination a:hover,
nav.woocommerce-pagination a:focus-visible {
  border-color: rgba(168, 155, 255, 0.26);
  background: rgba(109, 93, 246, 0.11);
  color: var(--eg-text);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.34),
    0 10px 30px rgba(139, 92, 246, 0.18);
}

nav.woocommerce-pagination .current {
  background: linear-gradient(135deg, var(--eg-accent-strong), var(--eg-accent));
  color: #fff;
}

.eg-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eg-modal[hidden] {
  display: none;
}

.eg-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.eg-modal__box {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 16, 0.92);
  border: 1px solid rgba(168, 155, 255, 0.18);
  border-radius: 28px;
  padding: 34px;
  width: min(100% - 32px, 440px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.eg-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--eg-muted);
  font-size: 28px;
  line-height: 1;
}

.eg-modal__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--eg-text);
}

.eg-modal__desc,
.eg-modal__note {
  color: var(--eg-muted);
  line-height: 1.5;
}

.eg-modal__desc {
  margin: 0 0 20px;
}

.eg-modal__note {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.eg-modal__body {
  display: grid;
  gap: 16px;
}

.eg-modal__avatar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 155, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
}

.eg-modal__avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(168, 155, 255, 0.35);
  flex: 0 0 auto;
}

.eg-modal__avatar-wrap strong {
  display: block;
  color: var(--eg-text);
  margin-bottom: 4px;
}

.eg-modal__loading,
.eg-modal__success {
  padding: 26px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.eg-modal__loading[hidden],
.eg-modal__success[hidden] {
  display: none;
}

.eg-modal__success {
  color: var(--eg-green);
  font-weight: 700;
}

.eg-modal__success-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-size: 28px;
}

.eg-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(168, 155, 255, 0.18);
  border-top-color: var(--eg-accent);
  animation: eg-spin 0.8s linear infinite;
}

@keyframes eg-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: relative;
    top: auto;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .catalog-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .catalog-filters__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .catalog-filters:not(.is-open) .catalog-filters__body {
    display: none;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .catalog-hero,
  .catalog-layout,
  .catalog-trust-strip {
    width: calc(100% - 24px);
  }

  .catalog-trust-strip {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .catalog-hero {
    padding: 24px 20px;
  }

  .catalog-hero__actions {
    flex-direction: column;
  }

  .catalog-hero__actions .catalog-button {
    width: 100%;
  }

  .catalog-promo-card {
    width: 100%;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-card__price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card__actions {
    grid-template-columns: 1fr;
  }

  .product-card__name {
    font-size: 20px;
  }

  .product-card__price strong {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero h1 {
    font-size: 36px;
  }

  .catalog-filters__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-promo-card {
    padding: 20px;
  }

  .discount-badge {
    width: 70px;
    height: 70px;
  }

  .discount-badge__value {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-catalog-wrap *,
  .eg-catalog-wrap *::before,
  .eg-catalog-wrap *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Auth Gate ───────────────────────────────────────────────── */

html.has-catalog-auth-gate,
body.has-catalog-auth-gate {
  overflow: hidden;
}

.catalog-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 32%, rgba(124, 92, 255, 0.16), transparent 38%),
    radial-gradient(circle at 78% 60%, rgba(76, 52, 168, 0.12), transparent 42%),
    rgba(5, 4, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
}

.catalog-auth-gate__card {
  width: min(640px, 100%);
  border-radius: 36px;
  border: 1px solid rgba(184, 168, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.22), transparent 44%),
    radial-gradient(circle at 88% 22%, rgba(184, 168, 255, 0.10), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(12, 10, 24, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(124, 92, 255, 0.16);
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
}

.catalog-auth-gate__icon {
  display: block;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
}

.catalog-auth-gate__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-auth-gate__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 168, 255, 0.24);
  background: rgba(124, 92, 255, 0.12);
  color: rgba(205, 194, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-auth-gate__card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.15;
}

.catalog-auth-gate__card > p {
  margin: 0 0 4px;
  color: rgba(236, 232, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

/* Bonus block */
.catalog-auth-gate__bonus {
  margin: 22px auto 18px;
  width: min(360px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 214, 112, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 112, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(24, 18, 34, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 34px rgba(255, 214, 112, 0.10);
  padding: 18px 20px;
}

.catalog-auth-gate__bonus-value {
  display: block;
  font-size: clamp(38px, 6vw, 56px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffd76a;
  text-shadow: 0 0 24px rgba(255, 215, 106, 0.22);
}

.catalog-auth-gate__bonus-label {
  display: block;
  margin-top: 8px;
  color: rgba(246, 242, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.catalog-auth-gate__bonus-note {
  display: block;
  margin-top: 5px;
  color: rgba(205, 194, 255, 0.48);
  font-size: 12px;
}

.catalog-auth-gate__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 22px 0 24px;
  text-align: left;
}

.catalog-auth-gate__benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(184, 168, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(15, 12, 28, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.catalog-auth-gate__benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(205, 194, 255, 0.95);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.28), transparent 62%),
    rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(184, 168, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-weight: 900;
  font-size: 16px;
}

.catalog-auth-gate__benefit strong {
  display: block;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.catalog-auth-gate__benefit span:not(.catalog-auth-gate__benefit-icon) {
  display: block;
  margin-top: 4px;
  color: rgba(214, 205, 245, 0.66);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .catalog-auth-gate__benefit {
    grid-template-columns: 38px 1fr;
    padding: 11px 12px;
  }

  .catalog-auth-gate__benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
}

.catalog-auth-gate__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.catalog-auth-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
}

.catalog-auth-gate__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.catalog-auth-gate__btn--primary {
  background: linear-gradient(135deg, #7c5cff, #5840ba);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.42);
}

.catalog-auth-gate__btn--primary:hover {
  box-shadow: 0 14px 36px rgba(124, 92, 255, 0.56);
}

.catalog-auth-gate__btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 168, 255, 0.22);
  color: rgba(205, 194, 255, 0.80);
  font-size: 14px;
}

.catalog-auth-gate__note {
  display: block;
  color: rgba(205, 194, 255, 0.40);
  font-size: 12px;
}

/* Locked catalog content behind gate */
.eg-catalog-wrap.is-auth-locked .catalog-lockable-content {
  filter: blur(9px);
  opacity: 0.36;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 480px) {
  .catalog-auth-gate__card {
    border-radius: 28px;
  }

  .catalog-auth-gate__btn {
    font-size: 14px;
    min-height: 48px;
  }
}
