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

.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;
  font-size: 50px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -0.75px;
  color: var(--white);
}

.catalog-banner__inner h1 strong {
  height: 64px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 9px;
  background-color: var(--bg-color);
  font-weight: 700;
  line-height: 120%;
  color: var(--orange-dark);
  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;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.75px;
  color: var(--white);
}

.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);
  font-weight: 600;
  color: var(--green-light);
}

.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 {
  font-size: 21px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.75px;
  color: var(--white);
}

.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);
  font-size: 21px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.75px;
  color: var(--green-light);
}

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

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

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

.catalog-filter-panel {
  position: static;
  padding: 16px 0 24px;
  border-radius: 16px;
  background: var(--bg-color);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.catalog-filter-head {
  display: flex;
  align-items: center;
  column-gap: 10px;
  padding: 0 16px;
}

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

.catalog-filter-head b {
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.filter-group {
  margin-top: 8px;
  padding: 10px 16px 0;
  border-top: 1px solid #f5f7f8;
}

html[data-theme="dark"] .filter-group {
  border-top: 1px solid #2a2e39;
}

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

.filter-group h2 {
  margin: 0 0 16px;
  white-space: nowrap;
}

.filter-group-toggle {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  cursor: pointer;
}

.filter-group-body {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.filter-group.filter-price-group .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: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.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-color: #e1e5ec;
  transition: background-color 0.3s ease-in-out;
}

html[data-theme="dark"] .filter-check::before {
  background-color: var(--field);
}

.filter-check:hover::before,
html[data-theme="dark"] .filter-check:hover::before {
  background-color: var(--green-light);
}

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

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

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

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

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

html[data-theme="dark"] .filter-price-row label {
  background-color: #2c3242;
}

.filter-price-row span {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--gray);
}

.filter-price-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.filter-price-row b {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--gray);
  text-align: right;
}

.filter-range {
  position: relative;
  height: 20px;
  margin-top: 2px;
  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: 4px;
  width: 12px;
  height: 12px;
  border: 1px solid #cfd8e7;
  border-radius: 50%;
  background: #fff;
}

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

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

.filter-range-labels {
  height: 12px;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
}

.filter-actions {
  display: block;
  margin-top: 10px;
  padding: 16px 16px 0;
  border-top: 1px solid #f5f7f8;
}

html[data-theme="dark"] .filter-actions {
  border-top: 1px solid #2a2e39;
}

.filter-apply span {
  display: none;
}

.filter-apply {
  width: 100%;
  font-size: 16px;
}

.filter-reset {
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--gray);
}

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

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

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

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

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

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

.catalog-category-tabs .chip:hover,
.catalog-category-tabs .chip.is-active {
  background-color: var(--blue);
  color: var(--white);
}

.catalog-category-tabs .chip:focus-within {
  box-shadow: var(--focus-ring);
}

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

.catalog-category-tabs .chip:hover img,
.catalog-category-tabs .chip.is-active img {
  filter: brightness(0) invert(1);
}

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

.catalog-search {
  min-width: 0;
  height: 46px;
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background-color: var(--gray-light);
}

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

.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;
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.catalog-search input::placeholder {
  color: var(--gray);
  opacity: 1;
}

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

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

.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-pill:hover {
  transform: translateY(-2px);
}

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

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

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

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

.catalog-sort-row {
  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;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

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

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

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

.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%;
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.5px;
  color: var(--gray);
}

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

.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: 20px;
  border-radius: 10px;
  padding: 14px 17px;
  grid-template-columns:
    minmax(250px, 1fr) minmax(180px, 0.95fr) minmax(238px, 1.15fr)
    minmax(150px, 0.75fr);
  column-gap: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.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: 12px;
}

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

.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-product-grid-secondary {
  margin-top: 20px;
}

.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-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"] .catalog-page .catalog-topup,
html[data-theme="dark"] .catalog-page .catalog-topup-row,
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-check:hover,
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 .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 .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-check:has(input:checked)::before,
html[data-theme="dark"] .catalog-page .filter-check.is-checked::before {
  background: var(--green-light) url("../../assets/filter-check.svg") center / 12px
    12px no-repeat;
}

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

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-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-topup-pay {
  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) {
  .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.5px;
  }

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

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

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

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

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

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

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

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

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

  .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) * 2);
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--mobile-gutter) * -1);
    padding: 0 var(--mobile-gutter) 40px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

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

  .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-bottom: 40px;
    display: block;
  }

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

  /* Mobile Filter Begin */
  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);
  }
  /* Mobile Filter End */

  .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;
    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: clamp(11px, 3.3vw, 14px);
  }

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

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

  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 .chip {
    padding: 0 13px;
  }

  .catalog-category-tabs .chip: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 Begin */
  .catalog-mobile-tags {
    min-width: 0;
    display: flex;
    align-items: center;
    display: none;
    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-tags button,
  .catalog-mobile-tags a {
    height: 25px;
    border-radius: 999px;
    padding: 0 10px;
    gap: 5px;
    background: #eaf2ff;
    color: var(--blue);
    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;
  }

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

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

  .catalog-mobile-filter-btn {
    min-width: 164px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    column-gap: 10px;
    border: 0;
    border-radius: 10px;
    padding: 0 15px;
    background-color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.5px;
    color: var(--white);
    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);
    font-size: 12px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--blue);
  }

  .catalog-sort-row {
    column-gap: 8px;
  }

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

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

  .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;
  }

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

  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;
  }
  /* Catalog Mobile Sort End */

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

  .catalog-loader {
    width: 100%;
    min-height: 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    padding: 0 16px;
    border-radius: 16px;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-soft);
  }

  .catalog-loader strong {
    margin: 16px auto 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    white-space: normal;
    color: var(--text-dark);
    text-align: center;
  }

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

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

  .catalog-topup,
  .catalog-topup-row {
    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);
  }

  .catalog-topup-row .topup-info {
    min-height: 54px;
    gap: 10px;
  }

  .catalog-topup-row .topup-info > img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
  }

  .catalog-topup-row .topup-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
  }

  .catalog-topup-row .topup-title span {
    height: 18px;
    min-width: 28px;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 9px;
  }

  .catalog-topup-row .promo-small {
    height: 24px;
    margin-top: 8px;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 9px;
  }

  .catalog-topup-row .form-field,
  .catalog-topup-row .amount-field-shell {
    height: 50px;
    border-radius: 9px;
    padding-inline: 12px;
  }

  .catalog-topup-row .login-field input,
  .catalog-topup-row .amount-control input,
  .catalog-topup-row .amount-value {
    font-size: 13px;
    font-weight: 800;
  }

  .catalog-topup-row .form-field input::placeholder,
  .catalog-topup-row .amount-field small {
    font-size: 10px;
    font-weight: 800;
  }

  .catalog-topup-row .field-info {
    width: 17px;
    height: 17px;
  }

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

  .catalog-topup-row .amount-field {
    order: 4;
  }

  .catalog-topup-row .amount-field-shell {
    gap: 10px;
  }

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

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

  .catalog-topup-row .pay-btn {
    height: 52px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
  }

  .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;
  }
}

@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 10px;
    font-size: 18px;
    line-height: 120%;
  }

  .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;
    padding: 0 8px;
    border-width: 2px;
  }

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

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

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

  .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 .chip {
    padding: 0 12px;
  }
}

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

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