@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  --banner-notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 263' preserveAspectRatio='none'%3E%3Cpath d='M12 0H1078a24 24 0 0 1 24 24v24h74a24 24 0 0 1 24 24v179a12 12 0 0 1-12 12H12a12 12 0 0 1-12-12V12A12 12 0 0 1 12 0Z' fill='%23fff'/%3E%3C/svg%3E");
  --page: #f4f5f7;
  --surface: #ffffff;
  --ink: #1f2937;
  --ink-strong: #14181d;
  --ink-icon-label: #363636;
  --muted: #8a94a6;
  --muted-soft: #76829b;
  --muted-price: #9ca3af;
  --price: #4c9a2a;
  --black: #000000;
  --field: #f4f5f7;
  --line: #e8eaed;
  --line-header: #f2f4f7;
  --line-pill: #e5e9f1;
  --favorite-bg: #eff1f5;
  --promo-bg: rgba(38, 139, 243, .1);
  --promo-ink: #268bf3;
  --shadow-block: 0 10px 34px rgba(20, 40, 80, .08);
  --shadow-product: 0 12px 25px rgba(20, 40, 80, .1);
  --shadow-icon: 0 4px 8px #d1d9e4;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }

.shell {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--surface);
  min-height: 100vh;
}

.page-pad { padding: 0 40px 60px; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-header);
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo span { color: var(--price); }

.header__lead { width: 192px; flex: none; }

.catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 120px;
  height: 44px;
  flex: none;
  background: var(--black);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.catalog-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
.catalog-button[aria-expanded='true'] { background: #23262c; }

.catalog-glyph { display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; }
.catalog-glyph i { width: 6px; height: 6px; background: #fff; border-radius: 1px; display: block; }

.search {
  position: relative;
  width: 688px;
  flex: none;
  margin-left: 76px;
  height: 44px;
  background: var(--black);
  border-radius: 10px;
  padding: 2px 46px 2px 2px;
}
.search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  padding: 0 6px 0 12px;
}
.search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.search input::placeholder { color: var(--muted-soft); font-weight: 600; }
.search__favorite {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 6px;
  background: var(--favorite-bg);
  color: var(--muted-soft);
  display: grid;
  place-items: center;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.search__favorite:hover { background: #e3e7ee; color: var(--ink); }
.search__submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 0 10px 10px 0;
}

.profile {
  width: 44px;
  height: 44px;
  flex: none;
  margin-left: auto;
  border-radius: 10px;
  background: var(--line-header);
  color: var(--muted-soft);
  display: grid;
  place-items: center;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.profile:hover { background: #e6eaf1; transform: translateY(-1px); }

.catalog-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  box-shadow: 0 24px 50px rgba(20, 40, 80, .14);
  display: none;
  z-index: 39;
}
.catalog-menu[data-open='true'] {
  display: grid;
  grid-template-columns: 320px 1fr;
  animation: menu-in .2s var(--ease);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.catalog-menu__sections { padding: 16px 0; }
.catalog-menu__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 40px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-soft);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.catalog-menu__section:hover,
.catalog-menu__section[aria-selected='true'] { background: var(--field); color: var(--ink); }
.catalog-menu__section svg { opacity: .5; flex: none; }

.catalog-menu__columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 24px;
  padding: 32px 32px 40px;
  align-content: start;
}
.catalog-column h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.catalog-column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.catalog-column a { color: var(--muted-soft); font-size: 13px; font-weight: 600; transition: color .16s var(--ease); }
.catalog-column a:hover { color: var(--price); }

.banner {
  position: relative;
  margin: 16px 0;
  aspect-ratio: 1200 / 263;
}
.banner__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
  border-radius: 12px;
  -webkit-mask-image: var(--banner-notch);
  mask-image: var(--banner-notch);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.banner__track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.banner__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
  color: #fff;
  background: var(--black);
  overflow: hidden;
}
.banner__art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  background-size: cover;
  background-position: center 32%;
  opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%);
  mask-image: linear-gradient(90deg, transparent, #000 48%);
}
.banner__content { position: relative; z-index: 1; max-width: 54%; }
.banner__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fe07f;
  margin-bottom: 10px;
}
.banner__title { margin: 0 0 8px; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.banner__text { margin: 0; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .72); }

