.catalog-page {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - nav-height);
  background: #f4f6fb;
  font-family: 'Exo 2', sans-serif;
}
.catalog-main {
  flex: 1;
  min-width: 0;
  padding: 20px 20px 50px;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.catalog-toolbar__count {
  color: #6c757d;
}
.catalog-toolbar__count strong {
  color: #1a1a2e;
}
.f-sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.f-sort {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1.5px solid #e4e8f0;
  border-radius: 30px;
  background: #fff;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.f-sort:hover {
  border-color: #3b66f5;
  color: #3b66f5;
}
.f-sort.active {
  background: #3b66f5;
  border-color: #3b66f5;
  color: #fff;
  font-weight: 600;
}
.f-sort__icon {
  font-size: 0.8rem;
  opacity: 0.6;
}
.f-sort.active .f-sort__icon {
  opacity: 1;
}
.ch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.ch-list--loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244,246,251,0.7);
  border-radius: 16px;
  z-index: 10;
}
.catalog-sidebar {
  width: 268px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin: 20px 0 20px 20px;
  align-self: flex-start;
}
.catalog-sidebar__inner {
  padding: 20px 18px 32px;
  display: flex;
  flex-direction: column;
}
.catalog-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.catalog-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}
.catalog-sidebar__close {
  display: none;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #6c757d;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.f-group {
  margin-bottom: 18px;
}
.f-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 9px;
}
.f-sep {
  height: 1px;
  background: #f0f2f7;
  margin: 2px 0 18px;
}
.f-net-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.owners-net-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 2px 7px;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Exo 2', sans-serif;
  cursor: pointer;
  transition: border-color border-color 0.15s, background 0.15s, color 0.15s, background border-color 0.15s, background 0.15s, color 0.15s;
}
.owners-net-btn i {
  font-size: 1.3rem !important;
  flex-shrink: 0;
}
.owners-net-btn span {
  font-size: 0.9rem;
}
.owners-net-btn:hover {
  border-color: #3b66f5;
}
.owners-net-btn--active {
  border-color: #3b66f5;
  background: #eef2ff;
}
.f-search-wrap {
  position: relative;
}
.f-search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f7f8fc;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  color: #1a1a2e;
}
.f-search-input::placeholder {
  color: #aaa;
}
.f-search-input:focus {
  border-color: #3b66f5;
  background: #fff;
}
.f-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.9rem;
  pointer-events: none;
}
.f-select {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f7f8fc;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  color: #1a1a2e;
}
.f-select:focus {
  border-color: #3b66f5;
  background-color: #fff;
}
.f-fmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.f-fmt-grid .btn {
  padding: 3px 4px;
  font-size: 0.72rem;
  line-height: 1.3;
}
.f-range {
  display: flex;
  gap: 8px;
}
.f-range__input {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  background: #f7f8fc;
  overflow: hidden;
  transition: border-color 0.2s;
}
.f-range__input:focus-within {
  border-color: #3b66f5;
  background: #fff;
}
.f-range__pre {
  font-size: 0.72rem;
  color: #bbb;
  padding: 0 6px 0 10px;
  white-space: nowrap;
  user-select: none;
}
.f-range__field {
  flex: 1;
  border: none;
  outline: none;
  padding: 7px 8px 7px 0;
  font-size: 1rem;
  background: transparent;
  min-width: 0;
  font-family: inherit;
  color: #1a1a2e;
}
.f-range__field::-webkit-inner-spin-button,
.f-range__field::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.ch-card {
  display: grid;
  grid-template-columns: 1fr 270px 158px;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.ch-card__info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  min-width: 0;
}
.ch-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.ch-card__avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e4e8f0;
  display: block;
}
.ch-card__net-badge {
  position: absolute;
  bottom: -10px;
  right: -7px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ch-card__body {
  flex: 1;
  min-width: 0;
}
.ch-card__name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.ch-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.ch-card__name:hover {
  color: #3b66f5;
}
.ch-card__ci {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #3b66f5;
  background: #eef2ff;
  border-radius: 5px;
  padding: 1px 6px;
}
.ch-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}
.ch-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  color: #666;
  background: #f2f4f8;
  border-radius: 4px;
  padding: 2px 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.ch-tag:hover {
  background: #eef2ff;
  color: #3b66f5;
}
.ch-tag--geo {
  color: #888;
}
.ch-card__desc {
  font-size: 1rem;
  color: #888;
  line-height: 1.5;
  margin: 0 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ch-tgstat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #3b66f5;
  text-decoration: none;
  background: #eef2ff;
  border-radius: 6px;
  padding: 3px 9px;
  transition: background 0.15s, color 0.15s;
  margin-top: 2px;
}
.ch-tgstat-btn:hover {
  background: #3b66f5;
  color: #fff;
}
.ch-card__stats {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-left: 1px solid #f0f2f7;
  border-right: 1px solid #f0f2f7;
}
.ch-card__stats-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
}
.ch-card__stats-col + .ch-card__stats-col {
  border-left: 1px solid #f0f2f7;
}
.ch-stat__lbl {
  display: block;
  font-size: 0.67rem;
  color: #aaa;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ch-stat__val {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}
.ch-stat__val--sm {
  font-size: 1rem;
}
.ch-stat__age {
  display: block;
  font-size: 0.68rem;
  color: #6c757d;
  margin-top: 1px;
}
.ch-card__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px;
}
.ch-card__buy-net {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 2px;
}
.ch-format-sel {
  width: 100%;
  padding: 6px 28px 6px 10px;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f7f8fc;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  color: #1a1a2e;
}
.ch-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.ch-buy-btn.added {
  background: #3b66f5 !important;
  border-color: #3b66f5 !important;
  color: #fff !important;
}
.ch-price-val {
  font-weight: 700;
}
.ch-price-req {
  font-weight: 400;
}
.ch-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #b0b0b0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: color border-color 0.15s, background 0.15s, color 0.15s, transform border-color 0.15s, background 0.15s, color 0.15s, background border-color 0.15s, background 0.15s, color 0.15s;
}
.ch-wish-btn:hover {
  color: #ff4757;
  background: #fff;
  transform: scale(1.08);
}
.ch-wish-btn.active {
  color: #ff3b50;
  background: #fff;
}
.ch-wish-btn.active:hover {
  color: #d9263b;
}
.ch-tooltip {
  position: relative;
  cursor: help;
}
.ch-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
  width: 280px;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 9999;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.ch-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a1a2e;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 9999;
}
.ch-tooltip:hover::after,
.ch-tooltip:hover::before {
  opacity: 1;
}
.catalog-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
}
.catalog-spinner__video {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.catalog-spinner--inline {
  padding: 16px 40px;
}
.catalog-spinner__video {
  width: 80px;
  height: 80px;
}
.catalog-empty {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px dashed #e4e8f0;
  color: #6c757d;
}
.catalog-empty i {
  font-size: 2.5rem;
  opacity: 0.4;
}
.catalog-empty p {
  margin-top: 12px;
  font-size: 1rem;
}
.catalog-loadmore {
  text-align: center;
  margin-top: 28px;
}
.catalog-loadmore__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  border: 2px solid #3b66f5;
  border-radius: 30px;
  background: none;
  color: #3b66f5;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.catalog-loadmore__btn:hover {
  background: #3b66f5;
  color: #fff;
}
.catalog-loadmore__btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.catalog-loadmore__hint {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.65;
}
.catalog-mob-btn {
  display: none;
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  box-shadow: 0 4px 18px rgba(59,102,245,0.35);
}
.catalog-mob-badge {
  background: #ff4d4f;
  color: #fff;
  border-radius: 10px;
  font-size: 0.65rem;
  padding: 1px 6px;
  font-weight: 700;
}
.catalog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 149;
  opacity: 0;
  transition: opacity 0.25s;
}
.catalog-overlay.open {
  display: block;
  opacity: 1;
}
@media (max-width: 1200px) {
  .ch-card {
    grid-template-columns: 1fr 240px 148px;
  }
}
@media (max-width: 980px) {
  .ch-card {
    grid-template-columns: 1fr 200px 140px;
  }
  .ch-card__stats-col {
    padding: 0 10px;
  }
}
@media (max-width: 991px) {
  .catalog-mob-btn {
    display: inline-flex;
  }
  .catalog-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 85vw;
    max-height: 100%;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    z-index: 150;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    border-radius: 0;
    margin: 0;
    overflow-y: auto;
  }
  .catalog-sidebar.open {
    transform: translateX(0);
  }
  .catalog-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    transition: background border-color 0.15s, background 0.15s, color 0.15s, color border-color 0.15s, background 0.15s, color 0.15s;
    padding: 0;
  }
  .catalog-sidebar__close:hover {
    background: #f0f0f0;
    color: #1a1a2e;
  }
  .catalog-main {
    padding: 16px 12px 90px;
  }
}
@media (max-width: 680px) {
  .ch-card {
    grid-template-columns: 1fr;
  }
  .ch-card__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 20px;
    border-left: none;
    border-right: none;
    border-top: 1px solid #f0f2f7;
    padding: 14px 18px;
  }
  .ch-card__buy {
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid #f0f2f7;
    padding: 12px 16px;
    gap: 8px;
  }
  .ch-card__buy-net {
    display: none;
  }
  .ch-buy-btn {
    flex: 1;
  }
  .ch-format-sel {
    flex: 0 0 auto;
    width: auto;
  }
  .f-sort-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 3px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

