.catalog-page {
  --catalog-card-width: 230px;
}

.catalog-top {
  margin-bottom: 20px;
}

.catalog-banner {
  height: 265px;
  margin-bottom: 16px;
  border-radius: 18px;
  background:
    url("/assets/images/banner.png") no-repeat center,
    var(--blue);
  background-size: 100%;
}

.catalog-banner__inner {
  position: relative;
  height: 100%;
  padding: 30px 50px 35px;
  display: grid;
  align-content: space-between;
}

.catalog-banner__inner h1 {
  max-width: 540px;
  width: 100%;
  margin: 0;
  color: var(--white);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.catalog-banner__inner h1 strong {
  height: 64px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 9px;
  background-color: var(--bg-color);
  color: var(--orange-dark);
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-1.5deg);
}

html[data-theme="dark"] .catalog-banner__inner h1 strong {
  background-color: var(--white);
}

.catalog-banner__inner p {
  max-width: 540px;
  width: 100%;
  margin: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.catalog-banner__inner p b {
  height: 32px;
  display: inline-flex;
  align-items: center;
  margin: -4px 0;
  padding: 0 8px;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--green-light);
  font-weight: 600;
}

.catalog-banner__online {
  position: absolute;
  top: 16px;
  right: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  column-gap: 8px;
  padding: 0 18px;
  border: 1px solid #fefefe;
  border-radius: 30px;
  background-color: var(--green-light);
}

.catalog-banner__online > svg {
  display: none;
}