.banner__arrows {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  width: 90px;
  height: 40px;
  padding: 3px;
  border-radius: 48px;
  background: var(--field);
  border: 1px solid var(--line-pill);
}
.banner__arrows button {
  width: 40px;
  height: 34px;
  border-radius: 40px;
  display: grid;
  place-items: center;
  color: var(--ink-strong);
  transition: background .16s var(--ease), transform .16s var(--ease);
}
.banner__arrows button:hover { background: #e6eaf1; transform: scale(1.05); }

.banner__dots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 4px;
}
.banner__dots button {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  transition: background .2s var(--ease);
}
.banner__dots button[aria-current='true'] { background: #fff; }

.services-block {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-block);
  margin-bottom: 16px;
}

.services {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 76px;
  flex: none;
  overflow: visible;
}
.service__icon {
  width: 76px;
  height: 76px;
  padding: 2px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  transition: transform .22s var(--ease);
}
.service img,
.service__more {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-icon);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service span {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--ink-icon-label);
  max-width: 104px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  transition: color .2s var(--ease);
}
.service:hover .service__icon { transform: translateY(-4px); }
.service:hover img,
.service:hover .service__more { transform: scale(1.04); box-shadow: 0 12px 22px rgba(20, 40, 80, .22); }
.service:hover span { color: var(--ink-strong); }

.service__more {
  background: var(--field);
  color: var(--muted);
  display: grid;
  place-items: center;
  box-shadow: none;
}

.services-divider { height: 1px; background: var(--line); margin: 16px 0; }

.topup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topup__brand { display: flex; align-items: center; gap: 12px; width: 290px; flex: none; }
.topup__brand img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.topup__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink-strong); white-space: nowrap; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 33px;
  height: 20px;
  padding: 0 8px;
  background: #6eb83f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}
.promo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  height: 26px;
  padding: 0 12px;
  background: var(--promo-bg);
  color: var(--black);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s var(--ease);
}
.promo-toggle svg { margin-left: 4px; }
.promo-toggle:hover { background: rgba(38, 139, 243, .18); }

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field:focus-within { background: #fff; border-color: #dfe3ea; }
.field svg { color: var(--muted); flex: none; }
.field input { border: none; background: none; outline: none; width: 100%; font-size: 15px; font-weight: 700; }
.field input::placeholder { color: var(--muted-soft); font-weight: 700; }
.field__label { font-size: 12px; font-weight: 700; color: var(--muted); }
.field__value { font-size: 18px; font-weight: 700; color: var(--ink-strong); }
.field--login { width: 285px; flex: none; }
.field--amount { width: 342px; flex: none; justify-content: space-between; padding: 0 16px; }
.field__hint {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  background: #a0a8b5;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: Georgia, serif;
}

.currency { display: flex; gap: 6px; }
.currency button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.currency button:hover { color: var(--ink-strong); }
.currency button[aria-pressed='true'] { background: var(--black); color: #fff; transform: scale(1.03); }

.topup .button-primary { width: 200px; padding: 0; }

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  flex: none;
  padding: 0 32px;
  background: var(--black);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, .24); }
.button-primary:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.button-ghost:hover { background: #e8ebf1; transform: translateY(-1px); }

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 34px;
  margin-bottom: 16px;
}
.section-head h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }

