.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(100%, 680px);
  min-height: 62px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-family: var(--font-display, "Avenir Next", "Space Grotesk", "Segoe UI", sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark img {
  display: block;
  width: auto;
  height: 28px;
}

.wordmark-lite {
  align-self: flex-start;
  margin-top: 1px;
  color: #0f766e;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.top-link,
.review-cart-launch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line, #e7e7e7);
  border-radius: 999px;
  background: var(--bg-panel, #ffffff);
  color: var(--ink, #111111);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
}

.review-cart-launch {
  cursor: pointer;
}

.review-cart-launch.has-items {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent, #0f766e);
}

.review-cart-launch.is-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.review-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 8px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink, #111111);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.topbar-actions .top-link {
  min-width: 88px;
}

@media (max-width: 720px) {
  .topbar-inner {
    width: 100%;
  }

  .topbar-actions {
    gap: 8px;
  }

  .top-link,
  .review-cart-launch {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .topbar-actions .top-link {
    min-width: 84px;
  }
}
