:root {
  --lime: #ffdd2d;
  --lime-2: #f5c400;
  --ink: #1c2128;
  --muted: #8b939e;
  --soft: #5c6672;
  --line: #e7eaef;
  --bg: #f4f5f7;
  --card: #fff;
  --mint: #fff4c2;
  --link: #1a1a1a;
  --orange: #e07a20;
  --shadow: 0 10px 28px rgba(24, 32, 44, 0.05);
  --font: "Inter", "Noto Sans SC", "Noto Sans KR", "Noto Sans JP", "Noto Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::placeholder { color: #a0a7b2; }
:focus-visible { outline: 2px solid #e0b000; outline-offset: 2px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}
.top__in {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #172018;
}
.apps {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
}
.apps i {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #c5cad1;
  display: block;
}
.logo__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.searchwrap { position: relative; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #f3f4f6;
  border-radius: 12px;
}
.search svg {
  width: 18px;
  height: 18px;
  stroke: #9aa3ae;
  fill: none;
  stroke-width: 2;
  flex: none;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  height: 100%;
}
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 28, 40, 0.12);
  padding: 6px;
  z-index: 25;
}
.suggest a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}
.suggest a:hover { background: #f4fbe8; }
.suggest small { display: block; color: var(--muted); font-size: 12px; }

.tools { display: flex; align-items: center; gap: 6px; }
.balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 6px 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.balance i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--lime);
  color: #172018;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}
.iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3a4250;
  text-decoration: none;
  position: relative;
}
.iconbtn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iconbtn:hover, .iconbtn.is-on { background: #fff8d6; }
.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--lime);
  color: #172018;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.lang { position: relative; }