.section-head--reviews { height: 49px; align-items: flex-start; margin: 0 0 43px; }
.section-head--reviews h2 { font-size: 18px; line-height: 30px; }
.section-head__note { margin: 2px 0 0; font-size: 12px; line-height: 17px; font-weight: 500; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid #f2f4f6;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .06);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 23, 42, .12); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review__name { font-size: 16px; font-weight: 800; color: var(--ink-strong); }
.review__score { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.review__stars { font-size: 15px; color: #f5b400; letter-spacing: 1px; }
.review__rating { font-size: 14px; font-weight: 700; color: var(--ink); }
.review__time { margin-left: auto; align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--muted-price); white-space: nowrap; }
.review__text {
  margin: 0;
  background: #f1f2f4;
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #6b7280;
}
.review__product { display: flex; align-items: center; gap: 12px; }
.review__product img { width: 64px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.review__product-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review__price {
  margin-left: auto;
  flex: none;
  background: var(--black);
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.footer {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px 24px 53px;
  margin-top: 32px;
  box-shadow: 0 20px 50px rgba(20, 30, 60, .08);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef1f6;
  font-size: 15px;
  font-weight: 700;
}
.footer__nav a { transition: color .16s var(--ease); }
.footer__nav a:hover { color: var(--price); }
.footer__middle { display: flex; align-items: center; gap: 14px; padding: 22px 0; }
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f5f9;
  display: grid;
  place-items: center;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.footer__socials a:hover { background: #e7ebf3; transform: translateY(-2px); }
.footer__socials img { width: 18px; height: 18px; object-fit: contain; }
.footer__payments { margin-left: auto; height: 28px; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 18px 0 0;
  border-top: 1px solid #eef1f6;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.footer__legal a { transition: color .16s var(--ease); }
.footer__legal a:hover { color: var(--price); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--field);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.chip__icon {
  width: 14px;
  height: 14px;
  flex: none;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.chip:hover { transform: translateY(-1px); background: #e8ebf1; }
.chip[aria-pressed='true'] { background: var(--black); color: #fff; }

.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}
.products--spaced { margin-bottom: 43px; }
.products--before-reviews { margin-bottom: 67px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-product);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(20, 40, 80, .18); }
.card__media { height: 152px; overflow: hidden; background: var(--field); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 12px 13px 15px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card__title {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}
.card__prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card__price { color: var(--price); font-weight: 700; font-size: 20px; }
.card__old { color: var(--muted-price); font-size: 11.5px; font-weight: 700; text-decoration: line-through; }
.card .button-primary { width: 100%; height: 42px; padding: 0; font-size: 12.5px; font-weight: 800; border-radius: 11.5px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 12, 18, .45);
  backdrop-filter: blur(3px);
}
.modal[data-open='true'] { display: flex; }
.modal__panel {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(20, 40, 80, .22);
  animation: modal-in .22s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.modal__head img { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; }
.modal h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--ink-strong); }
.modal .field { height: 52px; }
.modal .button-primary { height: 48px; font-size: 14px; }

.summary { display: grid; gap: 8px; margin: 16px 0; font-size: 13px; font-weight: 600; }
.summary div { display: flex; justify-content: space-between; }
.summary div[hidden] { display: none; }
.summary .total { font-weight: 800; font-size: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.summary .discount { color: var(--price); }

.hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.error { font-size: 12.5px; font-weight: 600; color: #d33c3c; min-height: 16px; }

.status-page { max-width: 720px; margin: 0 auto; padding: 34px 40px 70px; }
.status-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-block);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--field);
  color: var(--muted-soft);
}
.status-badge[data-tone='success'] { background: rgba(76, 154, 42, .12); color: var(--price); }
.status-badge[data-tone='progress'] { background: #eaf1ff; color: #2f6bd8; }
.status-badge[data-tone='warning'] { background: #fff4e2; color: #c07a10; }
.status-badge[data-tone='danger'] { background: #fdeaea; color: #d33c3c; }
.status-badge::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }

.code-box {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px dashed #c7c7d6;
  border-radius: 12px;
  background: var(--field);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
}

.timeline { display: grid; gap: 10px; margin: 20px 0 0; }
.timeline__row { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted-soft); }
.timeline__dot { width: 9px; height: 9px; border-radius: 999px; background: #d4d9e2; flex: none; }
.timeline__row[data-done='true'] { color: var(--ink-strong); font-weight: 700; }
.timeline__row[data-done='true'] .timeline__dot { background: var(--price); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.actions .button-primary { height: 48px; font-size: 14px; }

.panel {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-block);
}
.panel h2 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }

table { width: 100%; border-collapse: collapse; font-size: 13px; font-weight: 600; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
code { font-family: 'SF Mono', ui-monospace, Menlo, monospace; font-size: 12px; }
pre {
  background: #0f0f14;
  color: #d8ffd8;
  padding: 14px;
  border-radius: 10px;
  overflow: auto;
  font-size: 12px;
  max-height: 320px;
}

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  min-width: 200px;
  font-weight: 600;
}
.toolbar .button-primary { height: 40px; font-size: 13px; padding: 0 18px; }

@media (max-width: 1400px) {
  .header__lead { display: none; }
  .search { flex: 1; width: auto; margin-left: 20px; }
  .catalog-button { margin-left: 0; }
}

@media (max-width: 1200px) {
  .header { gap: 12px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .services { flex-wrap: wrap; justify-content: flex-start; gap: 16px; }
  .topup { flex-wrap: wrap; }
  .field--login, .field--amount { width: auto; flex: 1; min-width: 240px; }
  .catalog-menu[data-open='true'] { grid-template-columns: 1fr; }
  .catalog-menu__columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .reviews { grid-template-columns: 1fr; }
  .footer__middle { flex-wrap: wrap; }
  .footer__payments { margin-left: 0; }
}

@media (max-width: 720px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .banner__viewport { -webkit-mask-image: none; mask-image: none; }
  .banner__arrows { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
