/* Фон и сетка каталога поверх базовых стилей лендинга */
body {
  background-color: #090b08 !important;
  background-image:
    linear-gradient(180deg, rgba(6, 8, 5, 0.78) 0%, rgba(9, 11, 8, 0.9) 50%, rgba(9, 11, 8, 0.96) 100%),
    url("/bg-fakecryptoe-flash.png") !important;
  background-position: center top, center top !important;
  background-size: 100% 100%, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, fixed !important;
}

main {
  position: relative;
  z-index: 1;
}

.section-lead {
  max-width: 52rem;
  color: #b8c0b4 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  margin-top: 10px !important;
}

.store-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.store-steps article {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(200, 255, 61, 0.14);
  background: rgba(17, 21, 15, 0.75);
}

.store-steps .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #10130c;
  background: #c8ff3d;
}

.store-steps p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-steps b {
  font-size: 13px;
  color: #f7f9f3;
}

.store-steps small {
  font-size: 11px;
  color: #8b9682;
  line-height: 1.35;
}

.products.shell .shop {
  align-items: start;
}

.products.shell .calculator {
  position: sticky;
  top: 76px;
}

.product-info em {
  display: block;
  margin-top: 4px;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #9aa392 !important;
}

.product-card--active {
  outline: 2px solid rgba(200, 255, 61, 0.35);
  outline-offset: 0;
}

.checkout {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

.calculator > p:last-child {
  font-size: 11px !important;
  color: #8b9682 !important;
  line-height: 1.45 !important;
}

.product-list {
  grid-template-columns: 1fr !important;
}

.product-card {
  min-height: 112px !important;
}

/* Верхняя панель на всю ширину, не «полоска» по центру */
main > nav.nav.shell {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
  gap: 16px !important;
  min-height: 68px;
  height: auto !important;
  padding: 10px clamp(16px, 4vw, 28px);
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(200, 255, 61, 0.14);
  background: rgba(8, 10, 7, 0.92) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

main > nav.nav.shell .brand {
  min-width: 0;
  flex: 1 1 auto;
}

main > nav.nav.shell .brand > span:last-child {
  min-width: 0;
}

main > nav.nav.shell .brand b {
  font-size: 15px !important;
  color: #f7f9f3 !important;
}

main > nav.nav.shell .brand small {
  color: #8b9682 !important;
  letter-spacing: 0.14em !important;
  font-size: 7px !important;
}

/* Выбор языка — фиксированный, не внутри React-nav */
.ft-lang-bar {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 250;
  font-family: system-ui, sans-serif;
}

.ft-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  background: rgba(8, 10, 7, 0.94);
  color: #f7f9f3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.ft-lang-current-flag {
  display: flex;
  line-height: 0;
}

.ft-lang-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #c8ff3d;
  opacity: 0.85;
}

.ft-lang-bar--open .ft-lang-chevron {
  transform: rotate(180deg);
}

.ft-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  max-height: min(320px, 60vh);
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(200, 255, 61, 0.2);
  background: rgba(10, 12, 9, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.ft-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #eef2ea;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.ft-lang-option:hover {
  background: rgba(200, 255, 61, 0.1);
}

.ft-lang-option.active {
  background: rgba(200, 255, 61, 0.16);
  outline: 1px solid rgba(200, 255, 61, 0.35);
}

.ft-lang-option img {
  flex-shrink: 0;
  border-radius: 2px;
}

@media (max-width: 620px) {
  .ft-lang-bar {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
  }

  .ft-lang-current {
    min-height: 36px;
    padding: 0 10px 0 8px;
  }
}

main > nav.nav.shell .nav-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

main > nav.nav.shell .nav-actions .nav-pill {
  margin-left: 0;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: #10130c !important;
  background: linear-gradient(105deg, #dfff79, #aeea24) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(174, 234, 36, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(174, 234, 36, 0.26);
}

.nav-pill--ghost {
  color: #eef2ea !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

.nav-pill--ghost:hover {
  border-color: rgba(200, 255, 61, 0.45) !important;
  background: rgba(200, 255, 61, 0.08) !important;
}

/* Старый span «Каталог» в шапке больше не используем */
.catalog-label {
  display: none !important;
}

@media (max-width: 720px) {
  .store-steps {
    grid-template-columns: 1fr;
  }

  .products.shell .shop {
    grid-template-columns: 1fr !important;
  }

  .products.shell .calculator {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .product-card {
    min-height: 104px !important;
    padding: 14px !important;
  }

  main > nav.nav.shell {
    padding-inline: 12px;
    gap: 10px !important;
  }

  .nav-pill {
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }

  main > nav.nav.shell .brand-mark img {
    width: 34px;
    height: 34px;
  }
}