.lang__btn {
  height: 40px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 18px;
}
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: #98a1ab; stroke-width: 2; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 28, 40, 0.12);
  padding: 6px;
  min-width: 196px;
  max-height: 360px;
  overflow: auto;
  z-index: 25;
}
.lang__menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 650;
  text-align: start;
  cursor: pointer;
  color: var(--ink);
}
.lang__menu button:hover,
.lang__menu button.is-on { background: var(--mint); }
html[dir="rtl"] .lang__menu { right: auto; left: 0; }
html[dir="rtl"] .shell,
html[dir="rtl"] .top__in,
html[dir="rtl"] .foot__in { direction: rtl; }

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0 72px;
}
body.is-account .shell { grid-template-columns: 300px minmax(0, 1fr); }
.side {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding-right: 4px;
}
.side::-webkit-scrollbar { width: 8px; }
.side::-webkit-scrollbar-thumb { background: #e1e4ea; border-radius: 99px; }
.side__label, .menu__cap {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3ae;
  padding: 4px 12px 8px;
}
.nav a, .menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #2a313b;
}
.nav a .cnt, .sub a .cnt {
  margin-left: auto;
  color: #a0a8b3;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nav a:hover, .menu a:hover { background: #f4f6f8; }
.nav a.is-on, .menu a.is-on { background: var(--mint); }
.nav a.is-on:hover, .menu a.is-on:hover { background: #ffe98a; }
.nav__i { width: 18px; height: 18px; display: grid; place-items: center; flex: none; }
.nav__i svg { width: 18px; height: 18px; }
.grp {
  margin: 14px 10px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0b6c0;
}
.sub a { padding-left: 38px; font-size: 13.5px; }

.pagehead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.pagehead h1, .block h2, .guide h2, .empty h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.note { margin: -4px 0 16px; color: var(--soft); max-width: 760px; }
.headtools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.count { color: var(--muted); white-space: nowrap; }
.count b { color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.sort select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  height: 40px;
  padding: 0 12px;
  font-weight: 700;
  color: var(--ink);
}
.btn.navbtn { display: none; }

.btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: #fff;
}
.btn svg { width: 18px; height: 18px; }
.btn--lime { background: var(--lime); color: #172018; }
.btn--lime:hover { background: var(--lime-2); }
.btn--ghost { background: #fff; border-color: var(--line); }
.btn--ghost:hover { background: #f7f8fa; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.filtersbtn { position: relative; }
.filtersbtn.has::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  position: absolute;
  top: 6px;
  right: 6px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin: -4px 0 14px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.field span, .field__lab span { font-size: 13px; color: var(--soft); font-weight: 600; }
.field input, .field select, .sheet input, .pass input, .help input, .amount input {
  height: 42px;
  border: 0;
  background: #f5f6f8;
  border-radius: 12px;
  padding: 0 12px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  font-weight: 600;
}
.filters__btns { display: flex; gap: 8px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(24, 32, 44, 0.08); }
.card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.card__top {
  position: relative;
  height: 104px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffbeb 0%, #ffe992 100%);
  overflow: hidden;
}
.card__wm {
  position: absolute;
  right: -6px;
  bottom: -36px;
  font-size: 104px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(160, 120, 0, 0.16);
  line-height: 1;
  pointer-events: none;
}
.card__brand {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.pico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(20, 40, 20, 0.06);
}
.pico svg { width: 22px; height: 22px; }
.card__name { font-weight: 700; font-size: 13px; }
.card h3 {
  margin: 12px 6px 6px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0 6px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
}
.clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 6px;
}
.card__price { margin-right: auto; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #98a0aa;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.meta svg { width: 14px; height: 14px; display: block; }
.meta.sold { color: var(--link); }
.card__actions {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.card__actions button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #66707c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  opacity: 0;
}
.card:hover .card__actions button, .card__actions button.on { opacity: 1; }
.card__actions button.on { color: var(--link); }
.card__actions svg { width: 16px; height: 16px; }

.guide { margin-top: 34px; }
.guide h2 { margin-bottom: 10px; }
.guide__text { margin: 0; color: #3c4652; font-size: 15px; line-height: 1.6; max-width: 920px; }
.guide__count { font-weight: 800; margin: 14px 0; }
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 8px 0 18px;
}
.points article { border-left: 3px solid var(--lime); padding-left: 14px; }
.points h3 { margin: 0 0 6px; font-size: 15px; }
.points p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.45; }
.glinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid #eceff3;
}
.glinks strong { margin-right: 6px; }
.glinks a { color: var(--link); font-weight: 700; text-decoration: none; }
.glinks a:hover { text-decoration: underline; }
.glinks a.is-on { color: #0e6b32; }
.faq { border-bottom: 1px solid #eceff3; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 4px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(45deg);
  margin-top: -4px;
  flex: none;
}
.faq[open] summary::before { transform: rotate(-135deg); margin-top: 2px; }
.faq p { margin: 0 0 14px 26px; color: var(--soft); }

.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--soft); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--link); }
.product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.hero, .buy, .block, .who, .balcard, .menu, .order {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hero { padding: 18px; }
.hero__top {
  position: relative;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffbeb, #ffe992);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  margin-bottom: 14px;
}
.hero__top .card__wm { font-size: 160px; bottom: -58px; }
.hero h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }
.hero .lead { margin: 0 0 14px; color: var(--soft); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 16px; height: 16px; color: var(--link); flex: none; margin-top: 2px; }
.buy { padding: 18px; position: sticky; top: 86px; }
.buy__price { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; margin: 4px 0; }
.buy__meta { display: flex; gap: 14px; color: var(--muted); margin-bottom: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.stepper button { width: 36px; height: 36px; border: 0; background: #fff; font-size: 18px; }
.stepper span { min-width: 28px; text-align: center; font-weight: 800; }
.buy .btn { width: 100%; margin-top: 8px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.specs div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.specs dt { color: var(--muted); font-size: 12px; }
.specs dd { margin: 2px 0 0; font-weight: 800; }
.rel { margin: 28px 0 12px; font-size: 22px; letter-spacing: -0.03em; }

.cart { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.line h3 { margin: 0 0 4px; font-size: 15px; }
.line p { margin: 0; color: var(--muted); font-size: 13px; }
.line a { text-decoration: none; }
.x {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  width: 32px;
  height: 32px;
}
.sum { background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); position: sticky; top: 86px; }
.sum row, .sum__row { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0; }
.sum strong.big { font-size: 24px; }
.sum .btn { width: 100%; margin-top: 8px; }
.warn { color: #a15b12; font-weight: 700; }

.empty {
  background: #fff;
  border-radius: 20px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.empty p { color: var(--soft); }

.who, .balcard { padding: 14px 16px; }
.who {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, #fff8d8, #fff);
  border: 1px solid #f3e2a0;
  box-shadow: none;
}
.who__av, .who__av img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.letter {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #172018;
  font-weight: 800;
  font-size: 22px;
}
.who__meta { min-width: 0; }
.who__meta strong, .who__meta em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.who__meta em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 13px; }
.balcard {
  margin-top: 12px;
  background: linear-gradient(180deg, #fff8d8, #fff);
  border: 1px solid #e4f5cf;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.balcard span {
  color: var(--link);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.balcard strong { display: block; font-size: 28px; letter-spacing: -0.03em; }
.balcard button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  font-size: 22px;
  font-weight: 700;
  color: #172018;
}
.menu { margin-top: 12px; padding: 8px; box-shadow: none; border: 1px solid #eef1f4; }
.menu a svg { width: 18px; height: 18px; color: #66707c; flex: none; }
.block { padding: 18px 18px 16px; margin-bottom: 14px; }
.block h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.subhead { margin: 4px 0 14px; color: var(--muted); }
.profile {
  display: flex;
  gap: 14px;
  align-items: center;
}
.ava-wrap { position: relative; width: 84px; height: 84px; flex: none; }
.ava-wrap .ava {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: var(--lime);
  font-size: 32px;
}
.cam {
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cam svg { width: 14px; height: 14px; }
.upload { font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.upload svg, .block h2 svg, .amount svg { width: 18px; height: 18px; flex: none; }
.hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field__lab { display: flex; align-items: center; gap: 8px; }
.ok {
  font-style: normal;
  background: #fff4c2;
  color: var(--link);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}
.ok.off { background: #f3f4f6; color: var(--muted); }
.saverow { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.saverow .hint { margin: 0 auto 0 0; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; }
.switchline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  font-weight: 600;
}
.pass { display: grid; gap: 12px; max-width: 420px; }
.sheet { width: 100%; border-collapse: collapse; }
.sheet td { padding: 12px 4px; border-bottom: 1px solid #eef1f4; }
.sheet td:last-child { text-align: right; white-space: nowrap; }
.plus { color: var(--link); font-weight: 800; }
.minus { font-weight: 800; }
.order { padding: 14px 16px; margin-bottom: 10px; }
.order header { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.order header span { color: var(--muted); }
.order ul { margin: 8px 0; padding-left: 18px; }
.st {
  margin-left: auto;
  background: #fff4c2;
  color: #1c7a38;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}
.act { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f4; }
.act time { color: var(--muted); white-space: nowrap; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 36, 48, 0.46);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 18px;
}
.dialog {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.dialog__head { display: flex; gap: 12px; align-items: flex-start; }
.dialog__head h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.dialog__head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex: none;
  color: #172018;
}
.tile svg { width: 20px; height: 20px; }
.dialog__x { margin-left: auto; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #66707c; }
.midlabel {
  text-align: center;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #98a1ab;
  font-weight: 800;
  margin: 16px 0 10px;
}
.method {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1.5px solid #e8ebf0;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}
.method.is-on { border-color: #f0c400; background: #fff8d6; }
.method strong { display: flex; align-items: center; gap: 8px; }
.method small { display: block; color: var(--soft); margin-top: 2px; }
.mico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.mico svg { width: 22px; height: 22px; }
.mico--crypto { background: #fff4d6; color: #c48a05; }
.mico--bank { background: #fff6d8; color: #1a1a1a; }
.mico--card { background: #e7f0ff; color: #3b6fd8; }
.method__radio {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #d5dbe3;
  display: grid;
  place-items: center;
  flex: none;
}
.method.is-on .method__radio { background: var(--lime); border-color: var(--lime); }
.rec {
  background: #dff8c4;
  color: #1c7a38;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 8px;
  font-style: normal;
}
.fee { color: var(--link); font-weight: 800; }
.fee.warn { color: var(--orange); }
.amount {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f6f8;
  border-radius: 12px;
  padding: 0 12px;
  height: 48px;
}
.amount input { flex: 1; background: transparent; font-weight: 800; outline: none; }
.suffix { color: var(--muted); font-weight: 800; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chips button {
  flex: 1;
  min-width: 52px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}
.chips button.is-on { background: #fff8d6; border-color: #f0d35a; }
.range { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0; }
.estimate {
  margin-top: 8px;
  background: #fff8d6;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.dialog__actions { display: flex; gap: 10px; margin-top: 14px; }
.dialog__actions .btn { flex: 1; height: 46px; }
.notebox {
  background: #f6f7f9;
  border-radius: 12px;
  padding: 12px;
  color: var(--soft);
  margin-top: 8px;
}

.help-tab {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 35;
  border: 0;
  background: var(--lime);
  color: #172018;
  border-radius: 14px 0 0 14px;
  padding: 14px 10px;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.help {
  position: fixed;
  right: 16px;
  bottom: 74px;
  width: min(360px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  z-index: 40;
  display: flex;
  flex-direction: column;
  max-height: min(480px, calc(100vh - 120px));
}
.help header, .help form { display: flex; align-items: center; gap: 8px; padding: 12px; }
.help header { justify-content: space-between; border-bottom: 1px solid var(--line); }
.help header button { border: 0; background: transparent; font-size: 22px; }
.help__log { overflow: auto; padding: 12px; display: grid; gap: 8px; }
.help__log p { margin: 0; padding: 8px 10px; border-radius: 12px; background: #f4f6f8; }
.help__log .you { background: #fff4c2; justify-self: end; }
.help form input { flex: 1; }
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: #172018;
  z-index: 35;
  display: grid;
  place-items: center;
}
.totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #1c2128;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 70;
  font-weight: 650;
}
.foot { border-top: 1px solid #e7eaef; background: #fff; }
.foot__in {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  color: var(--soft);
}
.foot strong { color: var(--ink); display: block; }
.foot p { margin: 4px 0 0; max-width: 460px; }
.foot__links { display: flex; gap: 14px; flex-wrap: wrap; }
.foot__links a { text-decoration: none; font-weight: 700; color: var(--ink); }

@media (max-width: 960px) {
  .shell, body.is-account .shell { grid-template-columns: 1fr; }
  body:not(.is-account) .side { display: none; }
  body:not(.is-account).nav-open .side {
    display: block;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    top: 76px;
    max-height: calc(100vh - 96px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.14);
    padding: 12px;
  }
  body.is-account .side { position: static; max-height: none; }
  body:not(.is-account) .btn.navbtn { display: inline-flex; }
  .points, .product, .cart, .formgrid { grid-template-columns: 1fr; }
  .buy, .sum { position: static; }
  .pagehead { flex-direction: column; }
  .headtools { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .top__in {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }
  .searchwrap { grid-column: 1 / -1; }
  .help-tab { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(1240px, calc(100% - 24px)); }
  .apps { display: none; }
  .pagehead h1 { font-size: 24px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}
@media (hover: none) {
  .card__actions button { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