.catalog-banner__online b {
  color: var(--white);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.catalog-banner__online-count {
  position: relative;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 3px;
  padding: 0 6px;
  border-radius: 7px;
  background-color: var(--bg-color);
  color: var(--green-light);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

html[data-theme="dark"] .catalog-banner__online-count {
  background-color: #fff;
}

.catalog-banner__online-count svg {
  width: 20px;
  height: 20px;
}

.catalog-top .catalog-topup-row {
  margin-top: 0;
}

body.catalog-page .catalog-official {
  height: auto;
  overflow: visible;
  margin-bottom: 20px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.catalog-page .catalog-official-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: auto;
  margin-bottom: 16px;
}

body.catalog-page .catalog-official-title {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

body.catalog-page .catalog-shield {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

body.catalog-page .catalog-shield svg {
  width: 30px;
  height: 30px;
}

body.catalog-page .catalog-official h1 {
  margin: 0;
  padding-left: 0;
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

body.catalog-page .catalog-official-more {
  height: 32px;
  display: flex;
  align-items: center;
  column-gap: 10px;
  flex-shrink: 0;
  border-radius: 8px;
  padding: 0 12px;
  background-color: var(--gray-light);
  color: var(--gray);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

html[data-theme="dark"] body.catalog-page .catalog-official-more {
  background: #1e222b;
}

.catalog-official-more::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: url("/assets/arrow-2.svg") no-repeat center / 100%;
  transition: transform 0.3s ease-in-out;
}

.catalog-official-more:hover::after {
  transform: translateX(2px);
}

.catalog-categories {
  height: 48px;
  margin-bottom: 24px;
}

.catalog-categories__wrapper {
  height: 100%;
  display: flex;
  justify-content: space-between;
  column-gap: 4px;
  border-radius: 10px;
  padding: 4px 3px;
  background-color: var(--gray-light);
}

html[data-theme="dark"] .catalog-categories__wrapper {
  background-color: #2a2e39;
}

.catalog-categories__btn {
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 0 13px;
  background-color: transparent;
  color: var(--gray);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.catalog-categories__btn--discount {
  color: var(--green-light);
}

.catalog-categories__btn--hit {
  color: #ff8d28;
}

.catalog-categories__btn:hover,
.catalog-categories__btn--active {
  background-color: var(--blue);
  color: var(--white);
}

.catalog-categories__btn--hit:hover,
.catalog-categories__btn--hit.catalog-categories__btn--active {
  background-color: #ff8d28;
}

.catalog-categories__btn--discount:hover,
.catalog-categories__btn--discount.catalog-categories__btn--active {
  background-color: var(--green-light);
}

.catalog-categories__btn--active {
  font-weight: 700;
}

.catalog-categories__btn:focus-within {
  box-shadow: var(--focus-ring);
}

.catalog-categories__btn img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: filter 0.3s ease-in-out;
}

.catalog-categories__btn:hover img,
.catalog-categories__btn--active img {
  filter: brightness(0) invert(1);
}

.catalog-arrow-icon {
  width: 17px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  transition: transform 0.2s var(--ease);
}

.catalog-arrow-right {
  transform: rotate(90deg);
}

.catalog-arrow-left {
  transform: rotate(-90deg);
}

.catalog-feature-grid {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: var(--catalog-card-width);
  gap: 16px;
  justify-content: start;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.catalog-feature-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.catalog-feature-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.catalog-feature-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  body.catalog-page .catalog-feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    overscroll-behavior-inline: auto;
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: default;
    touch-action: auto;
    user-select: auto;
  }
}

.catalog-page-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 21px;
  align-items: start;
}

.catalog-filter-panel {
  position: static;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  padding: 11px 16px 14px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(25, 37, 56, 0.04);
}

.catalog-filter-head {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.catalog-filter-head img {
  width: 24px;
  height: 24px;
}

.catalog-filter-head b {
  color: #303643;
  font-size: 18px;
  font-weight: 700;
}

.filter-group {
  margin-top: 3px;
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
}

.catalog-filter-head + .filter-group {
  border-top: 0;
  margin-top: 8px;
  padding-top: 0;
}

.filter-group h2 {
  height: 24px;
  margin: 0 0 7px;
  color: #303643;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.filter-group-toggle {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.filter-group-body {
  display: block;
}

.filter-group.is-collapsed h2 {
  margin-bottom: 0;
}

.filter-group.is-collapsed .filter-group-body {
  display: none;
}

.filter-group.is-collapsed .filter-group-toggle .catalog-arrow-icon {
  transform: rotate(180deg);
}

.filter-check {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8994a8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #e1e5ec;
}

.filter-check:has(input:checked)::before {
  background: #68bb45 url("./assets/filter-check.svg") center / 12px 12px no-repeat;
}

.filter-check.is-checked::before {
  background: #68bb45 url("./assets/filter-check.svg") center / 12px 12px no-repeat;
}

.filter-check:has(input:checked),
.filter-check.is-checked {
  color: #303643;
}

.filter-price-row {
  margin-top: -2px;
  display: grid;
  gap: 8px;
}

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

.filter-group:last-of-type h2 {
  margin-bottom: 0;
}

.filter-price-row label {
  height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) 13px;
  align-items: center;
  column-gap: 8px;
  background: var(--field);
  color: #8994a8;
}

.filter-price-row span {
  color: #8994a8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.filter-price-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #303643;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.filter-price-row b {
  color: #8994a8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.filter-range {
  position: relative;
  height: 20px;
  margin-top: 9px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.filter-range::before,
.filter-range span {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: #e1e7f0;
}

.filter-range span {
  left: var(--price-start, 0%);
  right: calc(100% - var(--price-end, 50%));
  background: var(--blue);
}

.filter-range i,
.filter-range b {
  position: absolute;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 1px solid #cfd8e7;
  border-radius: 50%;
  background: #fff;
}

.filter-range i {
  left: calc(var(--price-start, 0%) - 7px);
}

.filter-range b {
  left: calc(var(--price-end, 50%) - 7px);
}

.filter-range-labels {
  display: flex;
  justify-content: space-between;
  color: #9aa5b8;
  font-size: 10px;
  font-weight: 600;
}

.filter-apply,
.filter-reset {
  width: 100%;
  border: 0;
  font-weight: 800;
}

.filter-actions {
  display: block;
}

.filter-apply span {
  display: none;
}

.filter-apply {
  height: 44px;
  margin-top: 29px;
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
}

.filter-reset {
  height: 38px;
  margin-top: 13px;
  background: transparent;
  color: #9aa5b8;
  font-size: 14px;
}

.catalog-mobile-filter-close {
  display: none;
}

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

.catalog-controls {
  height: auto;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-color);
  box-shadow: var(--shadow-soft);
}

.catalog-category-tabs {
  height: 48px;
  margin-bottom: 14px;
  overflow: hidden;
}

.catalog-category-tabs-wrapper {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  padding: 4px 3px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  column-gap: 4px;
  border-radius: 10px;
  background-color: var(--gray-light);
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.catalog-category-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.catalog-category-tabs .catalog-categories__btn {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 7px;
}

.catalog-category-tabs .catalog-categories__btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-toolbar {
  height: 46px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-search,
.catalog-pill {
  border: 0;
  background: var(--field);
  color: #8994a8;
}

.catalog-search {
  min-width: 0;
  height: 46px;
  flex: 1;
  border-radius: 12px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-search svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #8994a8;
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
}

.catalog-search input::placeholder {
  color: #8994a8;
  opacity: 1;
}

.catalog-pills {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
}

.catalog-pill {
  height: 32px;
  border-radius: 7px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 100%;
  white-space: nowrap;
}

.catalog-pill img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.catalog-pill-green {
  background: var(--lime);
  color: var(--green-light);
}

.catalog-pill-orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.catalog-pill-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.catalog-mobile-filterbar {
  display: none;
}

.catalog-mobile-sort-panel {
  display: none;
}

.catalog-total {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
}

.catalog-total,
.catalog-sort-row {
  transform: none;
}

.catalog-sort-row {
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.catalog-sort-icon,
.catalog-sort {
  border: 0;
  padding: 0;
  background: transparent;
  color: #303643;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.catalog-sort {
  margin-left: -8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
}

.catalog-sort-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-sort-icon svg {
  width: 16px;
  height: 16px;
}

.catalog-sort-direction-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transition:
    filter 0.18s ease,
    opacity 0.18s ease;
}

.catalog-results-body {
  position: relative;
  min-height: 260px;
}

.catalog-results.is-loading .catalog-product-grid {
  filter: blur(8px) saturate(0.9);
  opacity: 0.68;
  pointer-events: none;
  user-select: none;
}

.catalog-results-overlay {
  position: absolute;
  inset: -28px -24px;
  z-index: 5;
  display: grid;
  place-items: start center;
  padding-top: 52px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.84) 0, rgba(255, 255, 255, 0.48) 280px, rgba(255, 255, 255, 0) 520px),
    linear-gradient(180deg, rgba(246, 248, 251, 0.64) 0%, rgba(246, 248, 251, 0.48) 45%, rgba(246, 248, 251, 0.58) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.catalog-results.is-loading .catalog-results-overlay {
  opacity: 1;
  visibility: visible;
}

.catalog-results-overlay > div {
  --preloader-dot: #a9cff7;
  --preloader-dot-active: var(--blue);
  width: 400px;
  min-height: 118px;
  border-radius: 20px;
  padding: 24px 30px 22px;
  display: grid;
  justify-items: center;
  align-content: center;
  background: #f3f6fa;
  color: #303643;
  text-align: center;
}

.catalog-results-overlay strong {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  animation: preloader-text-breathe 1.15s ease-in-out infinite;
}

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  margin-top: 175px;
  text-align: center;
}

.catalog-empty strong {
  max-width: 355px;
  width: 100%;
  color: var(--gray);
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.5px;
}

.catalog-reset {
  max-width: 335px;
  width: 100%;
  height: 64px;
  font-size: 18px;
}

.catalog-empty span {
  max-width: 320px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-feature-grid .product-card {
  scroll-snap-align: start;
}

.catalog-topup {
  width: 100%;
  height: 72px;
  margin-top: 20px;
  border-radius: 10px;
  padding: 11px 17px;
  display: grid;
  grid-template-columns: 220px 260px 260px 168px;
  gap: 8px;
  align-items: center;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.catalog-topup-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-topup-info > img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.catalog-topup-info > div {
  min-width: 0;
}

.catalog-topup-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #303643;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-topup-title span {
  color: #58b344;
  font-size: 10px;
}

.catalog-topup-promo {
  height: 20px;
  margin-top: 4px;
  border: 0;
  border-radius: 5px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #eaf3ff;
  color: #3781f6;
  font-size: 9px;
  font-weight: 600;
}

.catalog-topup-promo svg {
  width: 10px;
  height: 10px;
}

.catalog-topup-field,
.catalog-topup-pay {
  height: 50px;
  border: 0;
  border-radius: 8px;
}

.catalog-topup-field {
  min-width: 0;
  display: flex;
  align-items: center;
  background: var(--field);
  color: #8994a8;
}

.catalog-topup-login {
  gap: 10px;
  padding: 0 10px 0 14px;
}

.catalog-topup-login > img {
  width: 15px;
  height: 15px;
}

.catalog-topup-login input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #303643;
  font-size: 11px;
  font-weight: 600;
}

.catalog-topup-login input::placeholder {
  color: #8994a8;
}

.catalog-topup-info-icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #a9b3c2;
}

.catalog-topup-info-icon img {
  width: 4px;
  height: 9px;
}

.catalog-topup-amount {
  gap: 9px;
  padding: 0 8px 0 12px;
}

.catalog-topup-currency {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7c879a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.catalog-topup-value {
  display: grid;
  gap: 2px;
}

.catalog-topup-value small {
  color: #8994a8;
  font-size: 8px;
  font-weight: 600;
}

.catalog-topup-value b {
  color: #303643;
  font-size: 12px;
  line-height: 1;
}

.catalog-topup-tabs {
  margin-left: auto;
  display: flex;
  gap: 5px;
}

.catalog-topup-tabs button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #e1e5ec;
  color: #8994a8;
  font-size: 10px;
  font-weight: 700;
}

.catalog-topup-tabs button.is-active {
  background: #3c83f7;
  color: #fff;
}

.catalog-topup-pay {
  background: linear-gradient(180deg, #5b8df7 0%, #406bf6 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 15px rgba(47, 111, 246, 0.22);
}

.catalog-topup-row {
  position: relative;
  z-index: 1;
  min-height: 92px;
  margin-top: 0;
  display: grid;
  grid-template-columns: auto 300px 300px 200px;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  overflow: visible;
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.catalog-topup-row.has-quick-popover,
.catalog-topup-row.is-payment-open {
  z-index: 60;
}

.catalog-topup-row .topup-info,
.catalog-topup-row .form-field,
.catalog-topup-row .pay-btn {
  min-width: 0;
}

.catalog-topup-row .promo-small {
  white-space: nowrap;
}

.catalog-topup-row .amount-field {
  padding-left: 16px;
}

.catalog-topup-row .currency-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.catalog-topup-row .currency-svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  color: currentColor;
}

.catalog-topup-row .currency-svg-dollar {
  width: 10px;
  height: 16px;
}

.catalog-topup-row .currency-svg-tenge {
  width: 10px;
  height: 12px;
}

.catalog-topup-row .currency-mark .currency-svg-ruble {
  width: 11px;
  height: 11px;
}

.catalog-topup-row .currency-mark,
.catalog-topup-row .pay-btn,
.catalog-topup-row .currency-tabs button.is-active {
  color: #fff;
}

.catalog-loader {
  --preloader-dot: #a9cff7;
  --preloader-dot-active: var(--blue);
  width: 400px;
  height: 118px;
  min-height: 118px;
  margin: 38px auto 44px;
  border-radius: 20px;
  padding: 24px 30px 22px;
  display: grid;
  justify-items: center;
  background: #f3f6fa;
  color: #303643;
  text-align: center;
}

.catalog-loader[hidden] {
  display: none !important;
}

.catalog-loader-dots {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.catalog-loader-dots span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--preloader-dot);
  opacity: 0.72;
  animation: preloader-dot-cycle 1.15s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.catalog-loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.catalog-loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.catalog-loader strong {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  animation: preloader-text-breathe 1.15s ease-in-out infinite;
}

html[data-theme="dark"] body.catalog-page {
  background: #121419;
}

html[data-theme="dark"] .catalog-page .catalog-filter-panel,
html[data-theme="dark"] .catalog-page .catalog-controls,
html[data-theme="dark"] .catalog-page .catalog-topup,
html[data-theme="dark"] .catalog-page .catalog-loader {
  border-color: #252b36;
  background: #181c24;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .catalog-page .catalog-official h1,
html[data-theme="dark"] .catalog-page .catalog-filter-head b,
html[data-theme="dark"] .catalog-page .filter-group h2,
html[data-theme="dark"] .catalog-page .filter-check:has(input:checked),
html[data-theme="dark"] .catalog-page .filter-check.is-checked,
html[data-theme="dark"] .catalog-page .filter-price-row input,
html[data-theme="dark"] .catalog-page .catalog-sort-icon,
html[data-theme="dark"] .catalog-page .catalog-sort,
html[data-theme="dark"] .catalog-page .catalog-topup-title,
html[data-theme="dark"] .catalog-page .catalog-topup-login input,
html[data-theme="dark"] .catalog-page .catalog-topup-value b,
html[data-theme="dark"] .catalog-page .catalog-loader strong {
  color: #f4f7fb;
}

html[data-theme="dark"] .catalog-page .filter-check,
html[data-theme="dark"] .catalog-page .filter-price-row label,
html[data-theme="dark"] .catalog-page .filter-price-row span,
html[data-theme="dark"] .catalog-page .filter-price-row b,
html[data-theme="dark"] .catalog-page .filter-range-labels,
html[data-theme="dark"] .catalog-page .catalog-category-tabs .catalog-categories__btn,
html[data-theme="dark"] .catalog-page .catalog-search,
html[data-theme="dark"] .catalog-page .catalog-search svg,
html[data-theme="dark"] .catalog-page .catalog-search input::placeholder,
html[data-theme="dark"] .catalog-page .catalog-total,
html[data-theme="dark"] .catalog-page .catalog-topup-field,
html[data-theme="dark"] .catalog-page .catalog-topup-login input::placeholder,
html[data-theme="dark"] .catalog-page .catalog-topup-value small,
html[data-theme="dark"] .catalog-page .catalog-topup-tabs button,
html[data-theme="dark"] .catalog-page .filter-reset,
html[data-theme="dark"] .catalog-page .catalog-empty span {
  color: #8f98a8;
}

html[data-theme="dark"] .catalog-page .filter-group {
  border-top-color: #252b36;
}

html[data-theme="dark"] .catalog-page .filter-check::before {
  background: #343b48;
}

html[data-theme="dark"] .catalog-page .filter-check:has(input:checked)::before,
html[data-theme="dark"] .catalog-page .filter-check.is-checked::before {
  background: #68bb45 url("./assets/filter-check.svg") center / 12px 12px no-repeat;
}

html[data-theme="dark"] .catalog-page .filter-price-row label,
html[data-theme="dark"] .catalog-page .catalog-category-tabs-wrapper,
html[data-theme="dark"] .catalog-page .catalog-search,
html[data-theme="dark"] .catalog-page .catalog-topup-field {
  background: #2a2e39;
}

html[data-theme="dark"] .catalog-page .filter-range::before {
  background: #343b48;
}

html[data-theme="dark"] .catalog-page .filter-range span {
  background: #2f82ff;
}

html[data-theme="dark"] .catalog-page .filter-range i,
html[data-theme="dark"] .catalog-page .filter-range b {
  border-color: #d6dce6;
  background: #f5f7fb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .catalog-page .catalog-category-tabs .catalog-categories__btn--active,
html[data-theme="dark"] .catalog-page .catalog-category-tabs .catalog-categories__btn:hover {
  color: #fff;
  background-color: var(--blue);
  box-shadow: none;
}

html[data-theme="dark"] .catalog-page .catalog-pill-green {
  background: #193525;
  color: #4fc96f;
}

html[data-theme="dark"] .catalog-page .catalog-pill-orange {
  background: #3a2a1d;
  color: #ff9d35;
}

html[data-theme="dark"] .catalog-page .catalog-pill-blue {
  background: #1c2e4d;
  color: #6aa2ff;
}

html[data-theme="dark"] .catalog-page .product-card {
  background: #1b2029;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .catalog-page .product-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .catalog-page .product-body h3 {
  color: #f4f7fb;
}

html[data-theme="dark"] .catalog-page .price-line del {
  color: #8f98a8;
}

html[data-theme="dark"] .catalog-page .catalog-topup-promo {
  background: #203a55;
  color: #8bc5ff;
}

html[data-theme="dark"] .catalog-page .catalog-topup-info-icon,
html[data-theme="dark"] .catalog-page .catalog-topup-currency,
html[data-theme="dark"] .catalog-page .catalog-topup-tabs button {
  background: #343b48;
}

html[data-theme="dark"] .catalog-page .catalog-topup-tabs button.is-active {
  background: #3c83f7;
  color: #fff;
}

html[data-theme="dark"] .catalog-page .catalog-topup-row .currency-tabs button.is-active {
  background: var(--blue);
  color: #fff;
}

html[data-theme="dark"] .catalog-page .catalog-results-overlay {
  background:
    radial-gradient(circle at 50% 8%, rgba(28, 33, 43, 0.82) 0, rgba(28, 33, 43, 0.48) 280px, rgba(28, 33, 43, 0) 520px),
    linear-gradient(180deg, rgba(18, 20, 25, 0.62) 0%, rgba(18, 20, 25, 0.46) 45%, rgba(18, 20, 25, 0.58) 100%);
}

html[data-theme="dark"] .catalog-page .catalog-results-overlay > div {
  background: #242934;
}

html[data-theme="dark"] .catalog-page .catalog-results-overlay strong {
  color: #f4f7fb;
}

html[data-theme="dark"] .catalog-page .catalog-topup-pay,
html[data-theme="dark"] .catalog-page .filter-apply {
  background: linear-gradient(180deg, #4a90ff 0%, #2f6bff 100%);
  box-shadow: 0px 6.33px 14.24px 0px #2f6bff66;
}

html[data-theme="dark"] .catalog-page .catalog-loader {
  background: #242934;
}

@media (max-width: 767px) {
  body.catalog-page {
    --mobile-gutter: 16px;
    overflow-x: hidden;
    background: #f6f8fb;
  }

  body.catalog-page main {
    padding-top: 12px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .catalog-top {
    margin-bottom: 40px;
  }

  .catalog-banner {
    height: 180px;
    border-radius: 12px;
    background-size: auto 100%;
    background-position: right;
  }

  .catalog-banner__inner {
    padding: 20px 35px 24px;
  }

  .catalog-banner__inner h1 {
    max-width: 370px;
    font-size: 34px;
    letter-spacing: 0;
  }

  .catalog-banner__inner h1 strong {
    height: 44px;
    border-radius: 6px;
    padding: 0 14px;
  }

  .catalog-banner__inner p {
    max-width: 370px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .catalog-banner__inner p b {
    height: 22px;
    margin: -2px 0;
    border-radius: 4px;
    padding: 0 4px;
  }

  .catalog-banner__online {
    top: 12px;
    right: 12px;
    height: 34px;
    column-gap: 6px;
    border-radius: 20px;
    padding: 0 13.5px;
  }

  .catalog-banner__online b {
    font-size: 14px;
    letter-spacing: 0;
  }

  .catalog-banner__online-count {
    height: 20px;
    column-gap: 2px;
    border-radius: 5px;
    padding: 0 4px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .catalog-banner__online-count svg {
    width: 14px;
    height: 14px;
  }

  .catalog-top .catalog-topup-row {
    margin-top: 0;
  }

  body.catalog-page .catalog-official {
    height: auto;
    overflow: visible;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  body.catalog-page .catalog-official-head {
    height: auto;
    gap: 8px;
    margin-bottom: 16px;
  }

  body.catalog-page .catalog-shield,
  body.catalog-page .catalog-shield svg {
    width: 30px;
    height: 30px;
  }

  body.catalog-page .catalog-official h1 {
    padding-left: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .catalog-categories {
    height: 48px;
    margin-bottom: 24px;
    border-radius: 10px;
    padding: 4px;
    background-color: var(--gray-light);
  }

  html[data-theme="dark"] .catalog-categories {
    background-color: #2a2e39;
  }

  .catalog-categories__wrapper {
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-categories__wrapper::-webkit-scrollbar {
    display: none;
  }

  .catalog-categories__btn {
    padding: 0 20px;
  }

  .catalog-categories__btn:focus-within {
    box-shadow: none;
  }

  .catalog-feature-grid,
  .catalog-product-grid {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 12px;
    gap: 10px;
  }

  .catalog-feature-grid {
    width: calc(100% + var(--mobile-gutter));
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--mobile-gutter) * -1) 0 0;
    padding: 0 var(--mobile-gutter) 18px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .catalog-feature-grid .product-card {
    min-width: 150px;
    max-width: 150px;
  }

  body.catalog-page .catalog-feature-grid .product-card {
    overflow: hidden;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(20, 40, 80, 0.08);
  }

  body.catalog-page .catalog-feature-grid .product-cover {
    width: 100%;
    height: 90px;
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
  }

  body.catalog-page .catalog-feature-grid .product-cover img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    border-radius: inherit;
    object-fit: cover;
  }

  body.catalog-page .catalog-feature-grid .product-body {
    width: 100%;
    padding: 10px 10px 15px;
  }

  body.catalog-page .catalog-feature-grid .product-body h3,
  body.catalog-page .catalog-feature-grid .price-line,
  body.catalog-page .catalog-feature-grid .product-body > a {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  body.catalog-page .catalog-product-grid .product-cover {
    width: 100%;
    height: 90px;
    max-height: none;
    aspect-ratio: auto;
  }

  body.catalog-page .catalog-product-grid .product-cover img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
  }

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

  .catalog-empty {
    gap: 30px;
    margin-top: 18px;
  }

  .catalog-empty strong {
    max-width: 300px;
    font-size: 18px;
  }

  .catalog-feature-grid .product-card:nth-child(n + 3),
  .catalog-product-grid .product-card:nth-child(n + 3) {
    display: flex;
  }

  .catalog-product-grid-primary .product-card:nth-child(n + 7) {
    display: flex;
  }

  .catalog-page-layout {
    margin-top: 0;
    margin-bottom: 40px;
    display: block;
  }

  .catalog-filter-panel {
    display: none;
  }

  body.catalog-mobile-filter-open .catalog-page-layout {
    position: relative;
  }

  body.catalog-mobile-filter-open .catalog-filter-panel {
    position: absolute;
    top: 228px;
    left: 0;
    max-width: 190px;
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-soft);
    overflow: auto;
    z-index: 12;
  }

  body.catalog-mobile-filter-open .catalog-results .product-grid {
    position: relative;
  }

  body.catalog-mobile-filter-open .catalog-results .product-grid::before {
    content: "";
    position: absolute;
    top: -12px;
    left: calc(var(--mobile-gutter) * -1);
    width: calc(100% + var(--mobile-gutter) * 2);
    height: calc(100% + 24px);
    background: rgba(254, 254, 254, 0.8);
    z-index: 1;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .catalog-results .product-grid::before {
    background: rgba(0, 0, 0, 0.52);
  }

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

  .catalog-controls {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 48px;
    padding: 12px;
    overflow: visible;
  }

  .catalog-toolbar {
    order: 1;
    width: 100%;
    margin-top: 0;
    display: block;
  }

  .catalog-search {
    width: 100%;
    border-radius: 8px;
    padding: 0 14px;
    gap: 8px;
  }

  .catalog-pills {
    position: absolute;
    bottom: -36px;
    left: 0;
    width: 100%;
    column-gap: 4px;
  }

  .catalog-pill {
    height: clamp(26px, 7.2vw, 30px);
    flex: 1;
    column-gap: 4px;
    padding: 0 clamp(4px, 1.8vw, 8px);
    font-size: 13px;
  }

  .catalog-pill img {
    width: 16px;
    height: 16px;
  }

  .catalog-category-tabs {
    order: 2;
    border-radius: 10px;
    padding: 4px;
    background-color: var(--gray-light);
  }

  html[data-theme="dark"] .catalog-category-tabs {
    background-color: #2a2e39;
  }

  .catalog-category-tabs-wrapper {
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-category-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .catalog-category-tabs .catalog-categories__btn {
    flex: 0 0 auto;
    padding: 0 13px;
  }

  .catalog-category-tabs .catalog-categories__btn:focus-within {
    box-shadow: none;
  }

  .catalog-mobile-filterbar {
    display: block;
  }

  .catalog-mobile-filter-row {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-mobile-filter-row::-webkit-scrollbar {
    display: none;
  }

  .catalog-mobile-tags {
    min-width: 0;
    display: none;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-mobile-tags::-webkit-scrollbar {
    display: none;
  }

  .catalog-mobile-tags button,
  .catalog-mobile-tags a {
    border: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
  }

  .catalog-mobile-filter-btn {
    min-width: 164px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    column-gap: 10px;
    background-color: var(--blue);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .catalog-mobile-filter-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
  }

  .catalog-mobile-filter-btn b {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 6px;
    background-color: var(--white);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 100%;
  }

  .catalog-mobile-filter-row .catalog-sort-row {
    margin-right: 0;
    column-gap: 8px;
    transform: none;
  }

  .catalog-mobile-filter-row .catalog-sort-row .catalog-sort {
    margin-left: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .catalog-mobile-sort {
    border: 0;
    flex: 0 0 auto;
    display: none;
    align-items: center;
    height: 34px;
    gap: 8px;
    border-radius: 8px;
    padding: 0 10px;
    background: #f0f3f8;
    color: #303643;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .catalog-mobile-tags button,
  .catalog-mobile-tags a {
    height: 25px;
    border-radius: 999px;
    padding: 0 10px;
    gap: 5px;
    background: #eaf2ff;
    color: #4387ff;
    font-size: 10px;
  }

  .catalog-mobile-tags button:last-child,
  .catalog-mobile-tags a:last-child {
    background: #f0f3f8;
    color: #a0a9b8;
  }

  .catalog-mobile-filterbar.is-sort-open .catalog-mobile-tags {
    display: none;
  }

  .catalog-mobile-sort-panel.is-open {
    display: grid;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 16px 36px rgba(24, 36, 58, 0.08);
  }

  .catalog-mobile-sort-panel button {
    min-width: 0;
    height: 39px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    color: #303643;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .catalog-mobile-sort-panel button:last-child {
    border-bottom: 0;
  }

  .catalog-mobile-sort-panel button span {
    display: none;
    color: #2f7fff;
    font-weight: 900;
  }

  .catalog-mobile-sort-panel button.is-selected {
    color: #2f7fff;
  }

  .catalog-mobile-sort-panel button.is-selected span {
    display: inline;
  }

  .catalog-meta-row {
    display: none;
  }

  .catalog-loader {
    width: 100%;
    min-height: 100px;
    margin-block: 24px 22px;
    border-radius: 14px;
    padding: 24px 16px;
  }

  .catalog-loader strong {
    width: 70%;
    max-width: 260px;
    margin: 10px auto 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .catalog-loader-dots {
    gap: 8px;
  }

  .catalog-loader-dots span {
    width: 10px;
    height: 10px;
  }

  .catalog-results-overlay {
    inset: -18px -12px;
    padding: 28px 12px 0;
  }

  .catalog-results-overlay > div {
    width: 100%;
    min-height: 100px;
    border-radius: 14px;
    padding: 24px 16px;
  }

  .catalog-results-overlay strong {
    width: 70%;
    max-width: 260px;
    margin: 10px auto 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .catalog-topup {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-top: 28px;
    border-top: 0;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(20, 40, 80, 0.1);
  }

  body.catalog-page .catalog-top .catalog-topup-row {
    width: 100%;
    max-width: none;
    min-height: 0;
    display: block;
    border-top: 0;
    border-radius: 16px;
    padding: 12px 12px 26px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  body.catalog-page .catalog-topup-row .topup-info {
    min-height: 72px;
    gap: 12px;
    margin-bottom: 12px;
  }

  body.catalog-page .catalog-topup-row .topup-info > img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  body.catalog-page .catalog-topup-row .topup-info > div {
    flex: 1;
  }

  body.catalog-page .catalog-topup-row .topup-title {
    min-height: 21px;
    margin-bottom: 8px;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
  }

  body.catalog-page .catalog-topup-row .topup-title span {
    min-width: 36px;
    height: 22px;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 14px;
  }

  body.catalog-page .catalog-topup-row .promo-small {
    width: 100%;
    height: 40px;
    justify-content: space-between;
    margin-top: 0;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
  }

  body.catalog-page .catalog-topup-row .form-field {
    height: 70px;
    border-radius: 12px;
  }

  body.catalog-page .catalog-topup-row .login-field {
    margin-right: 0;
    margin-bottom: 12px;
    padding: 0 20px;
  }

  body.catalog-page .catalog-topup-row .login-field input,
  body.catalog-page .catalog-topup-row .amount-control input {
    font-size: 18px;
    font-weight: 600;
  }

  body.catalog-page .catalog-topup-row .amount-field {
    order: 0;
    margin-bottom: 18px;
    padding: 0 16px;
  }

  body.catalog-page .catalog-topup-row .amount-field small {
    font-size: 15px;
    font-weight: 600;
  }

  body.catalog-page .catalog-topup-row .amount-value {
    font-size: 14px;
    font-weight: 400;
  }

  body.catalog-page .catalog-topup-row .field-info {
    width: 21px;
    height: 21px;
    border-radius: 7px;
  }

  body.catalog-page .catalog-topup-row .currency-mark {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  body.catalog-page .catalog-topup-row .currency-tabs {
    gap: 6px;
  }

  body.catalog-page .catalog-topup-row .currency-tabs button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  body.catalog-page .catalog-topup-row .pay-btn {
    width: 100%;
    height: 64px;
    display: inline-flex;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
  }

  body.catalog-page .catalog-topup-row.is-payment-open .pay-btn {
    display: none;
  }

  .catalog-topup-row .topup-quick-popover-buttons button {
    height: 38px;
    border-radius: 8px;
    font-size: 11px;
  }

  html[data-theme="dark"] body.catalog-page {
    background: #121419;
  }

  html[data-theme="dark"] .catalog-page .catalog-official {
    border-color: transparent;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  html[data-theme="dark"] .catalog-page .catalog-feature-grid {
    margin-top: 12px;
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-tags button:last-child {
    background: #222733;
  }

  html[data-theme="dark"] .catalog-page .catalog-controls {
    border-color: #252b36;
    background: #181c24;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-sort {
    background: #2b303c;
    color: #9aa3b2;
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-tags button {
    background: #17335c;
    color: #72a8ff;
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-sort-panel.is-open {
    background: #2a2f3a;
    box-shadow: none;
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-sort-panel button {
    border-bottom-color: #343a47;
    color: #9aa3b2;
  }

  html[data-theme="dark"] .catalog-page .catalog-mobile-sort-panel button.is-selected,
  html[data-theme="dark"] .catalog-page .catalog-mobile-sort-panel button span {
    color: #4a90ff;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .catalog-filter-panel,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-actions {
    border-color: #343a47;
    background: #14171d;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .catalog-filter-head b,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-group h2,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-check,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-price-row input {
    color: #f4f7fb;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .catalog-mobile-filter-close,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-reset {
    background: #2a2f3a;
    color: #9aa3b2;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-group {
    border-top-color: #2d3340;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-check::before {
    border-color: #3a414f;
    background-color: #343b48;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-check:has(input:checked)::before,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-check.is-checked::before {
    border-color: #67bd4a;
    background-color: #67bd4a;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-price-row label {
    background: #262b36;
  }

  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-price-row span,
  html[data-theme="dark"] body.catalog-mobile-filter-open .filter-price-row b {
    color: #9aa3b2;
  }
}

@media (max-width: 525px) {
  .catalog-banner {
    height: 148px;
    margin-top: 15px;
    background:
      url("/assets/images/banner-mobile.png") no-repeat center,
      var(--blue);
    background-size: 125%;
  }

  .catalog-banner__inner {
    padding: 12px 16px 16px;
    row-gap: 16px;
  }

  .catalog-banner__inner h1 {
    max-width: 160px;
    font-size: 24px;
    line-height: 120%;
  }

  .catalog-banner__inner h1 strong {
    height: 30px;
    padding: 0 6px;
    font-size: 18px;
    line-height: 120%;
    white-space: nowrap;
  }

  .catalog-banner__inner p {
    font-size: 14px;
  }

  .catalog-banner__inner p b {
    height: 20px;
    padding: 0 3px;
  }

  .catalog-banner__online {
    top: -15px;
    right: 15px;
    height: 30px;
    column-gap: 4px;
    border-width: 2px;
    padding: 0 5px;
  }

  html[data-theme="dark"] .catalog-banner__online {
    border-color: #16181d;
  }

  .catalog-banner__online > svg {
    display: block;
  }

  .catalog-banner__online b,
  .catalog-banner__online-count {
    font-size: 12px;
  }

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

  .catalog-pills {
    width: 100%;
  }

  .catalog-category-tabs .catalog-categories__btn {
    padding: 0 12px;
  }
}

@media (max-width: 450px) {
  .catalog-category-tabs .catalog-categories__btn {
    padding: 0 8px;
  }
}

@media (max-width: 420px) {
  .catalog-category-tabs .catalog-categories__btn {
    padding: 0 16px;
  }
}

@media (max-width: 400px) {
  body.catalog-page {
    --mobile-gutter: 10px;
  }
}
