/* VCHGAME Catalog Page */
:root {
  --vch-bg: #050608;
  --vch-bg-soft: #090b10;
  --vch-panel: rgba(14, 17, 24, .92);
  --vch-panel-2: rgba(24, 25, 28, .92);
  --vch-border: rgba(255, 255, 255, .10);
  --vch-border-gold: rgba(255, 191, 0, .55);
  --vch-text: #f4f7fb;
  --vch-muted: rgba(244, 247, 251, .66);
  --vch-muted-2: rgba(244, 247, 251, .44);
  --vch-gold: #ffc400;
  --vch-gold-2: #ff9f1a;
  --vch-green: #46ff3f;
  --vch-purple: #b36cff;
  --vch-red: #ff3d5a;
  --vch-radius: 16px;
  --vch-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

body {
  color: var(--vch-text);
}

.vch-catalog-page {
  min-height: 100vh;
  padding: 32px 18px 80px;
}

.vch-catalog-hero {
  max-width: 1280px;
  margin: 0 auto 36px;
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 620px) 1fr;
  gap: 22px;
  align-items: center;
}

.vch-hero-title-wrap {
  text-align: center;
  position: relative;
}

.vch-kicker {
    /* display: inline-flex; */
    padding: 6px 12px;
    margin-bottom: 14px;
    /* border: 1px solid rgb(255 199 13 / 28%); */
    border-radius: 999px;
    /* color: var(--vch-gold); */
    /* background: rgba(255, 196, 0, .07); */
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: capitalize;
}

.vch-hero-title-wrap h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.03em;
  text-shadow: 0 0 30px rgba(255, 196, 0, .42);
}

.vch-hero-title-wrap p {
  margin: 14px auto 0;
  color: var(--vch-muted);
  max-width: 620px;
  line-height: 1.7;
}

.vch-hero-lines {
  min-height: 68px;
  opacity: .8;
}

.vch-hero-lines-left {
  transform: scaleX(-1);
}

.vch-catalog-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  align-items: start;
}

.vch-filter-panel {
  position: sticky;
  top: 88px;
  min-height: 560px;
  padding: 20px 16px;
  border: 1px solid var(--vch-border);
  border-radius: var(--vch-radius);
  box-shadow: var(--vch-shadow);
}

.vch-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vch-filter-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vch-filter-heading strong {
  font-size: 18px;
  text-transform: uppercase;
}

.vch-filter-icon {
  color: var(--vch-gold);
  line-height: 1;
}

.vch-filter-mobile-close {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--vch-border);
  border-radius: 10px;
  color: var(--vch-text);
  background: rgba(255, 255, 255, .06);
}

.vch-result-count {
  margin-bottom: 18px;
  color: var(--vch-muted);
  font-size: 14px;
}

.vch-filter-group {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.vch-filter-toggle {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  color: var(--vch-text);
  background: rgba(255, 255, 255, .045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.vch-filter-toggle span {
  color: #ffffff;
}

.vch-filter-toggle i {
  color: var(--vch-gold);
  font-style: normal;
  transition: transform .18s ease;
}

.vch-filter-group.is-open .vch-filter-toggle i {
  transform: rotate(180deg);
}

.vch-filter-content {
  display: none;
  padding: 14px;
}

.vch-filter-group.is-open .vch-filter-content {
  display: block;
}

.vch-filter-search {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--vch-text);
  background: rgba(0, 0, 0, .22);
}

.vch-filter-search:focus {
  outline: none;
  border-color: var(--vch-border-gold);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, .12);
}

.vch-check-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--vch-text);
  cursor: pointer;
}

.vch-check-row:last-child {
  border-bottom: 0;
}

.vch-check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--vch-gold);
}

.vch-check-row span {
  font-size: 14px;
  color: rgba(244, 247, 251, .88);
}

.vch-check-row em {
  font-style: normal;
  color: var(--vch-muted-2);
  font-size: 12px;
}

.vch-filter-submit {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 1px solid var(--vch-border-gold);
  border-radius: 12px;
  color: #08090c;
  background: linear-gradient(135deg, var(--vch-gold), var(--vch-gold-2));
  font-weight: 900;
  text-transform: uppercase;
}

.vch-catalog-content {
  min-width: 0;
}

.vch-toolbar {
  min-height: 64px;
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.vch-filter-open {
  display: none;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--vch-border);
  border-radius: 12px;
  color: var(--vch-text);
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
}

.vch-sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vch-sort-form label {
  margin: 0;
  color: var(--vch-muted);
  font-weight: 800;
  font-size: 13px;
}

