@font-face { font-family: "SF"; src: url("/brand/fonts/SF-Pro-Display-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "SF"; src: url("/brand/fonts/SF-Pro-Display-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SF"; src: url("/brand/fonts/SF-Pro-Display-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "SF"; src: url("/brand/fonts/SF-Pro-Display-Semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SF"; src: url("/brand/fonts/SF-Pro-Display-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blue: #35b4d0;
  --blue-dark: #2a9bb5;
  --ink: #000;
  --muted: #5b5b5b;
  --line: #e2e2e2;
  --card: #f8f6fa;
  --sf: "SF", Arial, sans-serif;
  --safe-top: 0px;
  --safe-bottom: 0px;
  --tab-h: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sf);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.app {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding-top: var(--safe-top);
  background: #fff;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.logo-link { display: block; margin-right: auto; }
.logo { height: 16px; width: auto; }

.banner {
  margin: 12px 16px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.view {
  padding: 16px 16px calc(var(--tab-h) + var(--safe-bottom) + 24px);
}

.h1 { margin: 0 0 16px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.howto { margin: 0 0 14px; }
.howto__title { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.howto__row { display: flex; gap: 8px; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; }
.howto__card { flex: 0 0 220px; margin: 0; padding: 10px; border-radius: 12px; background: var(--card); }
.howto__card p { margin: 0 0 8px; font-size: 12px; font-weight: 400; line-height: 1.3; }
.howto__card strong { font-weight: 700; }
.howto__main { display: block; width: 100%; max-height: 64px; object-fit: contain; }
.howto__art { position: relative; }
.howto__art--1 { min-height: 72px; padding: 10px 22px 2px; }
.howto__art--1 .howto__main { width: 70%; max-height: 52px; margin: 0 auto; }
.howto__badge { position: absolute; height: auto; }
.howto__badge--try { top: 0; left: 0; width: 22px; }
.howto__badge--rub { bottom: 0; left: 0; width: 36px; }
.howto__badge--usd { top: 4px; right: 0; width: 26px; }
.howto__badge--big { right: 0; bottom: 0; width: 34px; }
.howto__art--3 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.howto__art--3 .howto__main { width: auto; max-width: 78%; max-height: 52px; }
.howto__side { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
.howto__icon { width: 16px; height: auto; }
.howto__icon--store { width: 18px; }
.h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.popular { margin: 0 0 18px; }
.popular .hint { margin: 8px 0 0; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: inherit;
  cursor: pointer;
}
.chip img { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; }
.chip strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.chip small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.lead { margin: -8px 0 16px; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.45; }
.regions-lead { margin: 0 0 12px; }
.muted { color: var(--muted); font-weight: 300; }
.empty { padding: 24px 0; color: var(--muted); font-weight: 300; }
.error { margin: 12px 0 0; color: #f95d51; font-size: 14px; line-height: 1.35; }

.region, .nominal, .order-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--card);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.region:active, .nominal:active, .order-link:active { background: #eceaf0; }
.region img { width: 36px; height: 24px; object-fit: cover; border-radius: 3px; }
.region strong, .order-link strong { font-weight: 500; }
.region small, .nominal small, .order-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 300; }
.chevron { margin-left: auto; color: var(--muted); font-weight: 300; transition: transform .2s ease; }
.region.is-open { margin-bottom: 0; border-radius: 10px 10px 0 0; }
.region.is-open .chevron { transform: rotate(90deg); }

.skus { margin: 0 0 10px; padding: 0 12px 12px; border-radius: 0 0 10px 10px; background: var(--card); }
.sku { padding: 12px 0; border-top: 1px solid #e7e4ea; }
.sku__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sku__name { font-weight: 500; line-height: 1.3; }
.sku__price { font-weight: 600; white-space: nowrap; }
.sku__row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; height: 40px; border: 1px solid #777; border-radius: 10px; background: #fff; }
.qty button { width: 36px; height: 40px; padding: 0; border: 0; background: transparent; color: #000; font-size: 20px; line-height: 1; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; font-size: 16px; }
.sku__buy { flex: 1; height: 40px; margin: 0; padding: 0 12px; }

.nominal { justify-content: space-between; min-height: 64px; }
.nominal b { font-size: 18px; font-weight: 600; white-space: nowrap; }

.product-hero { margin: 0 0 16px; border-radius: 10px; background: var(--card); overflow: hidden; }
.product-hero img { width: 100%; aspect-ratio: 100 / 66; object-fit: cover; }
.price { font-size: 22px; font-weight: 600; }
.descr { margin: 12px 0 0; color: #000; font-size: 14px; font-weight: 300; line-height: 1.5; opacity: .75; }

.field { margin-bottom: 16px; }
.label { display: block; padding: 0 0 6px; font-size: 16px; font-weight: 300; }
.hint { padding: 0 0 10px; font-size: 12px; font-weight: 300; line-height: 1.45; opacity: .7; }
.input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font: 400 16px/1.33 var(--sf);
  outline: none;
}
.input:focus { border-color: var(--blue); }

.check { position: relative; display: flex; align-items: flex-start; font-size: 14px; font-weight: 300; line-height: 1.35; cursor: pointer; }
.check input { position: absolute; z-index: -1; opacity: 0; }
.check i { position: relative; flex: none; width: 20px; height: 20px; margin-right: 10px; border: 2px solid #000; opacity: .6; }
.check input:checked + i { opacity: 1; }
.check input:checked + i::after { content: ""; position: absolute; top: 1px; left: 5px; width: 4px; height: 9px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check a { color: var(--blue); }

.card { margin-top: 8px; padding: 14px; border-radius: 10px; background: var(--card); }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.row:first-child { margin-top: 0; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 16px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font: 400 16px/1.4 var(--sf);
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn.sku__buy { flex: 1; height: 40px; margin: 0; padding: 0 12px; }
.btn.ghost { background: transparent; color: #000; border: 1px solid #000; }

.code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
}
.code span { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 14px; word-break: break-all; }
.code button { flex: none; height: 36px; margin: 0; padding: 0 12px; width: auto; }

.tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 6;
  display: flex;
  width: 100%;
  max-width: 480px;
  transform: translateX(-50%);
  padding-bottom: var(--safe-bottom);
  border-top: 1px solid var(--line);
  background: #fff;
}
.tabs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--tab-h);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.tabs a.active { color: var(--blue); font-weight: 600; }