.vch-sort-form select {
  height: 38px;
  min-width: 150px;
  border: 1px solid rgba(255, 196, 0, .28);
  border-radius: 9px;
  color: var(--vch-text);
  background: #111318;
  padding: 0 12px;
  font-weight: 800;
}

.vch-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vch-product-card {
  display: none;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-bottom-color: rgba(255, 196, 0, .78);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--vch-panel-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vch-product-card.is-visible {
  display: block;
}

.vch-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, .70);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 196, 0, .14);
}

.vch-product-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.vch-product-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 196, 0, .18), transparent 36%),
    linear-gradient(135deg, #10141b, #080a0f);
}

.vch-product-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .48)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .16), transparent 18%);
  pointer-events: none;
}

.vch-product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.vch-product-card:hover .vch-product-art img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.06);
}

.vch-fav-btn {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .36);
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.vch-fav-btn:hover,
.vch-fav-btn.is-active {
  transform: scale(1.08);
  color: var(--vch-gold);
  border-color: var(--vch-border-gold);
  background: rgba(255, 196, 0, .10);
}

.vch-product-info {
  flex: 1;
  padding: 16px 16px 14px;
}

.vch-product-info h2 {
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--vch-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.vch-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.vch-badge-popular {
  color: var(--vch-gold);
  border: 1px solid rgba(255, 196, 0, .72);
  background: rgba(255, 196, 0, .08);
}

.vch-badge-new {
  color: var(--vch-green);
  border: 1px solid rgba(70, 255, 63, .65);
  background: rgba(70, 255, 63, .08);
}

.vch-badge-best {
  color: var(--vch-purple);
  border: 1px solid rgba(179, 108, 255, .72);
  background: rgba(179, 108, 255, .10);
}

.vch-product-type {
  color: var(--vch-muted-2);
  font-size: 12px;
  max-width: 110px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vch-view-state {
  margin: 34px auto 0;
  text-align: center;
}

.vch-view-state p {
  margin: 0 0 14px;
  color: var(--vch-muted);
}

.vch-view-more {
  min-width: 300px;
  height: 54px;
  border: 1px solid var(--vch-border-gold);
  border-radius: 10px;
  color: var(--vch-gold);
  background: rgba(255, 196, 0, .035);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.vch-view-more span {
  margin-left: 10px;
  font-size: 22px;
  line-height: 0;
}

.vch-view-more:hover {
  transform: translateY(-2px);
  background: rgba(255, 196, 0, .10);
  box-shadow: 0 14px 30px rgba(255, 196, 0, .10);
}

.vch-view-more[hidden] {
  display: none;
}

.vch-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 20;
  width: 54px;
  height: 54px;
  border: 1px solid var(--vch-border-gold);
  border-radius: 999px;
  color: var(--vch-gold);
  background: rgba(10, 12, 16, .92);
  box-shadow: var(--vch-shadow);
  font-size: 24px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .18s ease;
}

.vch-scroll-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vch-empty-state {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: var(--vch-radius);
  background: rgba(255, 255, 255, .025);
}

.vch-empty-state h3 {
  color: var(--vch-text);
  font-weight: 900;
}

.vch-empty-state p {
  color: var(--vch-muted);
}

body.vch-filter-lock {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .vch-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .vch-catalog-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .vch-catalog-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 20px;
  }

  .vch-hero-lines {
    display: none;
  }

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

  .vch-filter-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 9998;
    width: min(360px, 88vw);
    height: 100vh;
    overflow: auto;
    border-radius: 0 18px 18px 0;
    transform: translateX(-105%);
    transition: transform .2s ease;
    background-color: black;
  }

  .vch-filter-panel.is-open {
    transform: translateX(0);
  }

  .vch-filter-mobile-close,
  .vch-filter-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .vch-toolbar {
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .vch-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .vch-product-card {
    min-height: auto;
    border-radius: 12px;
  }

  .vch-product-art {
    aspect-ratio: 1 / 1;
  }

  .vch-product-info {
    padding: 9px 8px 10px;
  }

  .vch-product-info h2 {
    min-height: 32px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .vch-product-meta {
    align-items: flex-start;
  }

  .vch-badge {
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 9px;
    line-height: 1.2;
  }

  .vch-fav-btn {
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .vch-product-type {
    display: none;
  }

  .vch-sort-form {
    max-width: 190px;
  }

  .vch-sort-form label {
    display: none;
  }

  .vch-sort-form select {
    min-width: 150px;
  }

  .vch-view-more {
    min-width: 100%;
  }
}

@media (max-width: 420px) {
  .vch-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .vch-catalog-page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .vch-product-info {
    padding: 8px 6px 9px;
  }

  .vch-product-info h2 {
    min-height: 30px;
    font-size: 10px;
  }

  .vch-badge {
    font-size: 8px;
  }
}
